Setup Sheets Tutorial

Download as pdf or txt
Download as pdf or txt
You are on page 40of 42
 
 
C
OVER
P
AGE
 
Setup Sheets Tutorial
 
SSOOLLIIDDWWOORRKKSS CCAAMM 
22001188
 
 
 
Copyright
© 1995-2017, Dassault Systemes SolidWorks Corporation, a Dassault Systèmes SE company, 175 Wyman Street, Waltham, Mass. 02451 USA. All Rights Reserved.
Disclaimer
The information and the software application discussed in this document are subject to change without prior notice and are not commitments by Dassault Systemes SolidWorks Corporation (DS SolidWorks).
 
No material may be reproduced or transmitted in any form or by any means, electronically or manually, for any purpose without the express written permission of DS SolidWorks. The software discussed in this document is furnished under a license and may be used or copied only in accordance with the terms of the license. All warranties given by DS SolidWorks as to the software and documentation are set forth in the license agreement, and nothing stated in, or implied by, this document or its contents shall be considered or deemed a modification or amendment of any terms, including warranties, in the license agreement.
Trademarks
 SOLIDWORKS, 3D ContentCentral, 3D PartStream.NET, eDrawings, and the eDrawings logo are registered trademarks and FeatureManager is a jointly owned registered trademark of DS SolidWorks.
 CircuitWorks, FloXpress, PhotoView 360, and TolAnalyst are trademarks of DS SolidWorks.
 FeatureWorks is a registered trademark of Geometric Americas, Inc.
 Adobe, the Adobe logo, Acrobat, the Adobe PDF logo, Distiller and Reader are registered trademarks or trademarks of Adobe Systems Inc. in the U.S. and other countries.
 Other brand or product names are trademarks or registered trademarks of their respective holders.
Product Name:
 
SOLIDWORKS CAM 2018
 

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

4
 
 Setup Sheet Tutorial Table of Contents i
 
T
ABLE OF
C
ONTENTS
 

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

4
 
Setup Sheets Tutorial ii Table of Contents

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 
I
MPORTANT
N
OTE FOR
U
SERS
 
This document contains numerous references to the SOLIDWORKS CAM UI. Users are therefore expected to have at least a basic-level understanding of how toolpaths and NC codes are generated using the SOLIDWORKS CAM application.
In case they aren’t, then it is recommended that they go through the
SOLIDWORKS CAM manuals viz. Mill Tutorial, Turn Tutorial (depending on their machining requirements). These manuals can be accessed from the SOLIDWORKS
Help
 menu by clicking on the
Help
 menu and selecting
SOLIDWORKS CAM>>Tutorials.
 
Skill Sets Acquired from this Manual
 
 Generating XML-based Setup Sheets
 Viewing Saved Setup sheets
 An understanding of the differences between Setup Sheet command executed at SOLIDWORKS CAM NC Manager Level and Setup level
 An understanding of the settings for Setup Sheets in SOLIDWORKS CAM Options Dialog box
 An understanding of the settings available in the Setup Sheet Options dialog box
 Customizing/Editing Style Sheet Templates
Skill Sets Required for creating Templates
 
 To create/edit customized Style sheet templates for XML-based Setup Sheets, an intermediate-level proficiency in
XSL (Extensible Style Sheet language) and HTML is necessary.
 

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 6 Setup Sheets: An Introduction
1. S
ETUP
S
HEETS
:
 
A
N
I
NTRODUCTION
 
What are Setup Sheets?
A
Setup Sheet
 is a printable file that contains information that the CNC Machinist (machine tool operator) can use to set up the part and the tools required to machine that part. It  provides an overview of the NC program for the CNC Machinist.
A Setup Sheet usually includes the following information:
i.
 
Machine details ii.
 
Setup details such as Setup origin and Setup Name iii.
 
Controller iv.
 
Estimated machining time v.
 
Part material and Stock size vi.
 
Operations vii.
 
Feeds, Speeds, Z Feed Rate viii.
 
Tooling information for Tools used to machine the part
Setup Sheet Feature of SOLIDWORKS CAM
The ‘Setup Sheet’ feature of
SOLIDWORKS CAM allows you generate Setup Sheets for a solid part/assembly for which CAM data has been generated. This feature for generating Setup sheets is provided in two forms: i.
 
Auto-generation of a simple text file ii.
 
Generating Setup Sheets documents by executing commands associated with the
‘Setup Sheet’ feature
.
Types of Setup Sheets generated in SOLIDWORKS CAM
1. Setup Sheet in Simple Text File Format with *.set file extension
During post processing, SOLIDWORKS CAM automatically creates a simple text file with the same name as the NC program and a
*.set 
 extension.
2. XML-based Setup Sheets
With XML-based setup sheet, SOLIDWORKS CAM generates the WIP images (depending on the options selected) and transfers the machining information about each operation to an XML file that can be displayed as an HTML file in the
 Internet Explorer 
 web browser. An XSL style sheet will be used to merge the XML content with HTML formatting to determine the appearance of the web page.
Pre-requisites for generating XML-based Setup Sheets
 
If generating a Setup Sheet at Mill Setup or Turn Setup level, then toolpaths must  be generated for all the operations under that Mill or Turn Setup.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Setup Sheets: An Introduction 7
 
If generating a Setup Sheet at
SOLIDWORKS CAM NC Manager 
 level, then toolpaths must be generated for all the operations for the current part/assembly. This includes operations listed under different Mill Setups and Turn Setups.
 
The
 Internet Explorer 
 web browser must be installed as XML-based Setup Sheets can only be viewed in this browser.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 8 SOLIDWORKS CAM Templates for XML-based Setup Sheets
2. SOLIDWORKS
 
CAM
 
T
EMPLATES FOR
XML-
BASED
S
ETUP
S
HEETS
 
Default Style Sheet Templates for XML-based Setup Sheets
A Style sheet template is used to define the visual layout (style) an HTML or XML-based document. A set of default Style Sheet templates is provided within the SOLIDWORKS CAM application. These templates are UI-language specific and further classified to be machine specific. Whenever an XML-based Setup Sheet is generated, a Style Sheet has to compulsorily be associated with it. Once the XML-based Setup Sheet is generated, its visual layout is determined by the associated Style Sheet file.
File Format of the Style Sheets
The default Style Sheets files are in XSL (
 Extensible Stylesheet Language
) format. SOLIDWORKS CAM supports only XSL-based Style Sheet templates for the XML- based Setup sheets. In case you define any customized Style Sheet template, then that file too should be in the XSL format.
Location of the Default Style Sheet Template Files available in SOLIDWORKS CAM
The Style Sheet files are located deep within the SOLIDWORKS CAM Installation folder.
 
A UI-language specific version of each Style Sheet template is provided within SOLIDWORKS CAM. Hence, the location of Style Sheet files is language specific i.e. it depends on which language mode SOLIDWORKS CAM is currently being run. For example, if the installed SOLIDWORKS CAM application can be run in English, French, German and Japanese mode, then the corresponding language versions of each Style Sheet will be available. These Style Sheets are located within a language-specific folder within the SOLIDWORKS CAM Installation folder.
 
Present within the language-specific sub-folder of the SOLIDWORKS CAM Installation folder is the
 Setup_Sheet_Templates
 sub-folder. As Style sheet templates are machine specific, two sub-folders named
 Mill
and
Turn
 are provided within this folder. These folders contain Style sheet template files specific to Mill and Turn modules respectively.
