Z values
What are z values?
Z values are calculated construction parameters. For the calculation of z values
- all defined construction parameters (x, xg and g values),
- previously defined z values,
- measurements from the construction, so-called process data (e.g. GL, AB, TL),
- numerical values and mathematical functions can be used.
Defined z values are applied in the same way as Construction parameter x value.
Entering and altering z values
Entering and altering z values is started with the function key <F11>, via Control bar → z values
or via Extras → Z Values. ...
Pressing the <F11> key opens the z value entry window (Picture 1). The z value with its calculation formula is entered into the formula column and a corresponding comment is entered into the text column. Longer comments can be entered into the large edit window below the z values.
The calculated result for the style size appears in the value column. Having selected the z value, an existing z value can be re-assigned. After correction of the selected z value, the construction record runs to the saved record step and the z value is redetermined.
Switching to long format also displays the values for the other sizes in the size list
. The display can be switched from normal view
to difference to the 1st size
or relative difference
. The order of sizes can be arranged according to the order in the size list
or according to standard sizes (Picture 2).
In addition, the z value list can be printed or copied to the clipboard. The z value list displays the record step during which the z value was entered. A z value can only be deleted if it is no longer required for a correct record run. When resetting the Grafis record the z values which are part of the record step are also reset.
For example, if a distance may never be smaller than 100mm, generate a z value z.=Ab, enter the value 100 in the Min field and measure the distance after having pressed <ENTER>. In case the value is actually smaller, a warning appears ‘Warning: value fallen below minimum z.=Ab’. Ensure a suitable comment for the z value!
Syntax (spelling) of the z value entry
- Each instruction is to begin with z1= or z20=. It is recommended to enter the z values in the given ascending order.
- Small and capital letters have the same significance. Spaces are ignored.
- The calculation of expressions in brackets is possible.
- Angles are to be entered in degrees (e.g.: sin(45) for the sine of 45 degrees).
- Mathematical expressions with correct syntax are accepted only.
- Defined x and g values, mathematical functions and process data can be used to calculate z values (see examples). Processing previously defined z values is also possible.
| + | for addition |
| - | for subtraction |
| * | for multiplication |
| / | for division |
| # | for exponent |
| g6 |
g values, g6=sixth value of the current measurement chart
|
| X3 |
x values, x3=third value of the x value table (active part) of the current part
|
| xg5 |
x values of all parts (see Interactive Interface - Adjust interactive construction), xg5=fifth value of the x value table of all parts of the style
|
| z4 | z value z4 |
| numbers | numbers, e.g. 12; -12.0; 23.6, with the point as decimal point |
| pi | the constant pi (=3.1415927) |
| cos |
for cosine
|
| sin |
for sine
|
| tan |
for tangent
|
| atn | for arc-tangent |
| sqr | for square root |
| btr | for absolute value |
| rnd | for rounding |
| gL |
full length of a clicked line |
|
| Ab |
distance between two points |
|
| TL |
partial length of a line |
|
| Ri | direction of a line in the ‘click point’ |
|
| WS | angle at intersection point of two lines |
|
| WP | angle defined by three points |
|
| Ax | horizontal distance |
|
| Ay | vertical distance |
|
| xK | x co-ordinate value of a point |
|
| yK | y co-ordinate value of a point |
|
For the process data gL, Ri and WS existing lines of the construction are to be clicked. Other process data is determined with the point construction sub-menu.
Input assistant
The input assistant facilitates the entry of calculation instructions for the z value. To open the input assistant, click on the button
in the upper part of the dialogue (Picture 2).
The process data can be selected via the buttons. In the Formula element area, all other permitted operands such as mathematical functions, g values of the measurement chart, x values of the part, global x values or z values of the part can be selected. The selection is automatically transferred to the z value formula (Picture 3).
|
z1= 12.3-124.3+100-33-.123 |
|
|
z2=123.4-pi+gL+sin(Ri-Ri) |
|
|
z3=(gL+gL)*1.05+g1/100 |
|
|
Z4=z1+x12-g2/3.5+Ab |
|
|
z5=sqr((xK-xK)#2+(yK-yK)#2) |
theorem of Pythagoras |
|
z6=atn(z1/z3) |
Insert z values
z values can be inserted before or after an existing z value. Click on
to insert a z value before a selected z value and click on
to insert a z value after the selected z value.