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.

Creating Libraries of <strong>Parametric</strong> Elements<br />

Special functions (WARN and ERROR) are provided in T-<strong>FLEX</strong> <strong>CAD</strong> for prompting the user about errors<br />

when variables take certain inadmissible values, and request inputting different value. For example, if a nonspecified<br />

bolt length is encountered, you can force the message: “The input bolt length is not standard”. This<br />

is done by calling the function: WARN(“The input bolt length is not standard”).<br />

Once the necessary variables are created, you can proceed with creating the drawing and the 3D model.<br />

Creating <strong>Parametric</strong> Drawing and 3D Model<br />

When using a library element is a fragment, it is often necessary to insert just a portion of the drawing.<br />

Anticipating that, you can predefine several new layers. Use descriptive layer names to make it easy to<br />

understand which portion of the drawing belongs to which layer. In our example, we need to create three<br />

new layers. Let's name the layers according to their purpose: front view, left view and top view. During<br />

creation, all elements can be placed on any layer, for example, on the layer “Main”. Once the drawing is<br />

ready, simply select the desired portions by box and modify the layer of those elements as desired.<br />

Some elements of the bolt (for example, the<br />

pin hole) may or may not be displayed,<br />

depending on the implementation. At the<br />

previous step, we created special variables for<br />

this purpose. The variable imp25 is equal to 0<br />

whenever the implementation is equal to “2 -<br />

with pin hole” or “5 - with pin hole and<br />

groove”. In any other implementation, the<br />

variable is equal to -10. If an element is to be<br />

displayed only in the implementation 2 or 5,<br />

its level must be defined by the variable<br />

imp25.<br />

To make sure that in the assembly drawing<br />

the bolt is properly displayed in the bolted<br />

joints, to each view of the drawing let us add<br />

hidden hatches with the activated option of<br />

suppressing the hidden lines.<br />

Upon completing the <strong>2D</strong> drawing, proceed<br />

with the 3D model. Suppose, your 3D model<br />

is required to undergo changes depending on<br />

some parameter. It is not solely the model<br />

dimensions that could change. Some features<br />

may appear or disappear in the model.<br />

In our example, such a feature is the pin hole.<br />

The easiest way to achieve this is by<br />

suppressing a certain operation. This can be<br />

done using the same variables as when<br />

defining the level of the respective features on<br />

the drawing. What exactly can be done in this<br />

case? The pin hole is created as follows. First,<br />

an extrusion was made, creating a cylinder.<br />

Next, a Boolean subtraction was done of the<br />

cylinder from the bolt stem. The extrusion<br />

711

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

Saved successfully!

Ooh no, something went wrong!