Examples
For the English language mode of SOLIDWORKS CAM, the folder location of the Style sheets files for Mill module will be:
Drive:\Program Data\SOLIDWORKSCAMData\Lang\English\Setup_Sheet_Templates\  Mill
For the French language mode of SOLIDWORKS CAM, the folder location of the Style sheets files for Turn module will be:
Drive:\ Program Data\SOLIDWORKSCAMData\Lang\French\Setup_Sheet_Templates\Turn

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial SOLIDWORKS CAM Templates for XML-based Setup Sheets 9
Customized XSL Style Sheet Templates
Though a set of Style Sheet templates is already provided within SOLIDWORKS CAM, you can
define your own customized Style Sheet templates to suit your Facility’s/ Firm’s
 requirements. Alternatively, you can edit the already available Style Sheets to suit your requirements. Refer  
 of this document to:
 
Gain a thorough understanding how to edit the default Style Sheet template files to
suit your Facility’s/ Firm’s
 requirements by referring the code snippets provided for all the part-related parameters.
 
Refer the syntax/reference code for retrieving values for various CAM and CAD  parameters while editing/creating a customized Style Sheet template.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 10 Generating Setup Sheets
3. G
ENERATING
S
ETUP
S
HEETS
 
Generating Setup Sheets by executing commands
The command to generate Setup Sheets is provided in the SOLIDWORKS CAM UI. These commands are available as:
i. Setup Sheet Commands on SOLIDWORKS CAM NC Manager context menu
The
Setup Sheet 
 command is available on the context menu of the
SOLIDWORKS CAM  NC Manager 
 item in the SOLIDWORKS CAM Operation tree. After generating toolpaths for the solid model, right-click on the
 SOLIDWORKS CAM NC  Manager
item in the SOLIDWORKS CAM Operation tree and select
Setup Sheet
command on the context menu. You will observe that there are two commands available on the cascading menu viz.
Generate
 and
View
.
The
 Setup Sheet>>Generate
 command on the SOLIDWORKS CAM NC Manager context menu
When you select this command, under default settings, the Setup Sheet Options dialog  box will be displayed. This dialog box allows you to set the options for generating WIP images to be display in the Setup Sheet for each operation.
The Setup Sheet Options dialog box is discussed in detail in the next chapter . 
Disabling display of the Setup Sheet Options dialog box
You can disable the display of the
Setup Sheet Options
 dialog box (whenever this command is executed). This can be done by: i.
 
Removing the check mark from the
Show Options before generation option
 on the General tab in the SOLIDWORKS CAM Options dialog box.
 Setup Sheet>>Generate
command on the context menu of SOLIDWORKS CAM NC Manager

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Generating Setup Sheets 11
OR ii.
 
Selecting the 
option on the Setup Sheet Options dialog  box.
The Setup Sheet>>View command on the SOLIDWORKS CAM NC Manager context menu
The
Setup Sheet 
>>
View
 command on the context menu of the SOLIDWORKS CAM NC Manager item in the Operation tree allows you to view the Setup Sheet that has  previously been generated for the solid part or assembly file. Depending on whether the Setup Sheets have been generated or not, the Setup Sheet>>View command will yield different results.
Condition: No Setup Sheet has been generated before executing the View command
If no Setup Sheet was previously generated for the current part or assembly file, then on executing the
Setup Sheet 
>>
View
 command, a Warning message indicating the absence of the Setup Sheet will be displayed. You need to generate a Setup Sheet with desired settings and then execute this command to view the Setup Sheet.
ii. The
Generate Setup Sheets
 command on context menu of Part Setup
The
Generate Setup Sheets
 command is available in the context menu of the Mill Setup/ Turn Setup in the SOLIDWORKS CAM Operation tree. After generating toolpaths for the solid model in SOLIDWORKS CAM, right-click on the
 Mill Part Setup
 or
Turn Part Setup
 item in the Operation tree and select
Generate Setup Sheet 
 s…
 
command on the context menu. Executing this command displays the Setup Sheet Options dialog box. Edit the settings as required and then click on the
OK 
 button in this dialog box to generate the Setup Sheet. This command functions the same as the Setup Sheet>>Generate command in the context menu of the SOLIDWORKS CAM NC Manager item explained in the previous section.
Warning Message displayed when Setup Sheet does not exist for the solid part file

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 12 Generating Setup Sheets
Differences between Setup Sheet command at SOLIDWORKS CAM NC Manager Level and Setup Level
The differences between the Setup Sheet command executed at SOLIDWORKS CAM  NC Manager Level and Setup level are:
a. Scope of operations covered
Executing the
Setup Sheet 
>>
Generate
 command at SOLIDWORKS CAM NC Manager level covers all operations under different Mill/ Turn Setups while executing the
 
Generate Setup Sheets…
command at Setup level covers only the operations under that particular Setup.
b. Nomenclature of generated XML-based Setup Sheets
If the
Setup Sheet 
>>
Generate
 command is executed at SOLIDWORKS CAM NC Manager level, then the name of the XML-based Setup Sheet will be identical to the solid part/ assembly for which it was generated. If the
 Generate Setup Sheets
 command is executed at Mill or Turn Part Setup level, then the nomenclature syntax for the XML-based Setup Sheet will be:
 Solid_Part_Name.Setup_Name
’.
Example:
If the name of the solid part is
Sample.sldprt 
 and the name of the Mill Part Setup level (at which the Setup Sheet command was executed) is
Group1
, then the name of XML- based Setup Sheet
generated will be: “
Sample.Group1.xml 
Generate the Setup Sheet on Mill Part Setu context menu

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Generating Setup Sheets 13
Settings for Setup Sheets in SOLIDWORKS CAM Options Dialog box
When you select the SOLIDWORKS CAM Options command on the SOLIDWORKS CAM Command Manager, the SOLIDWORKS CAM Options dialog box is displayed. Setup Sheet settings options are available in the General tab and File Location tab of the SOLIDWORKS CAM Options dialog box.
In the General Tab
 
Show Options before generation
When this option is checked in the
General tab
 of Options dialog box, the Setup Sheet Options dialog box displays when you select the Generate Setup Sheets command at the SOLIDWORKS CAM NC Manager or Mill Part Setup level. When this option is not checked, the dialog box does not display.
In the File Locations Tab
Setup sheet images folder
Specifies the folder location where the XML based Setup Sheet images are stored when you generate WIP images for Setup sheets.  If you wish to change this location, click on the
 Browse
 button to the right of this field. Use the
 Browse to Folder
dialog box to assign a location other than the default location.
Setup sheet image folder path in the File Locations tab of SOLIDWORKS CAM Options dialog box Setup sheets group box in the General tab of SOLIDWORKS CAM Options dialog box

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 14 Setup Sheets Options Dialog Box
4. S
ETUP
S
HEETS
O
PTIONS
D
IALOG
B
OX
 
Displaying the Setup Sheets Options dialog box
The Setup Sheet Options dialog box is displayed when you select:
i.
 
The 
 command in the context menu of the SOLIDWORKS CAM NC Manager item in the SOLIDWORKS CAM Operation tree. ii.
 
The 
 in the context menu of the Mill Part setup or Turn Part Setup items in the SOLIDWORKS CAM Operation tree.
Setup Sheet Options dialog box

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Setup Sheets Options Dialog Box 15
 
Settings available in the Setup Sheet Options dialog box
Following are the various settings available in the Setup Sheet Options dialog box:
Type
 
XML:
SOLIDWORKS CAM generates the WIP images (depending on the options selected) and transfers the machining information about each operation to an XML file that can be displayed as an HTML file in a web browser. An XSL style sheet will be used to merge the XML content with HTML formatting to determine the appearance of the web page.
Note:
 
XML-based Setup Sheets generated can only be viewed in the Internet Explorer web browser. They cannot be viewed using any other web browsers.
Save to
This field indicates the location where the Setup Sheet in XML format will be saved. Click on the
 Browse
 button to the right of this field to choose a location other than the default location.
