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.

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

728<br />

pane, using context menu commands, or in a separate text editor window. To access the editor window, use<br />

the button [Edit…].<br />

The “Preview” checkbox at the bottom of the command window allows viewing the report in the<br />

command’s dialog pane exactly as it will be written to a file (with or without substituting variable values,<br />

depending on property settings defined for the report template).<br />

The method of storing the report is described by the<br />

following group of parameters:<br />

Output Path. This parameter defines the file name for<br />

saving the report. The button allows browsing<br />

for another file.<br />

Auto Save. With this flag set, the report will be<br />

automatically saved each time the drawing is saved.<br />

Substitute variables. Defines the method of writing<br />

variables to the report. When the parameter is set, the<br />

actual current values will be substituted for the<br />

variables in the text. When the parameter is turned<br />

off, the contents of the template will be written to the<br />

report files without replacing variable names by<br />

values.<br />

To delete the current template from the document, use<br />

the button [Delete]. Upon clicking the button, you<br />

would need to confirm the deletion.<br />

A created template can be written to the report file right from the command dialog, by clicking [Save]. The<br />

following text will be written for the example shown on the figure:<br />

Parameters of the machined part for conductor:<br />

Part length: 90<br />

Part height: 50<br />

Number of holes: 1<br />

Hole diameter: 7<br />

Surface slope angle: 10<br />

Chamfer length: 5<br />

Example of Using Report for Unfolding the Clipped Cylinder<br />

As a simple example of using the report mechanism together with the command “AN: Animate Model”,<br />

consider the solution to the task of constructing a clipped cylinder unfolding.<br />

To create the unfolding, a line tilted with respect to the vertical is created at the cylinder’s end face. The line<br />

parameter (angle) is defined by the variable “alpha”. A horizontal line is constructed through the<br />

intersection point of the former line and the circle. A segment is constructed along the intersection line of the<br />

horizontal line and the side outline edge of the cylinder. Its length is read into the variable “Length” by<br />

means of the function “get”.

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

Saved successfully!

Ooh no, something went wrong!