Current Help System: Tutor Translator (View Core Help)

## Element Buffer Management

The define_element commands are translate as a generic feature:

DEFINE_ELEMENT (MEMORY[20],PICK,x=10.,Y=20.,z=30.) translates to è

PNT1 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<10,20,30>,$
MEAS/XYZ,<10,20,30>,$
NOM/IJK,<0,0,1>,$
MEAS/IJK,<0,0,1>

ASSIGN/E.MEMORY[20] = TUTORELEMENT("PNT1")

DEFINE_ELEMENT (E.WM1,SHOULD,x=10.,Y=20.,z=30.) translates to è

PNT2 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<10,20,30>,$
MEAS/XYZ,<10,20,30>,$
NOM/IJK,<0,0,1>,$
MEAS/IJK,<0,0,1>

ASSIGN/E.WM1 = TUTORELEMENT("PNT2")

DEFINE_ELEMENT (MEMORY[123], CIRCLE, x=10., Y=20., z=30., dm=40.) translates to è

CIR1 =GENERIC/CIRCLE,DEPENDENT,RECT,OUT,$

NOM/XYZ,<10,20,30>,$
MEAS/XYZ,<10,20,30>,$
NOM/IJK,<0,0,1>,$
MEAS/IJK,<0,0,1>,$
DIAMETER/40,40

ASSIGN/E.MEMORY[123] = TUTORELEMENT("CIR1")

DEFINE_ELEMENT (MEMORY[124], SPHERE, x=10., Y=20., z=30., dm=40.) translates to è

SPH1 =GENERIC/SPHERE,DEPENDENT,RECT,OUT,$

NOM/XYZ,<10,20,30>,$
MEAS/XYZ,<10,20,30>,$
NOM/IJK,<0,0,1>,$
MEAS/IJK,<0,0,1>,$
DIAMETER/40,40

ASSIGN/E.MEMORY[124] = TUTORELEMENT("SPH1")

Single diameter cylinder.

DEFINE_ELEMENT (MEMORY[4], cylind, x=1., y=2., z=3., cx=1., cy=.0, cz=.0, dm=4., dm2=4.) translates to è

CYL1 =GENERIC/CYLINDER,DEPENDENT,RECT,OUT,$

NOM/XYZ,<1,2,3>,$
MEAS/XYZ,<1,2,3>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>,$
DIAMETER/4,4,$
DISTANCE/0,0

ASSIGN/E.MEMORY[4] = TUTORELEMENT("CYL1")

The define_element for 2 diameter cylinders is not translated because PC-DMIS does not have this kind of feature.

DEFINE_ELEMENT (MEMORY[6], cone, x=1., y=2., z=3., cx=1., cy=.0, cz=.0, a=4.) translates to è

CON1 =GENERIC/CONE,DEPENDENT,RECT,OUT,$

NOM/XYZ,<1,2,3>,$
MEAS/XYZ,<1,2,3>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>,$
DISTANCE/0,0,$
ANGLE/DMS2DEG(4.2756,OFMT.DMS),DMS2DEG(4.2756,OFMT.DMS)

ASSIGN/E.MEMORY[6] = TUTORELEMENT("CON1")

DEFINE_ELEMENT (MEMORY[7],line,x=1.,y=2.,z=3.,cx=1.,cy=.0,cz=.0) translates to è

LIN1 =GENERIC/LINE,DEPENDENT,RECT,$

NOM/XYZ,<1,2,3>,$
MEAS/XYZ,<1,2,3>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>,$
DISTANCE/0,0

ASSIGN/E.MEMORY[7] = TUTORELEMENT("LIN1")

DEFINE_ELEMENT (MEMORY[8], plane, x=1., y=2., z=3., cx=1., cy=.0, cz=.0) translates to è

PLN1 =GENERIC/PLANE,DEPENDENT,RECT,$

NOM/XYZ,<1,2,3>,$
MEAS/XYZ,<1,2,3>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>

ASSIGN/E.MEMORY[8] = TUTORELEMENT("PLN1")

DEFINE_ELEMENT (MEMORY[10], parab, x=1., y=2., z=3., cx=1., cy=.0, cz=.0, dm=4.) translates to è

F1 =GENERIC/NONE,DEPENDENT,RECT,OUT,$

NOM/XYZ,<1,2,3>,$
MEAS/XYZ,<1,2,3>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>,$
DIAMETER/4,4,$
ANGLE/0,0,$
DISTANCE/0,0

ASSIGN/E.MEMORY[10] = TUTORELEMENT("F1")

DEFINE_ELEMENT (MEMORY[11], slot, x=1., y=2., z=3., cx=1., cy=.0, cz=.0, dm=21., dm2=140.) translates to è

SLT1 =GENERIC/ROUND_SLOT,DEPENDENT,RECT,OUT,$

NOM/XYZ,<1,2,3>,$
MEAS/XYZ,<1,2,0>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>,$
NOM/IJK2,<1,0,0>,$
MEAS/IJK2,<1,0,0>,$
DIAMETER/21,21,$
DISTANCE/140,140

ASSIGN/E.MEMORY[11] = TUTORELEMENT("SLT1")

DEFINE_ELEMENT (MEMORY[12], ellips, x=1., y=2., z=3., cx=1., cy=.0, cz=.0, dm=15., dm2=109.) translates to è

ELL1 =GENERIC/NONE,DEPENDENT,RECT,OUT,$

NOM/XYZ,<1,2,3>,$
MEAS/XYZ,<1,2,3>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>,$
DIAMETER/15,15,$
ANGLE/0,0,$
DISTANCE/109,109

ASSIGN/E.MEMORY[12] = TUTORELEMENT("ELL1")

DEFINE_ELEMENT (MEMORY[13], torus, x=1., y=1., z=1., cx=1., cy=.0, cz=.0, dm=12., dm2=3.) translates to è

F2 =GENERIC/NONE,DEPENDENT,RECT,OUT,$

NOM/XYZ,<1,2,3>,$
MEAS/XYZ,<1,2,3>,$
NOM/IJK,<1,0,0>,$
MEAS/IJK,<1,0,0>,$
DIAMETER/12,12,$
ANGLE/0,0,$
DISTANCE/3,3

ASSIGN/E.MEMORY[13] = TUTORELEMENT("F2")