Style sheet path
This field indicates the folder location where XSL-format Style sheet templates are saved. The Style sheets available within this folder location are displayed in
Style sheet dropdown list 
.
Default Style sheet path
Since a set of default Style sheet templates are available in SOLIDWORKS CAM, the
Style sheet path
 will, by default, point to the folder location containing the Style sheet template files located within the SOLIDWORKS CAM Installation folder. This default
Style sheet path
 is UI-language specific and machine-specific.
‘Save to’ field for indicating location of Setup Sheet
 XML selected as Setup sheet Type

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 16 Setup Sheets Options Dialog Box
For more details, read the section:
in Chapter 2 of this document.
 
Style sheet path for customized Style Sheet templates
In case you intend you use a customized Style Sheet template other than the default ones available in SOLIDWORKS CAM and they are stored in a folder location which is different from the folder location of the default Style Sheet files, then click on the
 Browse
  button next to the
Style sheet path
 and set the folder location path. The Style sheet template(s) within the selected folder location will be displayed in the
Style sheet dropdown list 
.
Style sheet dropdown list
This dropdown list contains the names of the XSL Style Sheet templates. These templates are files picked from the folder location indicated in the
Style sheet path
 field. Since Style sheet templates are machine specific, only templates specific to the machine selected for the active  part/assembly will be selected. For example, if a Mill Machine is selected for the active solid part/assembly, then only Style sheet templates specific to Mill will be listed. Click on the
Style Sheet dropdown list 
 to view the other available Style sheet templates. By default, the first template listed in the dropdown list will be selected. To select another Style Sheet template, click on the name of the desired Style sheet template from the dropdown list. The selected Style Sheet template will be used to merge the XML content with HTML formatting to determine the appearance of XML-based Setup Sheet. Depending on the machine selected for the active solid part/ assembly, the following Style sheet templates are available in the Setup Sheet Options dialog box:
Style sheets for Mill Parts
 
Mill Operations
 
Mill Operations and WIP
 
Mill Operations and WIP(xslt)
 
Mill Operations(xslt)
 
Mill Tooling
 
Mill Tooling(xslt)
Style sheets for Turn Parts
 
Turn Operations
 
 
Turn Operations and WIP
 
 
Turn Operations and WIP(xslt)
 
 
Turn Operations(xslt)
 
 
Turn Tooling
 
 
Turn Tooling
(xslt)
Mill Style Sheet Templates Turn Style Sheet Templates

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Setup Sheets Options Dialog Box 17
 
View on Save
’ option
 
When this option is checked, the Setup sheet is displayed immediately after it is generated.
Size of images in pixels
These settings are enabled only in the
Generate WIP images
 option is checked. They allow you to determine the width and height of the WIP images.
Generate WIP Images
’ option
 
WIP images for each operation can be created automatically by checking the
Generate WIP images option
 in Setup Sheet Options dialog box. If this option is checked, SOLIDWORKS CAM generates the Setup Sheet by running the Toolpath Simulation in the background and creating a WIP image of each operation based on the current solid part
’s
 orientation and magnification. When images are generated, the simulation runs in Tool mode to produce more accurate images and the Setup Sheet generation may take longer depending on the number and type of operations. If the part contains multiple 3 axis toolpaths, it may take considerable time to simulate. If you want to avoid this, we recommend that you disable
Generating WIP images
 option. Instead, generate the required images manually in Toolpath Simulation using Turbo mode.
Regenerate all images
’ option
 
If an existing Setup Sheet has already been generated and this option is chosen, then all the WIP images will be regenerated. The regenerated images will replace all previous images generated automatically or manually.
Update images for new operations
’ option
 
The
Update images for new operations
 option will be disabled if the Setup Sheet is being generated for the first time. If the Setup Sheet for the current solid part already exists in the folder location for Setup Sheets, then this option will be enabled. When a Setup sheet is generated, SOLIDWORKS CAM executes the toolpath simulation and images for newly added operations are generated. Use this option while regenerating the Setup Sheet.
Generate part / assembly images
The
Generate part / assembly images
 option will generate images of the SOLIDWORKS part or assembly. Click on the
Option
 button and select the desired orientation from the displayed list. These orientations will be applied on the setup levels. The default options for Mill Part Setups and Turn Setups are already defined in SOLIDWORKS CAM.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 18 Setup Sheets Options Dialog Box
Machine / Setup level Default Orientations
Mill -
 
Setup XY -
 
Isometric Turn -
 
Turn ZX -
 
Isometric
The image are generated in a ‘PartImages’ sub
-folder under the main folder with the name of the part or assembly file. The default folder location path will be as follows:
Drive:\Program Data\SOLIDWORKSCAMData
\
Lang
\<
 xxxx>
\
 Setup_Sheet_Images
\
Example_1.SLDPRT\<Part Images>
When this option is unchecked, no part or assembly images will be generated in the Setup Sheets.
Generate tool images
The
Generate part / assembly images
 option will generate images of the tools used for every
operation in the part or assembly file. The image are generated in a ‘ToolImages’ sub
-folder under the main folder with the name of the part or assembly file. The default folder location path will be as follows:
Drive:\Program Data\SOLIDWORKSCAMData
\
Lang
\<
 xxxx>
\
 Setup_Sheet_Images \Example_1.SLDPRT\<Tool Images>
When this option is unchecked, no tool images will be generated in the Setup Sheets.
Naming Convention of the folders
<
xxxx
>: This sub-folder has a naming convention that indicates the language mode in which SOLIDWORKS CAM application was run when the Setup Sheet was generated. <
Part name
>: This sub-folder has a naming convention that indicates the name of the solid part for which the WIP images were generated.
<Part name>
 folder thus indicates the name of the part.
Naming convention for WIP images
Each WIP image file name corresponds to the operation name. All the default Style sheet templates available in SOLIDWORKS CAM are designed to display WIP image files  based on this naming convention.
Note: Do not rename a WIP image file generated for a Setup Sheet. If you rename the WIP image file, then that image will not be subsequently displayed in the Setup Sheet as the naming convention has been disturbed.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Setup Sheets Options Dialog Box 19
 
Do not show this dialog
’ option
 
You can disable the display of the
Setup Sheet Options dialog box
 by checking this option. To enable the display, check the 
option on the General tab in the SOLIDWORKS CAM Options dialog box.
‘OK’ button
 
When you click on this button:
 
If a Setup Sheet for the active part/
assembly doesn’t exist, then the Setup Sheet will be
generated and displayed.
 
If a Setup Sheet for the active part/assembly was previously generated at the SOLIDWORKS CAM NC Manager level and is now generated at the Setup level or vice versa, then the Setup Sheet will be generated and displayed.
 
If a Setup Sheet has already been generated for a part/assembly (even if a different Style sheet template was applied) and the command to generate a Setup Sheet is executed for the part/assembly once again, then a Warning Message will be displayed indicating that the Setup Sheet for the active part/assembly already exists. i.
 
Click
Yes
 within the Warning Message dialog box to replace the existing Setup Sheet with a newly generated Setup Sheet. ii.
 
Click
 No
 within the Warning Message dialog box to replace the existing Setup Sheet with a newly generated Setup Sheet. iii.
 
Click
Cancel 
 to cancel the Setup Sheet generation command. When an XML-based Setup Sheet is generated on clicking the
 OK 
 button, the following two files are saved within the target folder location that was indicated in the Setup Sheets options dialog box: a.
 
The Setup Sheet in XML file format.  b.
 
The Style sheet template for the Setup sheet in *.xsl format.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 20 Generating Setup Sheets
5. G
ENERATING
S
ETUP
S
HEETS
This chapter contains tutorials to illustrate the generation of Setup Sheets.
Flowchart illustrating generation of Setup Sheets
Flowchart explaining steps for generating Setup Sheets using SOLIDWORKS CAM
Right-click on
SOLIDWORKS CAM NC Manager 
 item in the SOLIDWORKS CAM Operation tree and select
Generate
>>
View 
 command on the context menu.
 
 All operations
Launch SOLIDWORKS CAM and open the part/ assembly. Ensure operations and toolpaths are generated for the part/ assembly for which the Setup Sheet is to be generated. Do you want to generate Setup Sheet for all operations or only operations under a particular Mill /Turn Setup?
 
Right-click on the Mill or Turn Setup in the SOLIDWORKS CAM Operation tree and select
Generate Setup Sheets
 command on the context menu.
 
Operations under a particular Setup
WIP images displayed in Setup Sheet?
 
Do you want to Click the OK button.
 
The Setup Sheet is displayed.
 
No
The Setup Sheet Options dialog box is displayed.
 
Select the option ‘Generate WIP Images’
 
Set the size for the WIP images in pixels
 
Type ‘XML’
 
Use the ‘Save to’ field to indicate
the location where the generated Setup Sheet is to be saved.
 
Select the Style Sheet from the dropdown list.
 

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Generating Setup Sheets 21
 
Tutorials on Generating Setup Sheets
In this chapter, the provided
Tutorial
illustrates how to generate XML-based Setup Sheets containing 2D images of WIP.
(2D images of WIP generated on applying default Style Sheet templates.)
 
Note: The steps to be followed for generating Setup Sheet in Mill and Turn mode are similar. For the purpose of conciseness, the tutorials illustrated in this document are for Mill parts only.
Tutorial : Generating XML-based Setup Sheet with 2D images of WIP
To generate a Setup Sheet, the toolpaths for all the operations must be generated. For the purposes of illustration, in this tutorial, a sample Mill part for which toolpaths have already been generated will be used. The default Style sheet template will be applied to the XML-based Setup Sheet to be generated. Applying the default Style Sheet template results in generation of 2D images of stock, WIP and finished part in the Setup Sheet.
Steps to generate Setup Sheet
1.
 
Open the part
Setup_Sheet_Sample.SLDPRT
  present in the following folder location:
:\Users\Public\Public  Documents\SOLIDWORKS\SOLIDWORKS 201x\CAM Examples\Tutorial_Parts\Mill
2.
 
Click on the
SOLIDWORKS CAM Operation tree
 tab. Observe that there are 16 operations listed under the Mill Part Setup. The black-colored font of the operation names indicate that toolpaths have already been generated for the solid part. 3.
 
Right click on the
SOLIDWORKS CAM NC  Manager 
 item in the SOLIDWORKS CAM Operation tree and select
Setup Sheet...
 from the context menu. Further, select
Generate...
 from the cascading menu.
Setup_Sheet_Sample.SLDPRT Operations listed in the SOLIDWORKS CAM Operation

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 22 Generating Setup Sheets
4.
 
The Setup Sheet Options dialog box is displayed. In this dialog box, set the following  parameters:
 
Type is set as
 XML
.
 
The
Save To:
 field indicates the default location where the generated Setup Sheet will be saved. If you wish to change this location, click on the
 Browse
 button to the right of this field. The
 Browse to  Folder 
 dialog box will be displayed. Use this dialog box to assign the desired location for saving the Setup Sheet.
 
The
Style sheet path:
 field indicates the default location of the folder containing SOLIDWORKS CAM Style Sheet templates. If the location is displayed in the field,  proceed to the next step. In case this field is blank, click on the
 Browse
 button to the right of this field and specify the default location of the folder containing Style Sheet templates.
 
The
Style sheet:
 dropdown list displays the list of Style Sheet
Selecting Generate command from the cascading menu Setup Sheets Options Dialog box

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Generating Setup Sheets 23
 
templates available for the Mill module of SOLIDWORKS CAM. Select the
 Mill Operations and WIP
 template as the Style sheet from this dropdown list.
 
Ensure that the
View on Save
 option is checked.
 
Ensure that the 
 option is checked.
 
Ensure that the 
 and 
 options area checked. 5.
 
Click on the
OK 
 button to generate the Setup Sheet. 6.
 
The generated Setup Sheet will be displayed in the
 Internet Explorer 
 web browser. 7.
 
The top part of the generated setup sheet displays the general information (Material, Stock size, Unit, Date, Setup name, Setup origin, etc.). 8.
 
For operations listed in the Setup Sheet, details displayed include Speed, Feed, Z Feed Rate, Tool Description, etc.
Generated Setup Sheet
Partial display of the generated Setup Sheet

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 24 Generating Setup Sheets
WIP Models in the Setup Sheet
For the solid part used in this tutorial, sixteen operations with corresponding toolpaths have  been defined. Whenever a Setup Sheet is generated, the WIP model after the execution of each operation listed in the Operation tree will be displayed in it. The below table illustrates the 16 WIP models displayed in the Setup sheet for the example  part (
Setup_Sheet_Sample.SLDPRT
) under consideration.
Sr. No. OPERATIONS 2D VIEW OF WIP MODEL TOOL USED
1. Center Drill 1 2. Drill 1 3. Rough Mill 1 4. Contour Mill 1

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Generating Setup Sheets 25
 
Sr. No. OPERATIONS 2D VIEW OF WIP MODEL TOOL USED
5. Center Drill 2 6. Drill 2 7. Rough Mill 2 8. Contour Mill 2 9. Rough Mill 3

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 26 Generating Setup Sheets
Sr. No. OPERATIONS 2D VIEW OF WIP MODEL TOOL USED
10. Contour Mill 3 11. Rough Mill 4 12. Contour Mill 4 13. Rough Mill 5 14. Rough Mill 6

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Generating Setup Sheets 27
 
Sr. No. OPERATIONS 2D VIEW OF WIP MODEL TOOL USED
15. Contour Mill 5 16. Face Mill 1

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 28 Viewing Saved XML-based Setup sheets
6. V
IEWING
S
AVED
XML-
BASED
S
ETUP SHEETS
 
Location of XML-based Setup Sheets
Folder location of XML-based Setup Sheets
The default folder location where XML-based Setup Sheets are saved is:
Drive:\Program Data\SOLIDWORKSCAMData
\
Lang
\<
 xxxx>
\
 Setup_Sheet_Images
Where:
<xxxx>:
 This sub-folder has a naming convention that indicates the language mode in which SOLIDWORKS CAM application was run when the Setup Sheet was generated.
Since the nomenclature for an XML-based Setup Sheet is based on the solid part/assembly for which it was generated, it can be easily distinguished from other Setup Sheets within the folder location.
Viewing XML-based Setup Sheets
Within the folder location containing Setup sheets, the desired XML-based Setup Sheet can be viewed in the
 Internet Explorer 
 web browser.
Deleting XML-based Setup Sheets
If you wish to delete an unwanted Setup Sheet from the folder location, you need to delete  both the Setup Sheet file (*.xml) and the folder containing its WIP images. The folder containing the WIP images can be identified easily as its folder name is identical to the name of the solid part/assembly file for which the Setup Sheet was generated.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Customized XSL Style sheet Templates 29
 
7. C
USTOMIZED
XSL
 
S
TYLE SHEET
T
EMPLATES
 
Though a set of  Style Sheet templates is already provided within SOLIDWORKS CAM, you can define your own customized Style Sheet templates to suit your f 
acility’s/
irm’s
requirements. Alternatively, you can edit the already available Style Sheets to suit your requirements. This chapter provides the syntax/reference code for retrieving values for various CAM and CAD parameters while editing/creating a customized Style Sheet template.
Note: At least an intermediate-level knowledge of XSL (Extensible Style Sheet language) and HTML is necessary for editing the code within existing Style Sheet templates.
Location of the Style Sheet Templates
Location of the Default Style Sheet Templates
The default Style Sheet templates are located deep within the SOLIDWORKS CAM Installation folder in the
Setup_Sheet_Templates
 sub-folder. -
 
For the English language mode of SOLIDWORKS CAM, the default folder location of the Style Sheet templates for Mill module will be:
Drive:\Program Data\SOLIDWORKSCAMData\Lang\English\Setup_Sheet_Templates\Mill
-
 
For the French language mode of SOLIDWORKS CAM, the default folder location of the Style Sheet templates for Turn module will be:
Drive:\Program Data\SOLIDWORKSCAMData\Lang\French\Setup_Sheet_Templates\Turn
Location of Style Sheet associated with generated Setup Sheet
When an XML-based Setup Sheet is generated after clicking the
 OK 
 button in the Setup Sheet Options dialog box, two files are saved within the target folder location that was indicated in this dialog box: a.
 
The Setup Sheet in XML file format.  b.
 
The associated Style sheet template for the Setup sheet in *.xsl format.
Note: Once an XML-based Setup Sheet is generated, a copy of the Style Sheet template associated with it is saved in the same folder location as the Setup Sheet. The visual rendering and formatting of the XML-based Setup sheet will be based on this copy of the Style sheet template.
Renaming/Reassigning Style Sheet applied to an XML-based Setup Sheet
Whenever an XML-based Setup Sheet is generated, the copy of the Style Sheet template (*.xsl) applied to the Setup Sheet is saved to the same folder location. The visual rendering,

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 30 Customized XSL Style sheet Templates
formatting and parametric values displayed within the XML-based Setup Sheet will be based on this copy of the Style Sheet template.
 
Renaming a Style Sheets associated with an XML-based Setup Sheet
If another XML-based Setup Sheet is generated after applying the same Style Sheet template and saved to the same location, then the existing copy of the Style Sheet template within this folder is overwritten. While this is not an issue if the default templates were used, it certainly would be if the customized Style Sheet template meant for particular Setup Sheet were to be overwritten. It can lead to assigned parametric values/dynamically derived values being overwritten. The simplest solution would be to ensure that every Setup Sheet is generated and saved within separate folder locations. An alternative solution would be to rename the associated Style Sheet template in order to  prevent the overwriting of the template. Once renamed, the coding of the XML-based Setup Sheet must be updated to refer to the renamed Style Sheet. Following are the steps: i.
 
Open the folder location where the XML-based Setup Sheet file is saved. ii.
 
Rename the Style Sheet file (*.xsl) file associated with the Setup Sheet. It should be  preferably renamed to bear the same name as the Setup Sheet so as to enable easier identification. iii.
 
Right-click on the
 XML-based Setup Sheet 
 and select
Open with
>>
WordPad 
. iv.
 
Observe the second tag within the displayed code. This tag references the Style Sheet name.
<?xml-stylesheet type="text/xsl" href="
StyleSheetName
.xsl"?>
 v.
 
Replace the Style Sheet name within the quotes. vi.
 
Save and close the file.
Reassigning a Style Sheets associated with an XML-based Setup Sheet
The time required for generating the Setup Sheet for some complex solid parts is high. If you want to assign a customized Style Sheet template to an XML-based Setup Sheet, then instead of regenerating the Setup Sheet after applying the desired Style Sheet template, the alternative and simple solution would be to change the referenced Style sheet template within the XML-
 based Setup Sheet’s code.
Following are the steps: i.
 
Open the folder location where the XML-based Setup Sheet file is saved. ii.
 
Place a copy of desired Style Sheet template file (*.xsl) within this folder location file associated with the Setup Sheet. iii.
 
Right-click on the XML-based Setup Sheet and select
Open with
>>
WordPad 
. iv.
 
Observe the second tag within the displayed code. This tag references the Style Sheet name.
<?xml-stylesheet type="text/xsl" href="
StyleSheetName
.xsl"?>
 v.
 
Replace the Style Sheet name within the quotes with the name of the new Style Sheet.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Customized XSL Style sheet Templates 31
 
vi.
 
Save and close the file.
Editing the Style Sheet Templates
Editing Info displayed in XML-based Setup Sheet
To edit the values displayed within the XML-based Setup Sheet, you need to edit the Style Sheet template file (*.xsl) associated with it. The Style Sheet template associated with an XML-based Setup Sheet contains code to dynamically retrieve part-related and CAM data-related parametric values from the solid part/ assembly. While editing/creating Style Sheet templates, you might need to: i.
 
Edit/insert code for Parameter labels; ii.
 
Edit/insert code for dynamically retrieving values for the parameters; iii.
 
Assign static values to parameters where dynamically retrieved values are not required.
Choosing the Style Sheet template to be edited
If you are editing one of the default Style Sheet templates available in SOLIDWORKS CAM to suit your firm
’s requirements, you can edit it at two levels:
 
If you want to assign values to parameters that are to be reflected in all future Setup Sheets which will be generated, you need to edit the applicable Style Sheet template within the
Setup_Sheet_Templates
 sub-folder of the SOLIDWORKS CAM Installation folder.
 
If you want to assign values to parameters that are to be reflected only for a particular Setup Sheet and not to any other Setup Sheet, then you need to edit the copy of the Style Sheet template that was applied to the Setup Sheet.
Displaying Company
’s
 Name in the Setup Sheet Heading Section
The default Style Sheets present within SOLIDWORKS CAM can be edited to display your company name.
 
If you want your Company Name to be reflected in all future Setup Sheets generated by applying default Style Sheet templates, then edit those Style Sheet templates present in the SOLIDWORKS CAM Installation folder. The typical location of the default Style Sheet Templates is:
 Drive:\Program Data\SOLIDWORKSCAMData\Lang\English\Setup_Sheet_Templates
 
If you want your Company Name to be reflected only in a specific Setup Sheet, then, after the Setup Sheet is generated, edit the copy of the Style Sheet template associated with that Setup Sheet. This template copy is always present in the same folder location as the generated XML-based Setup Sheet that it renders. The default folder location where XML-based Setup Sheets are saved is:
 Drive:\Program Data\SOLIDWORKSCAMData\Lang\English\Setup_Sheet_Images

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 32 Customized XSL Style sheet Templates
Editing a default Style Sheet to display Company Name
i.
 
a. If you wish your Company name to appear in all future Setup Sheets, browse to the default folder location of the Style Sheet templates.  b.
 
If you wish your Company name to only for a particular Setup Sheet, then generate the Setup Sheet and browse to the folder location where the Setup Sheet has been saved. ii.
 
Right-click on the Style Sheet template file (*.xsl) and select Open with>>WordPad. iii.
 
Observe the tags containing the first body section immediately after the <head> tag section ends. A sample section is shown below:
<TR align="center"> <TD style="FONT: 23pt Times">
Your Company Name here
</TD> </TR>
 iv.
 
Replace the text (highlighted in blue) between the tags with your Company name. v.
 
Save and close the file. vi.
 
The changes will be reflected when you open/refresh the XML-based Setup Sheet file.
Editing Part Related Info displayed in Setup Sheet
Following are the part-related parameters displayed within the Setup Sheet:
 
Company
 
Date/Time
 
Material
 
Stock Size
 
Author
 
Keywords
 
Comments
 
Title
 
CNC Machine
 
Programmer
 
Units
 
Subject
Reference Code in Style Sheet template for Part Related Parameters
The below table provides reference to the code within the Style Sheet template file (*.xsl) for the part-related parameter labels and their dynamically retrieved values. This reference code is useful if you plan to edit an existing Style Sheet template or create your own customized Style Sheet template.
Legend
 Red font in the reference code indicates the beginning and end tags for the section of code associated with part-related information.
 Brown font indicates static text which the label name of the particular parameter. Note that these label names can be edited to suit your requirements by editing just one line of code. That one line of code is indicated in brown color font in the below table.
For example: To change the label “Material” to “Stock Material”, edit the code as follows:
 

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Customized XSL Style sheet Templates 33
 
Original line of Code:
 <td>
 Material
</td>
Edited line of Code:
 <td>
Stock Material
</td >
 
 Blue font indicates dynamic parametric values retrieved from the solid part and assigned to parameter.
Parameter’s Label
within XML Setup Sheet
 
Reference code within Style Sheet template (*.xsl) for the Parameter label and its dynamically retrieved value
 
Company Name
 
 <xsl:for-each select="*">  <xsl:if test="name() = 'rep_CustomInfo'">
<tr> <td>
Company
</td> <td>
 <xsl:value-of select="@CustomInfoCompanyName"/>
</td>
 </xsl:if> 
 
Date/Time
 <xsl:if test="name() = 'rep_CustomInfo'">
<tr> <td>
Date/Time
</td> <td>
 <xsl:value-of select="@CustomInfoDateTime"/>
</td> </tr>
 </xsl:if>
Material
 <xsl:if test="name() = 'rep_WorkPiece'">
<tr> <td>
 Material
</td> <td>
 <xsl:value-of select="@WorkPieceMaterial"/>
</td> </tr>
 </xsl:if>
Stock Size
 <xsl:if test="name() = 'rep_WorkPiece'">
<tr> <td>
Stock Size
</td> <td>
 <xsl:value-of select="@WorkPieceLength"/>,  <xsl:value-of select="@WorkPieceWidth"/>,  <xsl:value-of select="@WorkPieceHeight"/>
</td> </tr>
 </xsl:if>
 Author 
 
 <xsl:if test="name() = 'rep_CustomInfo'">
<tr> <td>
Author 
</td> <td>
 <xsl:value-of select="@CustomInfoAuthor"/>
</td> </tr>
 </xsl:if> 
 

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 34 Customized XSL Style sheet Templates
Keywords
 <xsl:if test="name() = 'rep_CustomInfo'">
<tr> <td>
Keywords
</td> <td>
 <xsl:value-of select="@CustomInfoKeywords"/>
</td> </tr>
 </xsl:if>
Parameter’s
Label within XML Setup Sheet
 
Reference code within Style Sheet template (*.xsl) for the Parameter label and its dynamically retrieved value
 
Comments
 <xsl:if test="name() = 'rep_CustomInfo'">
<tr> <td>
Comments
</td> <td>
 <xsl:value-of select="@CustomInfoComments"/>
</td> </tr>
 </xsl:if>
Title
 <xsl:if test="name() = 'rep_CustomInfo'">
<tr> <td>
Title
</td> <td>
 <xsl:value-of select="@CustomInfoTitle"/>
</td> </tr>
 </xsl:if>  
CNC Machine
 
 <xsl:if test="name() = 'rep_MchParams'">
<tr> <td>
CNC Mach
</td> <td>
 <xsl:value-of select="@MchName"/>
</td> </tr>
 </xsl:if> 
 
Programmer
 <xsl:if test="name() = 'rep_CustomInfo'">
<tr> <td>
Programmer 
</td> <td>
 <xsl:value-of select="@CustomInfoProgrammer"/>
</td> </tr>
 </xsl:if>
Units
 <xsl:if test="name() = 'rep_Doc'">
<tr> <td>
Units
</td> <td>
 <xsl:value-of select="@Unit"/>
</td> </tr>
 </xsl:if>

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Customized XSL Style sheet Templates 35
 
Subject
 <xsl:if test="name() = 'rep_CustomInfo'">
<tr> <td>
Subject
</td> <td>
 <xsl:value-of select="@CustomInfoSubject"/>
</td> </tr>
 </xsl:if>  </xsl:for-each>
Replacing dynamically retrieved values with Static values
While editing/creating Style Sheet templates, you can replace the dynamically retrieved  parametric value with static values wherever required. This is especially useful if the dynamically retrieved values are null values and you wish to assign values to such  parameters.
For example, the dynamically retrieved value displayed for the Parameter ‘Company’ is
usually a null value. You can assign static text string value (for example,
 Dassault Systemes
) by replacing the one line of code as follows:
Original Code within Style Sheet template
<td>
 <xsl:value-of select="@CustomInfoCompanyName"/> 
</td>
Edited Code within Style Sheet template with Static value
<td>
Dassault Systemes
</td>
Setup Info and Machining Time
The below table provides a reference to the code within the Style Sheet template file (*.xsl) for the dynamically retrieved values of Setup Sheet parameters. This reference will be useful if you choose to edit the code for Setup-related parameters within an existing Style Sheet template or when you create a new Style Sheet template.
Legend
 Red font indicates the beginning and end tags for the section of code associated with Setup-related information.
 Blue font indicates dynamic parametric values retrieved from the solid part and assigned to parameter.
Parameter within XML Setup Sheet
 
Reference code within Style Sheet template (*.xsl) for dynamically retrieving the parametric value
 
Setup No.
 
<xsl:if test="name() = 'MillSetupSheetAttr'"> <xsl:for-each select="*"> <xsl:if test="name() = 'rep_SetupAttr'"> <xsl:value-of select="@SetupAttrSetupNo"/>
 
Setup Name
<xsl:value-of select="@SetupAttrSetupName"/>
 
Setup Origin
<xsl:value-of select="@SetupAttrCoordX"/>, <xsl:value-of select="@SetupAttrCoordY"/>, <xsl:value-of select="@SetupAttrCoordZ"/>
 

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 36 Customized XSL Style sheet Templates
Machine Time (Mill)
<xsl:value-of select="@SetupAttrMachTime"/> </xsl:if>
 
Details of the Operations (Mill, Turn)
The next table provides a reference to the code within the Style Sheet template file (*.xsl) for the dynamically retrieved values of Operation parameters. This reference will be useful if you choose to edit the code associated with Operation parameters in an existing Style Sheet template or when you create a new Style Sheet template.
Legend
 Red font in the reference code indicates the beginning and end tags for the section of code associated with Setup-related information.
Parameter within XML Setup Sheet
 
Reference code within Style Sheet template (*.xsl) for dynamically retrieving the parametric value
 
Operation
<xsl:if test="name() = 'MillOperation'"> <xsl:for-each select="*"> <xsl:if test="name() = 'rep_Operation'"> <xsl:value-of select="@OperationName"/> </xsl:if>
 
Tool Station No.
<xsl:if test="name() = 'rep_Tool'"> <xsl:value-of select="@ToolStnNo"/> </xsl:if>
 
Operation Desc
<xsl:if test="name() = 'rep_Operation'"> <xsl:value-of select="@Description"/> </xsl:if>
Tool Description
<xsl:if test="name() = 'rep_Tool'"> <xsl:value-of select="@ToolComment"/> </xsl:if>
Holder Description
<xsl:if test="name() = 'rep_MillHolderLibrary'"> <xsl:value-of select="@HolderComment"/> </xsl:if>
Holder Number
<xsl:if test="name() = 'rep_MillHolderLibrary'"> <xsl:value-of select="@HolderNumber"/> </xsl:if>
Speed (RPM)
<xsl:if test="name() = 'rep_MillOperParams'"> <xsl:value-of select="@MillSpindleSpeed"/> </xsl:if>
Feed
<xsl:if test="name() = 'rep_MillOperParams'"> <xsl:value-of select="@XYFeedRate"/> </xsl:if>
Z Feed Rate
<xsl:if test="name() = 'rep_MillOperParams'"> <xsl:value-of select="@ZFeedRate"/> </xsl:if>
Lead in Type
<xsl:if test="@LeadinType != 'N.A.'"> <xsl:value-of select="@LeadinType"/> </xsl:if>
Lead in Amount
<xsl:if test="@LeadinAmt != 'N.A.'"> <xsl:value-of select="@LeadinAmt"/> </xsl:if>

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Customized XSL Style sheet Templates 37
 
Lead in Amount(%)
<xsl:if test="@LeadinAmtPercent != 'N.A.'"> <xsl:value-of select="@LeadinAmtPercent"/> </xsl:if>
 Additional Lead in Amount
<xsl:if test="@LeadinAdditionalAmt != 'N.A.'"> <xsl:value-of select="@LeadinAdditionalAmt"/> </xsl:if>
Lead in Overlap
<xsl:if test="@LeadinOverlap != 'N.A.'"> <xsl:value-of select="@LeadinOverlap"/> </xsl:if>
Parameter within XML Setup Sheet
 
Reference code within Style Sheet template (*.xsl) for dynamically retrieving the parametric value
 
Lead in Overlap(%)
<xsl:if test="@LeadinOverlapPercent != 'N.A.'"> <xsl:value-of select="@LeadinOverlapPercent"/> </xsl:if>
 Additional Lead in Overlap
<xsl:if test="@LeadinOverlapAdditionalAmt != 'N.A.'"> <xsl:value-of select="@LeadinOverlapAdditionalAmt"/> </xsl:if>
Lead in Arc Radius
<xsl:if test="@LeadinArcRadius != 'N.A.'"> <xsl:value-of select="@LeadinArcRadius"/> </xsl:if>
Lead in Arc Radius(%)
<xsl:if test="@LeadinArcRadiusPercent != 'N.A.'"> <xsl:value-of select="@LeadinArcRadiusPercent"/> </xsl:if>
 Additional Lead in Arc Radius
<xsl:if test="@LeadinArcRadiusAdditionalAmt != 'N.A.'"> <xsl:value-of select="@LeadinArcRadiusAdditionalAmt"/> </xsl:if>
Lead in Arc Angle
<xsl:if test="@LeadinArcAngle != 'N.A.'"> <xsl:value-of select="@LeadinArcAngle"/> </xsl:if>
Lead out Type
<xsl:if test="@LeadoutType != 'N.A.'"> <xsl:value-of select="@LeadoutType"/> </xsl:if>
Lead out Amount
<xsl:if test="@LeadOutAmt != 'N.A.'"> <xsl:value-of select="@LeadOutAmt"/> </xsl:if>
Lead out Amount(%)
<xsl:if test="@LeadoutAmtPercent != 'N.A.'"> <xsl:value-of select="@LeadoutAmtPercent"/> </xsl:if>
 Additional Lead out  Amount
<xsl:if test="@LeadoutAdditionalAmt != 'N.A.'"> <xsl:value-of select="@LeadoutAdditionalAmt"/> </xsl:if>
Lead out Overlap
<xsl:if test="@LeadoutOverlap != 'N.A.'"> <xsl:value-of select="@LeadoutOverlap"/> </xsl:if>

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
Setup Sheets Tutorial 38 Customized XSL Style sheet Templates
Lead out Overlap(%)
<xsl:if test="@LeadoutOverlapPercent != 'N.A.'"> <xsl:value-of select="@LeadoutOverlapPercent"/> </xsl:if>
 Additional Lead out Overlap
<xsl:if test="@LeadoutOverlapAdditionalAmt != 'N.A.'"> <xsl:value-of select="@LeadoutOverlapAdditionalAmt"/> </xsl:if>
Lead out Arc Radius
<xsl:if test="@LeadoutArcRadius != 'N.A.'"> <xsl:value-of select="@LeadoutArcRadius"/> </xsl:if>
Parameter within XML Setup Sheet
 
Reference code within Style Sheet template (*.xsl) for dynamically retrieving the parametric value
 
Lead out Arc Radius(%)
<xsl:if test="@LeadoutArcRadiusPercent != 'N.A.'"> <xsl:value-of select="@LeadoutArcRadiusPercent"/> </xsl:if>
 Additional Lead out Arc Radius
<xsl:if test="@LeadoutArcRadiusAdditionalAmt != 'N.A.'"> <xsl:value-of select="@LeadoutArcRadiusAdditionalAmt"/> </xsl:if>
Lead out Arc Angle
<xsl:if test="@LeadoutArcAngle != 'N.A.'"> <xsl:value-of select="@LeadoutArcAngle"/> </xsl:if>
Lead in clearance
<xsl:if test="@LeadinClearance != 'N.A.'"> <xsl:value-of select="@LeadinClearance"/> </xsl:if>
Lead in clearance(%)
<xsl:if test="@LeadinClearancePercent != 'N.A.'"> <xsl:value-of select="@LeadinClearancePercent"/> </xsl:if>
 Additional Lead in clearance
<xsl:if test="@LeadinClearanceAdditionalAmt != 'N.A.'"> <xsl:value-of select="@LeadinClearanceAdditionalAmt"/> </xsl:if>
Lead out clearance
<xsl:if test="@LeadoutClearance != 'N.A.'"> <xsl:value-of select="@LeadoutClearance"/> </xsl:if>
Lead out clearance(%)
<xsl:if test="@LeadoutClearancePercent != 'N.A.'"> <xsl:value-of select="@LeadoutClearancePercent"/> </xsl:if>
 Additional Lead out clearance
<xsl:if test="@LeadoutClearanceAdditionalAmt != 'N.A.'"> <xsl:value-of select="@LeadoutClearanceAdditionalAmt"/> </xsl:if>
Pass clearance
<xsl:if test="@PassClearance != 'N.A.'"> <xsl:value-of select="@PassClearance"/> </xsl:if>

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Customized XSL Style sheet Templates 39
 
Pass clearance(%)
<xsl:if test="@PassClearancePercent != 'N.A.'"> <xsl:value-of select="@PassClearancePercent"/> </xsl:if>
 Additional Pass clearance
<xsl:if test="@PassClearanceAdditionalAmt != 'N.A.'"> <xsl:value-of select="@PassClearanceAdditionalAmt"/> </xsl:if>
Mach Depth
<xsl:if test="name() = 'rep_Relation'"> <xsl:value-of select="@RelationMachDepth"/> </xsl:if>
Parameter within XML Setup Sheet
 
Reference code within Style Sheet template (*.xsl) for dynamically retrieving the parametric value
 
Bottom Allowance
<xsl:if test="name() = 'rep_MillOperParams'"> <xsl:if test="@BottomAllowance != 'N.A.'"> <xsl:value-of select="@BottomAllowance"/> </xsl:if> </xsl:if>
Side Allowance
<xsl:if test="name() = 'rep_MillOperParams'"> <xsl:if test="@SideAllowance != 'N.A.'"> <xsl:value-of select="@SideAllowance"/> </xsl:if> </xsl:if>
Tool Protrusion Length
<xsl:if test="name() = 'rep_MillOperParams'"> <xsl:value-of select="@MinToolProtusionLength"/> </xsl:if>
Minimum X Maximum X Minimum Y Maximum Y Minimum Z Maximum Z
<xsl:if test="name() = 'rep_Relation'"> <xsl:value-of select="@MinX"/> <xsl:value-of select="@MaxX"/> <xsl:value-of select="@MinY"/> <xsl:value-of select="@MaxY"/> <xsl:value-of select="@MinZ"/> <xsl:value-of select="@MaxZ"/> </xsl:if>
Tlp Len
<xsl:if test="name() = 'rep_Relation'"> <xsl:value-of select="@RelationTlpLen"/> </xsl:if>
Time (MIN)
<xsl:if test="name() = 'rep_Relation'"> <xsl:value-of select="@RelationTime"/> </xsl:if> </xsl:if>

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

