Share
 
 

Default template set

The default template set includes the following files:

  • HTML templates — You can create as many different templates as you like, as long as they fall under these three categories PowerMill uses the following template types:
    • header; Project_Header.html — Default template with the project-level data, Header.html — Default template with the NC-level project data.
    • toolpath; Toolpath.html — Default template with data related to each of the toolpaths.
    • summary; Summary.html — Default template with summary data for each NC program, Project_Summary.html — Default template with project summary data.
  • Images — You can overwrite any of these images with your own; just ensure you keep the same file names:
    • Tool images, such as Drill.gif, Ball.gif and so on.
    • Logo images (CompanyLogo.jpg, PMillLogo.jpg).
    • Placeholder image (ImagePlaceholder.png). This is a default image used to substitute any missing snapshots.
  • Cascading style sheet — This sheet (style.css) controls the fonts, colors, borders, background images and the page layout of setup sheets. For example, you can change the typeface used in setup sheets by using a different font name. To temporarily unapply a CSS element, such as a border, insert a /* (slash, asterisk) at the beginning of the line, and */ (asterisk, slash) at the end of the line.

Each default template contains a number of variables placed inside curly braces { }. The variables are used for two purposes:

  • to display the values recorded in the associated PowerMill fields;
  • to display images.
  • Tip: Create a copy of the default templates before modifying them to suit your requirements.

Was this information helpful?