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.

Functions<br />

The definition procedure includes two stages:<br />

1. Defining the coordinate system position (X and Y). The coordinate system helps defining the desired<br />

position of the resulting entity on the drawing. The coordinate system is defined by sequential selection<br />

of two nodes. The first node defines the origin (0,0). The second node defines the direction of the X-axis.<br />

The Y-axis is defined automatically based on the origin and the X-axis positions.<br />

2. Defining the functional relation and other parameters. This is done in the function parameters dialog<br />

box that appears on the screen after selecting the second node.<br />

The following parameters are defined in the function<br />

parameters dialog box:<br />

Name of the formula. One can select from the list a<br />

name of a standard function or define an arbitrary name<br />

for creating a new function.<br />

Type, or the way of defining the function. Four different<br />

types of definition can be used:<br />

− Plain definition in Cartesian coordinates (Y = f<br />

(X))<br />

Example: Y= #1**2 defines a parabola.<br />

The notation #1 is used for the variable parameter (in<br />

this case - X). This special notation is used to avoid<br />

confusion with the system variable names that can be<br />

used in the expression defining the functional<br />

relation.<br />

Besides variables, functions can be used as well as<br />

they are supported for use in the variable editor.<br />

− <strong>Parametric</strong> definition in the Cartesian coordinate<br />

(X = f(t), Y = f (t)).<br />

Example: X = #1, Y = #1 defines a straight line.<br />

One can create, for instance, a database of cam coordinates, and then use a<br />

parametric definition for the cam contour. Use the database access<br />

functionality and define a parametric relation where the variable parameter<br />

#1 is the record number in this database. The specified number of steps must<br />

necessarily equate with the difference between the end and start values of<br />

the function variable parameter.<br />

The indicator of the end value, or the end record, in the database named “q” can be conveniently<br />

entered as the expression “q.#”, returning the number of the last record in the database q.<br />

243

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

Saved successfully!

Ooh no, something went wrong!