Your Products have been synced, click here to refresh
COMMENT/OPER,NO,INSERT DIA DIM DIA= KEYED IN DIMENSION OUTPUT=BOTH AX NOMINAL +TOL -TOL MEAS DEV OUTTOL M 100.000 0.100 0.100 100.050 0.050 0.000 ------#-- ASSIGN/V1 = DIA.M.MEAS*3.1416 CIRCUM =GENERIC/CIRCLE,DEPENDENT,RECT,OUT,$ NOM/XYZ,314.16,0,0,$ MEAS/XYZ,V1,0,0,$ NOM/IJK,0,0,1,$ MEAS/IJK,0,0,1,$ RADIUS/0,0 DIM D2= LOCATION OF CIRCLE CIRCUM UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH AX NOMINAL +TOL -TOL MEAS DEV OUTTOL X 314.160 0.100 0.100 314.317 0.157 0.057 --------> END OF DIMENSION D2
SCN1 =BASICSCAN/CIRCLE,SHOW HITS=NO,SHOWALLPARAMS=YES <0,0,0>,CutVec=0,0,1,IN InitVec=-1,0,0,DIAM=D1,ANG=0,ANG=360,DEPTH=0,THICKNESS=0,PROBECOMP=YES,AVOIDANCE MOVE=NO,DISTANCE=0 FILTER/NULLFILTER, EXEC MODE=FEATURE,USEHSSDAT=YES,USEDELAYPNTS=NO BOUNDARY/ HITTYPE/VECTOR NOMS MODE=MASTER ENDSCAN $$ NO,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ASSIGN/NUM_SCN_HITS=SCN1.NUMHITS ASSIGN/COUNT=1 ASSIGN/CIRCUM=0 ASSIGN/COOR=0 WHILE/COUNT<NUM_SCN_HITS ASSIGN/CORDX=(SCN1.HIT[COUNT].X-SCN1.HIT[COUNT+1].X)^2 ASSIGN/CORDY=(SCN1.HIT[COUNT].Y-SCN1.HIT[COUNT+1].Y)^2 ASSIGN/COOR=COOR+SQRT(CORDX+CORDY) ASSIGN/COUNT=COUNT+1 END_WHILE/ IF/COUNT==NUM_SCN_HITS ASSIGN/CORDX=(SCN1.HIT[COUNT].X-SCN1.HIT[1].X)^2 ASSIGN/CORDY=(SCN1.HIT[COUNT].Y-SCN1.HIT[1].Y)^2 ASSIGN/COOR=COOR+SQRT(CORDX+CORDY) ASSIGN/COUNT=COUNT+1 END_IF/ $$ NO,+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ASSIGN/D2=COOR/3.14159265358 COMMENT/OPER,NO,"DIAMETER is " + D2
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |