Export Template

From Tube Software Wiki
Revision as of 08:28, 14 June 2013 by Fabcam1 (talk | contribs)
Jump to: navigation, search

Description

Exporttemp01.png
The export template plug-in allows part information to be exported to a text file with custom formatting. Four default/example templates will be included with the plug-in.

These kinds of files can include die attributes, material characteristics, design information, an XYZ coordinate table, and/or an LRA data table. Files can also be given custom file extensions.









How To

Start Up

To access the export template library, click settings on the main menu bar. Click the export template option in the drop down menu.

Exporttemp02.png



Add Template

To add a template to the export template library, click the add button Addentry.png below the template list on the left side of the window.

Once the add button is clicked the fields will be cleared and template formatting can be added.



Edit Template

To edit a template, first click on the template's name in the template list on the left side of the window to select it. Once selected, the template name will be highlighted in blue and the templates design will be displayed to the right. While a template is selected, it can be edited using the editing functions.


Template Name, Extension, and Design Area

Exporttemp07.png

  • Template Name: The name given to the template will be shown in the field next to the name tag icon. To change the name of a template, select the template in the template list and enter a new name into this field.
  • File Extension: The file extension that will be used when files are exported using the template. For example: txt, dat, prg.

Exporttemp09.png

  • Design Area: The design area will contain the formatting text and variables and/or tables for the current template. Text can be added directly to this area by clicking within the text frame to place the cursor. Type in information as needed.

Exporttemp10.png



Variables

Exporttemp05.png
Variables are shown in the variable list on the right of the window. Part attribute and table variables are used as placeholders for the actual part information that will be included in the file.

Variables are broken into four categories: Die, Material, Design, and Tables. Each section can be expanded to view the variables by clicking on the Plus.png next to the category name. Click the Minus.png to collapse the section again. See image to the right.








To add a variable to the template, double click on the variable in the variable list. The variable will be placed at the current cursor location in the template design area. Each variable will be surrounded by a "$" and a "%". See the image below for an example. In the actual exported file, the die's name and CLR will be placed where the "$Die Name%" and "$Die CLR%" variables are. Be sure to keep these symbols in place as the variable will not appear in the final exported file if either of them are removed accidentally.

Exporttemp06.png


Note: Only one of each table can be added to a single temple. For example, one LRA and one XYZ table can be added, but not two LRA tables. See image below.

Exporttemp08.png


Bend Data Settings

XYZ Data Settings

Delete Template

To delete a template from the export template library, first select the template to delete by clicking on it in the template list. Once selected, the template name will be highlighted in blue. Click the delete button Deleteentry.png to remove it.

Exporttemp04.png