30.07.2013 Views

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Fundamentals</strong>. Two-Dimensional <strong>Design</strong><br />

508<br />

Function distance() also measures distances for such geometrical 3D objects as vertices, edges, loops, faces.<br />

This is possible only for already named objects. Naming (e.g. “Vertex_1 or “Edge_2”) occurs automatically<br />

in “PM: Measure Element or relation between two Elements» or in commands where such objects<br />

were specified as source data. These names should be used as input parameters.<br />

Function measure() calculates various relations between two <strong>2D</strong> or 3D objects.<br />

The function will be automatically substituted as expression for a variable if such variable is<br />

created when measuring any relation (except distance) between two <strong>2D</strong> or 3D elements in “PM:<br />

Measure Element or relation between two Elements” command.<br />

The calling sequence:<br />

Measure ( “name1”, “name2”, “relation”), where<br />

name1 – name or ID of the first element,<br />

name2 – name or ID of the second element.<br />

relation – type of relation.<br />

Function calculates the following types of relations:<br />

for <strong>2D</strong> elements:<br />

“Angle” – is the angle between two lines, segments or a line and a segment.<br />

for 3D objects:<br />

“Angle” – is the angle between directional vectors of two 3D objects. Listed below are 3D objects, for<br />

which a direction can be defined (and, therefore, this relation can be calculated). Additionally specified is<br />

what will be selected as the direction vector for each object:<br />

• for a 3D path or open 3D profile lying on a straight line – the line direction;<br />

• for a 3D path or open 3D profile lying on an ellipse (circle) – the vector directed from the center of<br />

the ellipse (circle) normal to the plane of the ellipse (circle);<br />

• for a flat 3D profile; workplane; an operation body consisting of one face lying in a plane – the<br />

normal to the plane;<br />

• for a cylindrical work surface; 3D profile lying on a cylinder; an operation body consisting of one<br />

face lying on a cylinder – the axis of the cylinder;<br />

• for a 3D profile, lying on a cone; an operation body consisting of one face lying on a cone – the<br />

axis of the cone;<br />

• for a toroidal work surface; 3D profile or face lying on a torus; an operation body consisting of one<br />

face lying on a torus – the axis of the torus.<br />

“AxisDistance” – is the distance between the axis of two 3D objects. The same 3D objects can be<br />

selected as the objects of the measurement as in the previous case (when identifying “Angle”), except<br />

for workplanes. In the latter case, the axes of the selected objects coincide with the directional vectors of<br />

the planes.<br />

Analogous to distance(), measure() can calculate relations between various topological 3D objects - vertices,<br />

edges, loops, and faces, that were already named earlier in “PM: Measure Element or relation<br />

between two Elements” or other commands.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!