CAD functions:
See operating CAD ..
see also Math-functions Variables
Variables use shortcut key V.
- store a numeric value in DB; "V{DB-index}={value}"
Implicit definition of variables by function VAL():
Example: VAL(P20 P21) - the distance between 2 points.
The value of variables is temporarily displayed in red in center of screen
V Variable - Value
V - variable value
Direct allocation of a variable or numeric expression
V X/Y/Z-part PT|VC
get the X- or Y- or Z-part of a point or of a Vector.
# extract the x-coordinate of a point
V20 = X(P20)
V PT-PT Dist.[Direction]
Variable = length between 2 points [into direction]
[Direction] optional; keine Angabe: direct length between 2 points.
Distance along a vector: define a vector
Example:
V20 = P20 P21
# distance from point P20 to point P21 into direction Z:
V21=P20 P21 DZ
V LN length
V LN Length
Variable = length of a Distance
V20 = L20
V PT - LN Perp.Dist
PT-V LN normal distance
Variable = Normal distance of a point from a line
V20 = P20 L20
V CIR Radius
Variable = radius of a circle
V20 = C20
V Angle line/vector
Variable = angle of a line or vector
Line/Vector provide line or vector
- get angle az in TOP-view between line and the X-axis of the active coord.system
[tilt-angle] Pageup / Page Down ("PERP")
- tilt-angle ay: the angle between the line and the XY-plane of the active coord.system
[REVers] Pageup / Page Down ("REV")
- negative angle
[complement] Pageup / Page Down ("CX")
- 360-degree complementry angle (360 - angle)
V20 = ANG D(L20)
restore vector from angles:
- vector vcx = rotate X-axis around Z-axis angle = az;
- vector = rotate vcx around the (new) Y-axis angle = ay
(the new Y-axis is in the XY-plane of the active coordinate-system)
V Angle 2 lines/vectors
Variable = angle between 2 lines or vectors
Line/Vector 1 provide line or vector
[Line/Vector 2]
[REVers] Pageup / Page Down ("REV")
- negative angle
[complement] Pageup / Page Down ("CX")
- 360-degree complementry angle (360 - angle)
V20 = ANG L21 L20