T-FLEX Parametric CAD. Fundamentals. 2D Design

T-FLEX Parametric CAD. Fundamentals. 2D Design T-FLEX Parametric CAD. Fundamentals. 2D Design

scp.s.scptuj.mb.edus.si
from scp.s.scptuj.mb.edus.si More from this publisher
30.07.2013 Views

When using a variable for defining a level, enter the variable without braces, for example, LEVEL1 After exiting the parameters dialog box of the given element, another dialog box will come up on screen for setting the value of the variable LEVEL1. Using a variable as an element level allows modifying the way in which the drawing is displayed depending on specific conditions. As an example, create a drawing shown on the following diagram. Set the level of the rectangle diagonals using the variable “A”. Set the value of the “A” variable equal to “1”. In the command “SH: Set Levels” set the visibility range for the graphic lines from 0 to 127. In the variable editor create a variable “B” with the initial value “1”. Enter the following expression in the variable editor for “A”: “B == 0?-1:1”. Main Concepts of System Operation Thereafter, set the value of “B” first equal to “1”, and then “0”. With the first value, the created line will be present on screen, while absent with the second value. Thus, using variables as levels of various elements, you can create different variations of the same drawing. Priority When creating assemblies, especially, in engineering industry, it is often necessary that one element be drawn on top of others. This behavior is easy to realize using parametric fragments, hidden line removal, and an additional special parameter of graphic elements – the priority. The fact is, the model elements are drawn on the screen or other graphical devices in a certain order. This order normally corresponds with the element types and the order of element creation. However, this order can be changed using priorities. 127

Fundamentals. Two-Dimensional Design 128 A priority, just like a visibility level of an element, is an integer from -126 to 127, which can be specified by a variable value or an expression. The order of drawing elements follows the rule: elements with lower priority are drawn before elements with higher priority. Therefore, an element with a high priority “obstructs” the elements drawn earlier. For fully benefiting from the hidden line removal functionality, the system provides a special attribute of the hatch contour: “Use for hidden line removal”. When this attribute is turned on, the area of the hatch is filled with the background color. Therefore, using priorities and special hatches allows creating assemblies using overlays. An example of using hidden line removal could be any assembly of co-axial parts, created from fragments. In this case, the fragment parts are created without hidden line removal required in the assembly. Simply set their correct priorities when assembling. Using this method helps significantly speed up the process of creating assembly models and minimizes the necessity for editing elements when modifying the assembly model parameters. Controlling Element Visibility Additional tools for controlling element visibility on the drawing are provided by the commands “SI: Hide Construction”, “Show Relations”, “SN: Hide 3D Annotations” и “ESO: Hide/Show Elements”. These commands are available at the instrument toolbar “View” and in the menu “View”. Command “SI: Hide Construction”: Keyboard , Textual Menu Icon “View|Hide Construction” The command hides all construction elements in the current window (the 2D view or the 3D view). A second call to the command restores the construction element display on the screen. Command “Show Relations”: Keyboard Textual Menu Icon «-» This command enables to hide temporarily all relations (see the chapter “Relations”), created in the current 2D window. The repeated call of the command restores the relations. Command “SN: Hide 3D Annotations”: Keyboard Textual Menu Icon «-» This command is available only for 3D version of the system. It enables to hide all 3D annotations (3D dimensions, notes etc.) in the current 3D window. Command “ESO: Hide/Show Elements”: Keyboard Textual Menu Icon “View|Hide/Show Elements”

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

128<br />

A priority, just like a visibility level of an element, is an integer from -126 to 127, which can be specified by<br />

a variable value or an expression. The order of drawing elements follows the rule: elements with lower<br />

priority are drawn before elements with higher priority. Therefore, an element with a high priority<br />

“obstructs” the elements drawn earlier. For fully benefiting from the hidden line removal functionality, the<br />

system provides a special attribute of the hatch contour: “Use for hidden line removal”. When this attribute is<br />

turned on, the area of the hatch is filled with the background color. Therefore, using priorities and special<br />

hatches allows creating assemblies using overlays.<br />

An example of using hidden line removal could be any assembly of co-axial parts, created from fragments.<br />

In this case, the fragment parts are created without hidden line removal required in the assembly. Simply set<br />

their correct priorities when assembling.<br />

Using this method helps significantly speed up the process of creating assembly models and minimizes the<br />

necessity for editing elements when modifying the assembly model parameters.<br />

Controlling Element Visibility<br />

Additional tools for controlling element visibility on the drawing are provided by the commands “SI: Hide<br />

Construction”, “Show Relations”, “SN: Hide 3D Annotations” и “ESO: Hide/Show<br />

Elements”. These commands are available at the instrument toolbar “View” and in the menu “View”.<br />

Command “SI: Hide Construction”:<br />

Keyboard<br />

,<br />

Textual Menu Icon<br />

<br />

<br />

“View|Hide Construction”<br />

The command hides all construction elements in the current window (the <strong>2D</strong> view or the 3D view). A second<br />

call to the command restores the construction element display on the screen.<br />

Command “Show Relations”:<br />

Keyboard Textual Menu Icon<br />

«-»<br />

This command enables to hide temporarily all relations (see the chapter “Relations”), created in the current<br />

<strong>2D</strong> window. The repeated call of the command restores the relations.<br />

Command “SN: Hide 3D Annotations”:<br />

Keyboard Textual Menu Icon<br />

«-»<br />

This command is available only for 3D version of the system. It enables to hide all 3D annotations (3D<br />

dimensions, notes etc.) in the current 3D window.<br />

Command “ESO: Hide/Show Elements”:<br />

Keyboard Textual Menu Icon<br />

“View|Hide/Show Elements”

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

Saved successfully!

Ooh no, something went wrong!