Your Products have been synced, click here to refresh
Not sure to understand, you're trying to measure the length of the perimeter ?
With a scanning head, scan the perimeter with a high density of hits (linear closed scan).
Then :
ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ
ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ
ASSIGN/V3=SQRT(DOT(V2-V1,V2-V1))
ASSIGN/PERIMETER=SUM(V3)
ASSIGN/V1=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ ASSIGN/V2=SCN1.HIT[2..SCN1.NUMHITS].XYZ ASSIGN/V3=SQRT(DOT(V2-V1,V2-V1)) ASSIGN/V4=SCN1.HIT[1].XYZ ASSIGN/V5=SCN1.HIT[NUMHITS].XYZ ASSIGN/V6=SQRT(DOT(V4-V5,V4-V5)) ASSIGN/PERIMETER=SUM(V3)+V6
SCN1 =FEAT/SCAN,LINEARCLOSE,NUMBER OF HITS=164,SHOW HITS=NO,SHOWALLPARAMS=NO MEAS/SCAN BASICSCAN/LINE,NUMBER OF HITS=164,SHOW HITS=NO,SHOWALLPARAMS=NO ENDSCAN ENDMEAS/ CRV1 =FEAT/CURVE,DEPENDENT,98,164,TOLERANCE,0.01 THEO/81.195 MEAS/81.195 CONSTR/CURVE,SCN1,, DIM LOC1= LOCATION OF CURVE CRV1 UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO AX NOMINAL +TOL -TOL MEAS DEV OUTTOL L 81.195 0.050 0.050 81.195 0.000 0.000 ----#---- END OF DIMENSION LOC1
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |