Current Help System: Tutor Translator (View Core Help)

### Shoulder (Compensated Point) Measurement Commands

MSH (MEMORY [10], 1) with NO_APPROACH condition translates to è

ASSIGN/E.BADMEAS=0

PNT1 =FEAT/POINT,RECT

THEO/<10,20,30>,<0,0,1>
ACTL/<10,20,30>,<0,0,1>
MEAS/POINT,1
MOVE/POINT,<10,20,36>
HIT/BASIC,<10,20,30>,<10,20,30>,USE THEO = NO
ENDMEAS/

ASSIGN/E.WM2 = E.WM1
ASSIGN/E.WM1 = TUTORELEMENT("PNT1")
ASSIGN/E.MEMORY[10] = E.WM1
…
… Evaluation commands.
…

MSH (MEMORY [10], 1) with APPROACH condition translates to è

ASSIGN/E.BADMEAS=0

PNT2 =FEAT/POINT,RECT

THEO/<10,20,30>,<E.APPR_VECT.I, E.APPR_VECT.J, E.APPR_VECT.K>
ACTL/<10,20,30>,<0,0,1>
MEAS/POINT,1
HIT/BASIC,<10,20,30>,<E.APPR_VECT.I,E.APPR_VECT.J, E.APPR_VECT.Z>,<10,20,30>,USE THEO = YES
ENDMEAS/

ASSIGN/E.WM2 = E.WM1
ASSIGN/E.WM1 = TUTORELEMENT("PNT2")
ASSIGN/E.MEMORY[10] = E.WM1
…
… Evaluation commands.
…

MSH (MEMORY [10], 1, COMPENS DIRX, DIRY, DIRZ) translates to è

ASSIGN/E.BADMEAS=0

PNT3 =FEAT/POINT,RECT

THEO/<10,20,30>,<-DIRX,-DIRY,-DIRZ>
ACTL/<10,20,30>,<-0.2015971,-0.3528949,-0.9136869>
MEAS/POINT,1
HIT/BASIC,<10,20,30>,<-DIRX,- DIRY,- DIRZ>,<10,20,30>,USE THEO = YES
ENDMEAS/

ASSIGN/E.WM2 = E.WM1
ASSIGN/E.WM1 = TUTORELEMENT("PNT3")
ASSIGN/E.MEMORY[10] = E.WM1
…
… Evaluation commands.
…

Shoulder commands were DIRX, DIRY and DIRZ may be either variables or immediate values

MSH (MEMORY [10], 1, COMPENSPV) translates approximately to è

ASSIGN/E.BADMEAS=0

PNT4 =FEAT/POINT,RECT

THEO/<12,34,56>,<0,0,1>
ACTL/<12,34,56>,<0,0,1>
MEAS/POINT,1
MOVE/POINT,<12,34,62>
HIT/BASIC,<12,34,56>,<12,34,56>,USE THEO = NO
ENDMEAS/

ASSIGN/TIPRADIUS = PROBEDATA("DIAM")/2
ASSIGN/PICKPNT = PNT4.RAWHIT[1].XYZ
ASSIGN/COMP_VERS = UNIT(PICKPNT)
ASSIGN/COMP_POINT = PNT4.RAWHIT[1].XYZ + COMP_VERS*TIPRADIUS

PNT5 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<PNT4.TX,PNT4.TY,PNT4.TZ>,$
MEAS/XYZ,<COMP_POINT.X,COMP_POINT.Y,COMP_POINT.Z>,$
NOM/IJK,<PNT4.TI,PNT4.TJ,PNT4.TZ>,$
MEAS/IJK,<COMP_VERS.I,COMP_VERS.J,COMP_VERS.K>

ASSIGN/E.WM2 = E.WM1
ASSIGN/E.WM1 = TUTORELEMENT("PNT5")
ASSIGN/E.MEMORY[10] = E.WM1
…
… Evaluation commands.
…

MSH (MEMORY [10], 1, COMPENSNPV) translates approximately to è

ASSIGN/E.BADMEAS=0

PNT6 =FEAT/POINT,RECT

THEO/<12,34,56>,<0,0,1>
ACTL/<12,34,56>,<0,0,1>
MEAS/POINT,1
MOVE/POINT,<12,34,62>
HIT/BASIC,<12,34,56>,<12,34,56>,USE THEO = NO
ENDMEAS/

ASSIGN/TIPRADIUS = PROBEDATA("DIAM")/2
ASSIGN/PICKPNT = PNT6.RAWHIT[1].XYZ
ASSIGN/COMP_VERS = UNIT(PICKPNT)
ASSIGN/COMP_POINT = PNT6.RAWHIT[1].XYZ - COMP_VERS*TIPRADIUS

