Current Help System: Tutor Translator (View Core Help)

### Line Measurement Commands

The command Tutor MLINE command is translated with the equivalent PC-DMIS command:

ASSIGN/E.BADMEAS=0

LIN2 =FEAT/LINE,RECT,UNBND

THEO/<xxx,yyy,zzz>,<i,j,k>
ACTL/<1,0,-9.9995>,<0,0,1>
MEAS/LINE,3,RefType
…
… Hits list
…
ENDMEAS/

Legend:
xxx = X coordinate | I = vector x component
yyy = Y coordinate | J = vector y component
zzz = Z coordinate | K = vector z component

The refType field is:

- WORKPLANE if the L2D Tutor keyword is specified.

- 3D if the L2D Tutor keyword is not specified.

The Hits list contains movement, hit, tip commands. The following HIT type may be used:

- HIT/BASIC,,,,USE THEO = NO if the COMPENS vector is not specified.

- HIT/BASIC,,,,USE THEO = YES if the COMPENS vector is specified. In this case the reversed COMPENS vector is used as HIT vector.

In this case the measurement behavior may be very different from Tutor. See the section on ”Measurement Commands with no PC-DMIS Equivalent” for more information.

MLINE (MEMORY [18], 3, COMPENS 0.706038, 0.005531, 0.708153) path PT18 translates to è

ASSIGN/E.BADMEAS=0

LIN1 =FEAT/LINE,RECT,UNBND

THEO/<1,0,-9.9995>,<0,0,1>
ACTL/<1,0,-9.9995>,<0,0,1>
MEAS/LINE,3,3D
HIT/BASIC,<0,0,-9.9995>,<-0.706038,-0.005531,-0.708153>,USE THEO = YES
HIT/BASIC,<1,0,-9.9995>,<-0.706038,-0.005531,-0.708153>, USE THEO = YES
HIT/BASIC,<-1.198,0,-9.9995>,<-0.706038,-0.005531,-0.708153>,USE THEO = YES
ENDMEAS/

ASSIGN/E.WM2=E.WM1
ASSIGN/E.WM1 = TUTORELEMENT(”LIN1")
ASSIGN/E.MEMORY [18] = E.WM1
…
… Evaluation commands.
…

MLINE (MEMORY [19], 3, L2D, COMPENS 0.706038, 0.005531, 0.708153) path PT19 translates to è

ASSIGN/E.BADMEAS=0

LIN2 =FEAT/LINE,RECT,UNBND

THEO/<1,0,-9.9995>,<0,0,1>
ACTL/<1,0,-9.9995>,<0,0,1>
MEAS/LINE,3,WORKPLANE
HIT/BASIC,<0,0,-9.9995>,<-0.706038,-0.005531,-0.708153>, USE THEO = YES
HIT/BASIC,<1,0,-9.9995>,<-0.706038,-0.005531,-0.708153>, USE THEO = YES
HIT/BASIC,<-1.198,0,-9.9995>,<-0.706038,-0.005531,-0.708153>, USE THEO = YES
ENDMEAS/

ASSIGN/E.WM2=E.WM1
ASSIGN/E.WM1 = TUTORELEMENT (”LIN2")
ASSIGN/E.MEMORY [19] = E.WM1
…
… Evaluation commands.
…

MLINE (MEMORY [20], 3, L2D) path PT20 translates to è

ASSIGN/E.BADMEAS=0

LIN3 =FEAT/LINE, RECT, UNBND

THEO/<1,0,-9.9995>,<0,0,1>
ACTL/<1,0,-9.9995>,<0,0,1>
MEAS/LINE,3,WORKPLANE
HIT/BASIC,<0,0,-9.9995>,<0,-0.0002,-9.9909>,USE THEO = NO
HIT/BASIC,<1,0,-9.9995>,<1,-0.0002,-9.9909>,USE THEO = NO
HIT/BASIC,<-1.198,0,-9.9995>,<-1.198,-0.0002,-9.9909>,USE THEO = NO
ENDMEAS/

ASSIGN/E.WM2=E.WM1
ASSIGN/E.WM1 = TUTORELEMENT(”LIN3")
ASSIGN/E.MEMORY [20] = E.WM1
…
… Evaluation commands.
…

MLINE (MEMORY [20], 3) path PT20 translates to è

ASSIGN/E.BADMEAS=0

LIN4 =FEAT/LINE, RECT, UNBND

THEO/<1,0,-9.9995>,<0,0,1>
ACTL/<1,0,-9.9995>,<0,0,1>
MEAS/LINE,3,3D
HIT/BASIC,<0,0,-9.9995>,<0,-0.0002,-9.9909>,USE THEO = NO
HIT/BASIC,<1,0,-9.9995>,<1,-0.0002,-9.9909>,USE THEO = NO
HIT/BASIC,<-1.198,0,-9.9995>,<-1.198,-0.0002,-9.9909>,USE THEO = NO
ENDMEAS/

ASSIGN/E.WM2=E.WM1
ASSIGN/E.WM1 = TUTORELEMENT (”LIN4)
ASSIGN/E.MEMORY [21] = E.WM1
…
… Evaluation commands.
…

The following commands that use ISO algorithm don’t have an equivalent PC-DMIS command. See the section on ”Measurement Commands with no PC-DMIS Equivalent” for more information.

MLINE (MEMORY [23], 3, L2D, FORM ISO) path PT23
MLINE (MEMORY [24], 3, L2D, FORM ISO, COMPENS 0.089903, 0.704243, 0.704243) path PT24 MLINE (MEMORY [25], 3, FORM ISO, COMPENS 0.089903, 0.704243, 0.704243) path PT25 MLINE (MEMORY [26], 3, FORM ISO) path PT26