hexagon logo

Position Calulation

$$ NO,
            Here are the ASSIGNMENTS for the X and Z legs of the Circle we need TP for.
            ASSIGN/V1=ABS(CIR1.X.MEAS+152.5)
            ASSIGN/V2=ABS(CIR1.Z.MEAS+97.284)
$$ NO,
            Here is the Calulation for the TP
            ASSIGN/V3=2*(SQRT(V1^2 + V2^2))
$$ NO,
            Here is one way to construct this feature "no Legs Just results"
TP_ITEM32  =FEAT/POINT,CARTESIAN,YES
            THEO/<0,0,0>,<0,0,1>
            ACTL/<0.376,0,0>,<0,0,1>
            CONSTR/POINT,OFFSET,ORIGIN,V3,0,0
$$ NO,
            Here is another way to construct this feature "Legs and results"
MY_ITEM_32 =FEAT/POINT,CARTESIAN,YES
            THEO/<-152.5,0,-97.284>,<1,0,0>
            ACTL/<-152.315,0,-97.251>,<0,0,1>
            CONSTR/POINT,OFFSET,ORIGIN,CIR1.X.MEAS,0,CIR1.Z.MEAS
$$ NO,
            Output just results
DIM ITEM32= LOCATION OF POINT TP_ITEM32  UNITS=MM ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  HALF ANGLE=NO
AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
X        0.376      0.000      0.700      0.000      0.376      0.000 ----#----
END OF DIMENSION ITEM32
$$ NO,
            Out put legs and results
DIM ITEM14= POSITION OF POINT MY_ITEM_32  UNITS=MM ,$
GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  FIT TO DATUMS=OFF  DEV PERPEN CENTERLINE=OFF  DISPLAY=DIAMETER
AX       MEAS    NOMINAL       +TOL       -TOL      BONUS        DEV     OUTTOL
X    -152.315   -152.500                                       0.185           
Z     -97.251    -97.284                                       0.033           
TP      0.376        RFS      0.700                 0.000      0.376      0.000 ----#----
END OF DIMENSION ITEM14