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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Functions<br />

The resulting function construction, as in the case of splines, is a polyline. The “Start” and “Finish”<br />

parameters define respectively the start and end values of the variable parameter, defining the beginning and<br />

the end ranges of calculating the polyline coordinates.<br />

The “Polyline generation” group of parameters defines the way of calculating the intermediate point<br />

coordinates when creating the polyline:<br />

Equal steps. This way implies the variable parameter to change from the start to the end value in equal<br />

increments. The number of steps is specified by the user. It defines the number of segments in the<br />

polyline being created. The more the number of steps, the higher-accuracy will be the polyline<br />

representation along the bends and the longer time will take various operations handling the created<br />

polyline.<br />

The number of points used in the polyline creation is always equal to the number of segments plus one,<br />

and, therefore, is greater by one than the specified number of steps. The first point always corresponds to<br />

the start value of the variable parameter. The coordinates of the rest of points are based on the values of<br />

the variable parameter defined by the formula:<br />

Current value = Start value + I * Step<br />

Step = (End value – Start value) / Number of steps,<br />

I is the current step number (1,2,…, Number of steps).<br />

If polyline point coordinates are calculated using a database, the value of the variable parameter is<br />

usually the line number in the database. In this case, the current value of the variable parameter is<br />

replaced by the largest integer less than or equal to it. As a result, data could come at uneven steps<br />

from the database. To avoid this, always define the function parameters in such a way that the<br />

number of steps was equal to the difference between the end and the start values of the variable<br />

parameter.<br />

Optimized to curvature. One could notice that the above approach is not always convenient for curves of<br />

complex shape, as the tessellation density was constant along “smooth” and “curved” zones<br />

unnecessarily. Optimization to curvature yields finer tessellation along high-curvature zones and,<br />

respectively, coarser otherwise. The criterion of the accuracy and quality in this case is the “Tolerance”<br />

parameter that defines the maximum permitted deviation of the calculated polyline coordinates from the<br />

true curve coordinates. The lesser is the tolerance, the more segments will be in complicated zones of the<br />

curve.<br />

Once the polyline is built, it can directly be used as a construction entity. However, a possibility is provided<br />

for using the calculated polyline points for spline creation. For this, turn on the option “Generate spline<br />

from polyline”, define its type and the number of tessellation segments between two neighboring points of<br />

the spline for the spline tessellation polyline. This tessellation polyline will be the final output construction<br />

entity. Spline generation may be needed when a smooth curve is desired, while the number of defining points<br />

is limited.<br />

245

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

Saved successfully!

Ooh no, something went wrong!