Current Help System: Tutor Translator (View Core Help)

### CIRCLE_BY_CONE Relation Command

This command performs the intersection of the specified cone with a plane perpendicular to its axis. The format for this command is:

CIRCLE_BY_CONE (resmem, elmem1, dim=value):

- dim represents two (alternative) dimensions

- H is the distance between the intersection plane and the vertex of the cone. The diameter (DM) of the intersection circle is calculated.

- D is the diameter of the intersection circle. The distance (H) between the intersection plane and the cone vertex is calculated

- value can be a real number, a real variable or a real expression.

The resulting element is a Pick.

CIRCLE_BY_CONE (MEMORY[120],MEMORY[100],H=3) translates to è

ASSIGN/H = 3
ASSIGN/D = 2*(H*TAN(DEG2RAD(E.MEMORY[100].ID.ANGLE/2)))
ASSIGN/PCIR = E.MEMORY[100].ID.XYZ + E.MEMORY[100].ID.IJK*H

PNT2 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<PCIR.X,PCIR.Y,PCIR.Z>,$
MEAS/XYZ,<PCIR.X,PCIR.Y,PCIR.Z>,$
NOM/IJK,<E.MEMORY[100].ID.I,E.MEMORY[100].ID.J,E.MEMORY[100].ID.K>,$
MEAS/IJK,<E.MEMORY[100].ID.I,E.MEMORY[100].ID.J,E.MEMORY[100].ID.K>

ASSIGN/E.WM2 = E.WM1
ASSIGN/E.WM1 = TUTORELEMENT("PNT2")
ASSIGN/E.WM1.TYPE = 115
ASSIGN/E.WM1.DM = D
ASSIGN/E,MEMORY[120] = E.WM1

CIRCLE_BY_CONE (MEMORY[120],MEMORY[100],D=1.75) translates to è

ASSIGN/D = 1.75
ASSIGN/H = D/(2*TAN(DEG2RAD(CON2.ANGLE/2)))
ASSIGN/PCIR = E.MEMORY[100].ID.XYZ + E.MEMORY[100].ID.IJK*H

PNT3 =GENERIC/POINT,DEPENDENT,RECT,$

NOM/XYZ,<PCIR.X,PCIR.Y,PCIR.Z>,$
MEAS/XYZ,<PCIR.X,PCIR.Y,PCIR.Z>,$
NOM/IJK,<E.MEMORY[100].ID.I,E.MEMORY[100].ID.J,E.MEMORY[100].ID.K>,$
MEAS/IJK,<E.MEMORY[100].ID.I,E.MEMORY[100].ID.J,E.MEMORY[100].ID.K>

ASSIGN/E.WM2 = E.WM1
ASSIGN/E.WM1 = TUTORELEMENT("PNT3")
ASSIGN/E.WM1.TYPE = 115
ASSIGN/E.WM1.DM = D
ASSIGN/E.WM1.DS = H
ASSIGN/E.MEMORY[120] = E.WM1