PNT7 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<PNT6.TX,PNT6.TY,PNT6.TZ>,$ MEAS/XYZ,<COMP_POINT.X,COMP_POINT.Y,COMP_POINT.Z>,$
NOM/IJK,<PNT6.TI,PNT6.TJ,PNT6.TZ>,$
MEAS/IJK,<COMP_VERS.I,COMP_VERS.J,COMP_VERS.K>

ASSIGN/E.WM2 = E.WM1
ASSIGN/E.WM1 = TUTORELEMENT("PNT7")
ASSIGN/E.MEMORY[10] = E.WM1
…
… Evaluation commands.
…

MSH (MEMORY [10], 1, PV2D) translates approximately to è

ASSIGN/E.BADMEAS=0

PNT8 =FEAT/POINT,RECT

THEO/<12,34,56>,<0,0,1>
ACTL/<12,34,56>,<0,0,1>
MEAS/POINT,1
MOVE/POINT,<12,34,62>
HIT/BASIC,<12,34,56>,<12,34,56>,USE THEO = NO
ENDMEAS/

PNT9 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<PNT8.RAWHIT[1].X,PNT8.RAWHIT[1].Y,PNT8.RAWHIT[1].Z>,$
MEAS/XYZ,<PNT8.RAWHIT[1].X,PNT8.RAWHIT[1].Y,PNT8.RAWHIT[1].Z>,$
NOM/IJK,<PNT8.I,PNT8.J,PNT8.K>,$
MEAS/IJK,<PNT8.I,PNT8.J,PNT8.K>

PNT10 =FEAT/POINT,RECT

THEO/<12,34,0>,<0,0,1>
ACTL/<12,34,0>,<0,0,1>
CONSTR/POINT,PROJ,PNT9,

ASSIGN/TIPRADIUS = PROBEDATA("DIAM")/2
ASSIGN/COMP_VERS = UNIT(PNT10.XYZ)
ASSIGN/COMP_POINT = PNT10.XYZ + COMP_VERS*TIPRADIUS

PNT11 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<PNT10.TX,PNT10.TY,PNT10.TZ>,$
MEAS/XYZ,<COMP_POINT.X,COMP_POINT.Y,COMP_POINT.Z>,$
NOM/IJK,<PNT10.TI,PNT10.TJ,PNT10.TZ>,$
MEAS/IJK,<COMP_VERS.I,COMP_VERS.J,COMP_VERS.K>

ASSIGN/E.WM2 = E.WM2
ASSIGN/E.WM1 = TUTORELEMENT("PNT11")
ASSIGN/E.MEMORY[10] = E.WM1
…
… Evaluation commands.
…

MSH (MEMORY [10], 1, NPV2D) translates approximately to è

ASSIGN/E.BADMEAS=0

PNT12 =FEAT/POINT,RECT

THEO/<12,34,56>,<0,0,1>
ACTL/<12,34,56>,<0,0,1>
MEAS/POINT,1
MOVE/POINT,<12,34,62>
HIT/BASIC,<12,34,56>,<12,34,56>,USE THEO = NO
ENDMEAS/

PNT13 = GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<PNT12.RAWHIT[1].X,PNT12.RAWHIT[1].Y,PNT12.RAWHIT[1].Z>,$
MEAS/XYZ,<PNT12.RAWHIT[1].X,PNT12.RAWHIT[1].Y,PNT12.RAWHIT[1].Z>,$
NOM/IJK,<PNT12.I,PNT12.J,PNT12.K>,$
MEAS/IJK,<PNT12.I,PNT12.J,PNT12.K>

PNT14 = FEAT/POINT,RECT

THEO/<11.9953,33.9867,0>,<0,0,1>
ACTL/<11.9953,33.9867,0>,<0,0,1>
CONSTR/POINT,PROJ,PNT13,

ASSIGN/TIPRADIUS = PROBEDATA("DIAM")/2
ASSIGN/COMP_VERS = UNIT(PNT14.XYZ)
ASSIGN/COMP_POINT = PNT14.XYZ + COMP_VERS*TIPRADIUS

PNT15 = GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<PNT14.TX,PNT14.TY,PNT14.TZ>,$
MEAS/XYZ,<COMP_POINT.X,COMP_POINT.Y,COMP_POINT.Z>,$
NOM/IJK,<PNT14.TI,PNT14.TJ,PNT14.TZ>,$
MEAS/IJK,<COMP_VERS.I,COMP_VERS.J,COMP_VERS.K>

ASSIGN/E.WM2 = E.WM1
ASSIGN/E.WM1 = TUTORELEMENT("PNT15")
ASSIGN/E.MEMORY[10] = E.WM1
…
… Evaluation commands.
…