10
 
Setup Sheets Tutorial 40 Customized XSL Style sheet Templates
WIP Images and Tool Images
The next table provides a reference to the code within the Style Sheet template file (*.xsl) for the inserting images of WIP and tool used for each operation. This reference will be useful if you choose to edit the display code for images within an existing Style Sheet template or when you create a new Style Sheet template.
Parameter within XML Setup Sheet
 
Reference code within Style Sheet template (*.xsl) for dynamically retrieving the parametric value
 
Image of WIP
<xsl:for-each select="*"> <xsl:if test="name() = 'rep_Operation'"> <xsl:variable name = "imageUrl"> <xsl:value-of select="@ImagePath"/> </xsl:variable> <img src= "{$imageUrl}" WIDTH="400" HEIGHT="400"> </img> </xsl:if> </xsl:for-each>
Image of Tool
<xsl:for-each select="*"> <xsl:if test="name() = 'rep_ToolImagePath'"> <xsl:variable name = "imageUrl"> <xsl:value-of select="@ToolImagePath"/> </xsl:variable> <xsl:if test="$imageUrl !=''"> <img src= "{$imageUrl}" WIDTH="75" HEIGHT="150" align="Top" hspace="100"> </img> </xsl:if> </xsl:if> </xsl:for-each>
Note: You can also insert code within the Style Sheet template to display user-defined images.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

9
 
 Setup Sheet Tutorial Legal Notices 41
 
L
EGAL
N
OTICES
 
Patent Notices
 SOLIDWORKS® 3D mechanical CAD and/or Simulation software is protected by U.S. Patents 6,219,049; 6,219,055; 6,611,725; 6,844,877; 6,898,560; 6,906,712; 7,079,990; 7,477,262; 7,558,705; 7,571,079; 7,590,497; 7,643,027; 7,672,822; 7,688,318; 7,694,238; 7,853,940; 8,305,376; 8,581,902; 8,817,028; 8,910,078; 9,129,083; 9,153,072; 9,262,863; 9,465,894; and foreign patents, (e.g., EP 1,116,190 B1 and JP 3,517,643).
 eDrawings® software is protected by U.S. Patent 7,184,044; U.S. Patent 7,502,027; and Canadian Patent 2,318,706.
 U.S. and foreign patents pending.
Product Names for SOLIDWORKS Products and Services
SOLIDWORKS 2017, SOLIDWORKS Standard, SOLIDWORKS Professional, SOLIDWORKS Premium, SOLIDWORKS PDM Professional, SOLIDWORKS PDM Standard, SOLIDWORKS Workgroup PDM, SOLIDWORKS Simulation Standard, SOLIDWORKS Simulation Professional, SOLIDWORKS Simulation Premium SOLIDWORKS Flow Simulation, eDrawings Viewer, eDrawings Professional, SOLIDWORKS Sustainability, SOLIDWORKS Plastics, SOLIDWORKS Electrical Schematic Standard, SOLIDWORKS Electrical Schematic Professional, SOLIDWORKS Electrical 3D, SOLIDWORKS Electrical Professional, CircuitWorks, SOLIDWORKS Composer, SOLIDWORKS Inspection, SOLIDWORKS MBD, SOLIDWORKS PCB powered by Altium, SOLIDWORKS PCB Connector powered by Altium, and SOLIDWORKS Visualization are product names of DS SolidWorks.
COMMERCIAL COMPUTER SOFTWARE - PROPRIETARY
The Software is a “commercial item” as that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of “commercial computer software” and “commercial software documentation” as such terms are used
in 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Government (a) for acquisition by or on behalf of civilian agencies, consistent with the policy set forth in 48 C.F.R. 12.212; or (b) for acquisition by or on behalf of units of the Department of Defense, consistent with the policies set forth in 48 C.F.R. 227.7202-1 (JUN 1995) and 227.7202-4 (JUN 1995) In the event that you receive a request from any agency of the U.S. Government to provide Software with rights beyond those set forth above, you will notify DS SolidWorks of the scope of the request and DS SolidWorks will have five (5) business days to, in its sole discretion, accept or reject such request. Contractor/Manufacturer: Dassault Systemes SolidWorks Corporation, 175 Wyman Street, Waltham, Massachusetts 02451 USA.
Copyright Notices for SOLIDWORKS Standard, Premium, Professional, and Education Products
 Portions of this software © 1986-2016 Siemens Product Lifecycle Management Software Inc. All rights reserved.
 This work contains the following software owned by Siemens Industry Software Limited: D-Cubed® 2D DCM © 2016. Siemens Industry Software Limited. All Rights Reserved. D-Cubed® 3D DCM © 2016. Siemens Industry Software Limited. All Rights Reserved. D-Cubed® PGM © 2016. Siemens Industry Software Limited. All Rights Reserved. D-Cubed® CDM © 2016. Siemens Industry Software Limited. All Rights Reserved. D-Cubed® AEM © 2016. Siemens Industry Software Limited. All Rights Reserved.
 Portions of this software © 1998-2016 Geometric Ltd.
 
Portions of this software incorporate PhysX™ by NV
IDIA 2006-2010.
 Portions of this software © 2001-2016 Luxology, LLC. All rights reserved, patents pending.
 Portions of this software © 2007-2016 DriveWorks Ltd.
 © 2011, Microsoft Corporation. All rights reserved.

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

1
 
Setup Sheets Tutorial 42 Legal Notices
 Includes Adobe
®
 PDF Library technology Copyright 1984-2016 Adobe Systems Inc. and its licensors. All rights reserved. Protected by U.S. Patents 5,929,866; 5,943,063; 6,289,364; 6,563,502; 6,639,593; 6,754,382;
 Patents Pending.
Copyright Notices for SOLIDWORKS Simulation Products
 Portions of this software ©
 
2008 Solversoft Corporation.
 PCGLSS ©
 
1992-2016 Computational Applications and System Integration, Inc. All rights reserved.
Copyright Notices for SOLIDWORKS PDM Professional Product
 Outside In
®
 
Viewer Technology, ©
 
1992-2012 Oracle
 ©
 
2011, Microsoft Corporation. All rights reserved.
Copyright Notices for eDrawings Products
 Portions of this software ©
 
2000-2014 Tech Soft 3D.
 Portions of this software ©
 
1995-1998 Jean-Loup Gailly and Mark Adler.
 Portions of this software ©
 
1998-2001 3Dconnexion.
 Portions of this software ©
 
1998-2014 Open Design Alliance. All rights reserved.
 Portions of this software ©
 
1995-2012 Spatial Corporation.
 Portions of eDrawings
®
 
for iPad
®
 
copyright ©
 
1996-1999 Silicon Graphics Systems, Inc.
 Portions of eDrawings
®
for iPad
®
 
copyright ©
 
2003
 –
 2005 Apple Computer Inc. The eDrawings
®
 
for Windows
®
 
software is based in part on the work of the Independent JPEG Group.
Copyright Notices for SOLIDWORKS PCB Products
 
Portions of this software ©
 
2016 Altium Limited.
 

Unlock this document

Upload a document to download this document or subscribe to read and download.

or

Unlock this page after an ad

2

Reward Your Curiosity

Everything you want to read.
Anytime. Anywhere. Any device.
No Commitment. Cancel anytime.
576648e32a3d8b82ca71961b7a986505