Your Products have been synced, click here to refresh
ASSIGN/V1=ARRAY(0.002,0.003,0.005) ASSIGN/V2=MAXINDICES(V1) IF/(V1[V2[1]] > 0.003) AND (V1[V2[2]] > 0.003) $$ NO, more than one measurement result is greater than 0.003 END_IF/ IF/(V1[V2[1]] > 0.003) AND (V1[V2[2]] <= 0.003) $$ NO, only one measurement result is greater than 0.003 END_IF/ IF/V1[V2[1]] <= 0.003 $$ NO, no measurement result is greater than 0.003 END_IF/
ASSIGN/V1=SCN1.HIT[1..SCN1.NUMHITS].D-SCN1.HIT[1..SCN1.NUMHITS].TD ASSIGN/V2=ABS(V1) ASSIGN/V3=((0.003-V2)-ABS(0.003-V2))/((0.003-V2)-ABS(0.003-V2)) IF/(SUM(V3)>1) OR (MAX(V2)>0.005) COMMNENT/OPERATOR THE PART IS OOT END IF
DIM LOC1= LOCATION OF CIRCLE CIR1 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=YES AX MEAS NOMINAL +TOL -TOL DEV OUTTOL D 1.00100 1.00000 0.00300 0.00300 0.00100 0.00000 -----#--- END OF DIMENSION LOC1 DIM LOC2= LOCATION OF CIRCLE CIR2 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=YES AX MEAS NOMINAL +TOL -TOL DEV OUTTOL D 1.00200 1.00000 0.00300 0.00300 0.00200 0.00000 -------#- END OF DIMENSION LOC2 DIM LOC3= LOCATION OF CIRCLE CIR3 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=YES AX MEAS NOMINAL +TOL -TOL DEV OUTTOL D 0.99900 1.00000 0.00300 0.00300 -0.00100 0.00000 --#------ END OF DIMENSION LOC3 DIM LOC4= LOCATION OF CIRCLE CIR4 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=YES AX MEAS NOMINAL +TOL -TOL DEV OUTTOL D 0.99700 1.00000 0.00300 0.00300 -0.00300 0.00000 #-------- END OF DIMENSION LOC4 DIM LOC5= LOCATION OF CIRCLE CIR5 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=YES AX MEAS NOMINAL +TOL -TOL DEV OUTTOL D 0.99600 1.00000 0.00300 0.00300 -0.00400 0.00100 <-------- END OF DIMENSION LOC5 DIM LOC6= LOCATION OF CIRCLE CIR6 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=YES AX MEAS NOMINAL +TOL -TOL DEV OUTTOL D 0.99800 1.00000 0.00300 0.00300 -0.00200 0.00000 -#------- END OF DIMENSION LOC6 DIM LOC7= LOCATION OF CIRCLE CIR7 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=YES AX MEAS NOMINAL +TOL -TOL DEV OUTTOL D 0.99700 1.00000 0.00300 0.00300 -0.00300 0.00000 #-------- END OF DIMENSION LOC7 DIM LOC8= LOCATION OF CIRCLE CIR8 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=YES AX MEAS NOMINAL +TOL -TOL DEV OUTTOL D 1.00300 1.00000 0.00300 0.00300 0.00300 0.00000 --------# END OF DIMENSION LOC8 ASSIGN/V1=ARRAY(LOC1.D.DEV,LOC2.D.DEV,LOC3.D.DEV,LOC4.D.D EV,LOC5.D.DEV,LOC6.D.DEV,LOC7.D.DEV,LOC8.D.DEV) ASSIGN/V2=SORTDOWN(ABS(V1)) IF/V2[1]>0.005 COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,OVC=NO, WORST PART OUT OF THE EIGHT HAS DEVIATION EXCEEDING ±0.005 !!! END_IF/ IF/V2[2]>0.003 OR V2[3]>0.003 OR V2[4]>0.003 OR V2[5]>0.003 OR V2[6]>0.003 OR V2[7]>0.003 OR V2[8]>0.003 COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,OVC=NO, ONE OR MORE OF THE REMAINING CIRCLES HAVE DEVIATION EXCEEDING ± 0.003!!! END_IF/
If your spec is exclusively only concerning the variation of X axis, relative to adjacent features, you should assess the distance between each feature, then summarize max and min of all of them... No reason for averaging them out.
If what you are "simplifying" is accurate, JEFMAN has a rock-solid method.
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |