Converters and Interfaces
Converters and Interfaces
VERICUT Converters
Input File Name of the file containing the CAD data to convert (CATIA V4, CATIA V5, STEP, SAT). Output File Name of the file to receive converted geometry. Output File Type Type of output file to create. Options are: VERICUT or STL. Output File Format Format of the output file. Options are: BINARY or ASCII. Normal Direction The direction in which surface normal vectors point, as viewed in the CAD system. Feature only applicable to VERICUT output file types. Options: OUTWARDor INWARD. Tolerance Specifies the amount of chordal deviation allowed in 3-D space from the CAD data when creating the converted surface. The converted surface is approximated using "facets", or triangles. Process Processes (converts) the CAD data according to the current window settings. Close Closes the CAD Model Converter window. Help Displays this Help page. (You can also use the F1 key to display this Help page.)
NOTE: CAD model data can also be converted via batch processing.
To convert CAD model data to VERICUT or STL model files: 1. Access the CAD Model Converter window: in VERICUT select File menu > Convert > CAD Model. You can also run this converter outside of VERICUT via the "cad2v" command file located in the CGTech "commands" directory, under the directory representing your computer type. 2. Type the /path /filename in the text field, or use the Browse button and use the file selection window that displays to select the Input File containing the CAD model data to convert. 3. Type the /path /filename in the text field, or use the Browse button and use the file selection window that displays to select the Output File to receive converted geometry. 4. Choose the Output File Type and Output Format Type in which to write the converted geometry. 5. If the Output File Type = VERICUT, choose the Normal Direction in which surface normal vectors point, as viewed in the CAD system. 6. Click Process.
Tip: When expecting to use CAD model data for models in VERICUT, ensure that
surface normals point uni-directionally outwards in the CAD model prior to outputting the model data.
Converters and CAD/CAM Interfaces 130: Offset curve 140: Offset surface 142: Curve on parametric surface 144: Trimmed parametric surface 150: Block 152: Right angular wedge 154: Right circular cylinder 156: Right circular cone frustum 158: Sphere 160: Torus 162: Solid of revolution 164: Solid of linear extrusion 168: Ellipsoid
Tips:
1. When expecting to use IGES data for solid models in VERICUT, ensure that surface normals point unidirectionally outwards in the CAD model prior to outputting the IGES data. 2. The Stock Consistency Check option is recommended for use with converted IGES models used to represent a stock workpiece.
Converters and CAD/CAM Interfaces Input File Name of the file containing the IGES data to convert. Output File Name of the file to receive converted geometry. Output File Type Type of output file to create. Options are: VERICUT or STL. Output File Format Format of the output file. Options are: BINARY or ASCII. Normal Direction The direction in which surface normal vectors point, as viewed in the CAD system. Feature only applicable to VERICUT output file types. Options: OUTWARD or INWARD. Surface Input Mode Controls which IGES surfaces to convert. Options: ALL Convert all surfaces. With this mode, base surfaces associated with trimmed surfaces are only converted as trimmed surfaces; not in addition to trimmed surfaces. BASE Convert base surfaces only. TRIMMED Convert trimmed surfaces only.
Tolerance Specifies the amount of chordal deviation allowed in 3-D space from the IGES surface when creating the converted surface. The converted surface is approximated using "facets", or triangles.
Process Processes (converts) the IGES data according to the current window settings. Converted geometry is written to the Output file. Error and informational messages from the process are sent to the IGES Converter window message area, and to a log file named "iges2v.log" created in the working directory. Summary Prints a summary of the Input file contents to the IGES Converter window message area. Clear Clears the IGES Converter window message area. Close Closes the IGES Converter window. Help Displays this Help page. (You can also use the F1 key to display this Help page.)
Tips:
1. The IGES Converter does not convert 2-D geometry data, since this data is useless in VERICUT. Only 3-D surfaces and solids, and their supporting geometry is converted.
10
Converters and CAD/CAM Interfaces 2. When expecting to use IGES data as solid models in VERICUT, ensure that surface normals point uni-directionally outwards in the CAD model prior to outputting the IGES data.
11
12
Input File Name of the file containing the surface normals to repair. Output File Name of the file to receive repaired geometry data. When a model file containing multiple solids is processed, multiple output files are created-one per solid. Each file output has the base file name specified by the Output File field, with a unique number appended to it incremented by 1. Input File Type Type of input file to read. Options are: VERICUT or STL. Output File Type Same as Input File Type, except is applicable to the output file. 13
Converters and CAD/CAM Interfaces Output File Format Format of the output file. Options are: BINARY or ASCII. Process Processes (repairs) the model file data according to the current window settings. Repaired geometry is written to the Output File. Error and informational messages from the process are sent to the PolyFix Converter window message area, and to a log file named "polyfix.log" created in the working directory. Clear Clears the PolyFix Converter window message area. Close Closes the PolyFix Converter window. Help Displays this Help page. (You can also use the F1 key to display this Help page.)
14
Tips:
1. PolyFix-corrected model files can be used in VERICUT as solid stock, fixture, design, or NC machine shapes. It is a one time effort to repair an inconsistent model file. 2. After repair, use the "Outward" normals option when referring to the repaired model file in VERICUT.
15
16
17
Converters and CAD/CAM Interfaces Input File Name of the file containing the surface data to create a solid from. Output File Name of the file to receive converted geometry. Input File Type Type of input file to read. Options are: VERICUT or STL. Output File Type Same as Input File Type, except applicable to the output file. Output File Format Format of the output file. Options are: BINARY or ASCII. Tolerance Specifies the tolerance used when offsetting and projecting the surface(s) to create a solid model. Offset Distance and direction in which to offset the design surface, as applied in the Z direction. For example: ".100" applies an offset of .100 to the surface in the Z+ direction. A value like "-.100" applies the offset in the Z- direction, effectively "shrinking" the model. Base Location Specifies the Z value of the plane to become the base of the solid model. The surface is projected along the Z-axis to this plane. Project Rectangle When active, expands surface edges to create a rectangular base. The size of the rectangular base is determined by the X-Y bounding region of the surface data.
Transformation Matrix Transforms the solid model. Use this feature is used when Offset and Base Location values were entered with respect to a tool path coordinate system instead of the model coordinate system. Matrix values correspond to MSYS record values that appear in a NX CLS file: dx,dy,dz,Ivx,Jvx,Kvx,Ivy,Jvy,Kvy where "dx,dy,dz" specify the distance to the local coordinate system origin, and "Ivx,Jvx,Kvx, Ivy,Jvy,Kvy" specify the orientation of the local coordinate system X and Y axis vectors with respect to the surface model coordinate system. Process Processes (converts) the surface data according to the current window settings. Converted geometry is written to the Output File. Error and informational messages from the process are sent to the Surface to Solid Converter window message area. Clear Clears the Surface to Solid Converter window message area. Close Closes the Surface to Solid Converter window. Help Displays this Help page. (You can also use the F1 key to display this Help page. 18
NOTE: Surface data can also be converted to solid models via batch processing.
To convert surface data to a solid model file: 1. Access the Surface to Solid Converter window: in VERICUT select File menu > Convert > Surface to Solid. You can also run this converter outside of VERICUT via the "sur2stk" command file located in the CGTech "commands" directory, under the directory representing your computer type. 2. Type the /path /filename in the text field, or use the Browse button and use the file selection window that displays to select the Input File containing the IGES data to convert. 3. Type the /path /filename in the text field, or use the Browse button and use the file selection window that displays to select the Output File to receive converted geometry. 4. Choose the Input File Type appropriate for the surface model being converted to a solid. 5. Choose the Output File Type and Output Format Type in which to write the solid model geometry. 6. Enter the Tolerance for offsetting and projecting the surface to create the solid. 7. Enter any Offset amount to apply to the surface, for example to add stock for machining on the converted solid model. 8. Enter the Base Location - Z value of the plane to project the surface to. 9. To expand the surface edges to create a rectangular base, click Project Rectangle. 10. To transform the solid model, enter 9 values separated by spaces in the Transformation Matrix field. Format: dx,dy,dz,Ivx,Jvx,Kvx,Ivy,Jvy,Kvy where "dx,dy,dz" specify the distance to the local coordinate system origin, and "Ivx,Jvx,Kvx, Ivy,Jvy,Kvy" specify the orientation of the local coordinate system X and Y axis vectors with respect to the surface model coordinate system.
Tip: Matrix values correspond to MSYS record values that appear in a NX CLS
file. 11. Click Process.
19
Converters and CAD/CAM Interfaces Error and informational messages from the process are sent to the Surface to Solid Converter window message area.
20
21
Tip: When expecting to use VDA data for solid models in VERICUT, ensure that
surface normals all point outwards in the CAD model prior to outputting the VDA data.
Input File Name of the file containing the VDA data to convert. Output File Name of the file to receive converted geometry. Output File Type Type of output file to create. Options are: VERICUT, STL or POINT (Design Points file). The VDA data elements that are converted depend on the type of file being generated. 22
Converters and CAD/CAM Interfaces Output File Format Format of the output file. Options are: BINARY or ASCII. Option not applicable to Point output file types. Normal Direction The direction in which surface normal vectors point, as viewed in the CAD system. Feature only applicable to VERICUT output file types. Options: OUTWARD or INWARD. Tolerance Specifies the amount of chordal deviation allowed in 3-D space from the VDA surface when creating the converted surface. The converted surface is approximated using "facets", or triangles. This option not applicable to POINT Output File Type. Process Processes (converts) the VDA data according to the current window settings. Converted geometry is written to the Output File. Error and informational messages from the process are sent to the VDA Converter window message area, and to a log file named "vda.log" created in the working directory. Clear Clears the VDA Converter window message area. Close Closes the VDA Converter window. Help Displays this Help page. (You can also use the F1 key to display this Help page.)
23
Tip: When expecting to use VDA data for solid models in VERICUT, ensure that
surface normals point unidirectionally outwards in the CAD model prior to outputting the VDA data.
24
Input File Name of the file containing the binary CL data to convert. Output File Name of the file to receive converted APT tool path records.
25
Converters and CAD/CAM Interfaces APT Table File Name of the APT Table file containing information for converting binary APT data into ASCII APT tool path records. Input File Type Type of binary input file to read. Options are: IBM Mainframe APT (APT/360, APT/370, APT/AC, or MDCAPT) Workstation IBM APT Workstation CATIA APT VAX APT Minimum Cutter Height Default height used when cutter height is not defined in the binary APT data. Output Circles When active, outputs CIRCLE records for circular motion. Clearing this check box causes chordal GOTO points to be output representing each circle. Process Processes (converts) the binary CL data according to the current window settings. Converted tool path records are written to the Output File. Error and informational messages from the process are sent to the Binary CL Converter window message area. Clear Clears the Binary CL Converter window message area. Close Closes the Binary CL Converter window. Help Displays this Help page. (You can also use the F1 key to display this Help page.)
26
NOTE: Binary APT data can also be converted via batch processing.
To convert binary CL data to ASCII APT tool path files: 1. Access the Binary CL Converter window: in VERICUT select File menu > Convert > Binary CL. You can also run this converter outside of VERICUT via the "bincl2v" command file located in the CGTech "commands" directory, under the directory representing your computer type. 2. Type the /path /filename in the text field, or use the Browse button and use the file selection window that displays to select the Input File containing the binary CL data to convert. 3. Type the /path /filename in the text field, or use the Browse button and use the file selection window that displays to select the Output File to receive converted APT tool path records. 4. If required, Type the /path /filename in the text field, or use the Browse button and use the file selection window that displays to select the APT Table File containing the desired blocking factor and binary data to APT word table. 5. Choose the Input File Type that best describes the source of the binary CL data. 6. If cutter height is not specified in the binary CL data, enter a Minimum Cutter Height value. 7. By default, circular motions will be output as CIRCLE records. To output GOTOs instead of CIRCLEs, clear the Output Circles checkbox. 8. Click Process. Error and informational messages from the process are sent to the Binary CL Converter window message area. The APT CL-record number (not ISN) is placed in columns 73 through 80 on each output record of the tool path. This number can be useful when using the History function to identify tool path records responsible for errors and other machine cuts. (Ref. Analysis menu > X-Caliper in the VERICUT Help section, in the CGTech Help Library)
Tips:
1. If the output APT tool path file contains incorrect, little, or no APT record data, verify that the blocking factor is correct for the binary data. Typical blocking factors are: 512, 3228, 4628, 15476.
27
Converters and CAD/CAM Interfaces 2. If the output APT tool path file has major or minor words other than expected, try editing the APT Table file to change the "Word" output for a specific APT class/subclass.
28
CAD/CAM Interfaces
29
30
31
32
33
When VERICUT is run from CATIA, the view orientation is the same as it was in CATIA. Both application windows are available for you to work in at the same time. For information on errors encountered while operating CATV/VERICUT, visit the VERICUT Users Forum or contact CGTech technical support via our website, just click on the support link.
34
35
NOTE: The AXIS must be selected before CUTTER, SHANK or HOLDER geometry.
4. Click CUTTER, and then select 2-D geometry (lines and circles only) to represent the cutting portion of the tool. The figure below illustrates correct and incorrect examples of selecting tool profile geometry.
5. (Optional) Click SHANK, and then select the shank profile geometry (lines and circles). 6. (Optional) Click HOLDER, and then select the tool holder profile geometry (lines and circles).
36
Converters and CAD/CAM Interfaces After selecting tool geometry, use the CATV TRANSFER function to export the selected CATIA geometry.
37
Tip: If "Vector length too small" is reported during an import operation, try reducing the
CATIA "Intersection Projection" geometric standard value (e.g. .001 -> .0000001), then retry.
38
39
40
Converters and CAD/CAM Interfaces CATIA notifies you when the transfer process is finished with a message similar to "TRANSFER COMPLETE". After transferring CATIA data, use the VERICUT or BATCH functions to run VERICUT interactively or in batch mode.
41
42
43
44
Converters and CAD/CAM Interfaces can be reviewed by re-selecting the corresponding PART option. Geometry is unselected by selecting it again. Unselected entities return to their original color in CATIA.
NOTES:
1. It is not recommended to use the CATIA "MULTI-SELECT" feature because hidden (invisible) geometry may also be selected. 2. Exact solids (SOLIDE, or "*SOLE") transfer much more reliably than Mockup solids (SOLIDM, or "*SOLM"). Try converting a Mockup solid to an Exact solid before transferring to VERICUT. 3. Non-solid models composed of surfaces, faces and skins must form a watertight skin to be useful as solid models in VERICUT. If gaps or overlaps exist in CATIA geometry, the resulting solid may have holes, or portions (possible all) of the model may fail. TOOL Location: GEOMETRY menu > TOOL This function controls how selected CATIA geometry will be used in VERICUT as 2-D tool profile descriptions. When selected tool geometry is transferred to VERICUT, a Tool Library file is created containing the tool assemblies. CATV automatically assigns tool IDs (pocket numbers) in sequential order of transfer. For example, the first tool assembly transferred receives Tool Library ID "1". The next tool transferred receives ID "2", and so on. To use the transferred tools in the simulation, VERICUT must be configured to access the tools in the Tool Library. Selectable TOOL geometry includes: 2-D lines and circles. (Composite curves are NOT selectable, even when composed of lines and circles.) Tool geometry must be defined in CATIA in "SPACE" mode (not "2D-DRAW" mode), and drawn in a plane parallel to either the XY, ZX, or YZ plane of the current axis system (e.g. AXS1). When multiple axis systems are defined, verify the current axis system contains the tool geometry to select. Options: AXIS Click this option to select a line representing the tool axis. When selecting geometry in the XY plane, the axis line must be parallel to the Y-axis. When tool geometry is in the ZX or YZ planes, the axis line must be parallel to the Z-axis.
45
Converters and CAD/CAM Interfaces SHANK Click this option to select geometry to represent the profile of the noncutting shank. HOLDER Click this option to select geometry to represent the profile of the tool holder; also considered to be non-cutting. About selecting tool geometry In general, click the desired option then select corresponding CATIA geometry. Selection of tool geometry begins by choosing a line to represent the tool AXIS (centerline), followed by selecting the profiles of up to three components in a tool assembly: CUTTER, SHANK, and HOLDER. CATIA highlights selected geometry. Selections for each of the tool geometry options can be reviewed by re-selecting the corresponding TOOL option. Geometry is unselected by selecting it again. Unselected entities return to their original color in CATIA. Selection of a profile begins at the tool axis. Select lines and arcs in connected order. (See below) Selection can be from the bottom of the profile towards the top, or from the top downwards. If a line or arc is selected out of order, unselect all and start over.
46
NOTE: The tool paths must first be processed from the CATIA model using the
CATUTIL "CATNC" utility before they can be selected. When an option is selected, a TOOL PATH window shows the location(s) of selectable tool path files. Use the left mouse button to select the desired directory in the window. Another window is displayed listing the APT SOURCE or CLFILE files in the selected directory, depending on the option selected. Use the left mouse button to select the desired tool path(s). Multiple tool paths are concatenated during transfer in the order of selection into one tool path file. Options: APT CLF Click this option to select one or more ASCII APT SOURCE tool paths ("*.aptsource"). CAT CLF Click this option to select one or more binary CATIA CLFILE tool paths ("*.clfile"). Binary tool paths are automatically converted by a Binary APT Converter to its ASCII APT equivalent during the transfer process.
47
File name (VERICUT file type): PROJ.stk (VERICUT model file) or PROJ_stk.stl (STL model file) PROJ.fxt (VERICUT model file) or PROJ_fxt.stl (STL model file) PROJ.dsn (VERICUT model file) or PROJ_dsn.stl (STL model file) PROJ.tls (Tool Library file) PROJ.tp (ASCII APT toolpath file) PROJ.tp (converted ASCII APT toolpath file)
Tool geometry APT source tool path (.aptsource) CATIA binary CL-file tool path (.clfile)
48
MAXIMUM SAG Specifies the chordal deviation tolerance for outputting part geometry. The default value corresponds to the CATIA "INDENTICAL CURVES" model standards tolerance. Small values result in more accurate, but larger geometry files that require more system resources. MAXIMUM DISTANCE Specifies the maximum distance in which part geometry selected for transfer will be processed. The default value corresponds to the CATIA "INFINITY" model standards tolerance. This value rarely affects the quality of transferred models and does not typically require modification. If modified, it is recommended to specify a value that is as large as possible, e.g. 99999999. FILE TYPE Specifies the type (VERICUT or STL) of part geometry model files output from a transfer process. Note that binary VERICUT Model files are platform specific, and are usable only on the type of computer on which they were created. FILE FORMAT Specifies the format (ASCII or BINARY) in which part geometry model files are output. Binary files are recommended because they process faster and more efficiently than an ASCII equivalent. NORMAL DIRECTION Identifies the CATIA-defined surface normal direction relative to the surface of part geometry (INWARD, OUTWARD, or INCONSISTENT). This feature is applicable only to part geometry transferred via FILE TYPE=VERICUT (see above). Models with inconsistent normals require significantly more processing time and computer resources than those with consistent inward or outward-pointing normals. For best performance, it is recommended to orient inconsistent normals in CATIA to be outward pointing. AXES SYSTEM Specifies the coordinate system, or "AXS" system, in which part geometry is transferred. Options: REFERENCE transfers part geometry with respect to the CATIA reference coordinate system "AXS1". When used, CATV automatically sets VERICUT Process Matrix=Yes to align the CATIA tool paths and the models. CURRENT transfers part geometry with respect to the current work coordinate system. When used, CATIA models and tool paths are not automatically aligned, and may require orientation in VERICUT. TRANSFER Controls what selected CATIA data is transferred. You can transfer all selected data at once, or any single data type. VERICUT OUTPATH Uneditable data field showing the directory in which files created during the transfer process will be saved. To change this directory, use the OUTPATH function.
49
Converters and CAD/CAM Interfaces CLFILE INPUT PATH Uneditable data field showing the directory in which selected tool path files reside. If the directory shown is not as expected, use the TOOLPATH menu to select tool paths from the desired directory. OUTPATH Location: PROCESS menu > OUTPATH This function sets the directory where VERICUT files generated by CATV will be stored. As installed with no alterations, CATV only shows the present working and home directories. To add directories to this list, edit the CATIA.dcls file as described under "Installing the CATIA-to-VERICUT Interface (CATV)". VERICUT Location: PROCESS menu > VERICUT This function runs VERICUT from CATIA for interactive use. Assuming you previously transferred the necessary CATIA data (part/tool geometry, tool paths, etc.), VERICUT is automatically configured to use the transferred CATIA data. Even the view is the same as it was in CATIA. All that is left to do is press Play to End ( the simulation. ) in VERICUT to start
CATIA transfers control to the VERICUT window, however, CATIA can still be accessed by iconifying or minimizing the VERICUT window. When VERICUT is exited, control is returned to CATIA. BATCH Location: PROCESS menu > BATCH This function uses the "batchp" command line option to run VERICUT unattended in the background. When the simulation is finished, the VERICUT window "pops open" to show you the results. Batch allows the user to continue working in CATIA while VERICUT processes the tool path.
50
NOTE: This example assumes VERICUT sample files have been installed ("samples"
directory in your VERICUT installation). Example Steps: Run CATIA with CATV 1. Access CATIA with CATV via the usual means. For example, in a terminal window type "catv". After a few seconds, the CATIA window appears. 2. Select COLD ST (cold start) Open the "CATVSAMP" sample CATIA model supplied by CGTech 1. Press <Enter> when "CATIA NEWS" window displays. 2. Close the "Prism" window. 3. Close the "Manage" window. 4. Select the "SOLIDE" menu option. 5. Select the "File" menu option. 6. Press <Enter> to expose the list of available CATIA model directories. 7. Select the "CATV_SAMPLES" model directory, press <Enter> to expose the list of available CATIA model files. 8. Select the "CATVSAMP" model file. The sample CATIA model is loaded. Access the CATV menu 1. Select the first "File" menu in the list. 2. Select the "CATV" choice. Select CATIA geometry to be stock, fixture, and design models 1. Select GEOMETRY menu > PART. 2. Click STOCK, and then select the "STOCK VOLUME" label. The stock part geometry is selected. 3. Click FIXTURE, and then select the "FIXTURE BASE VOLUME" and the 4 "CLAMP" labels. 4. Click DESIGN, and then select then "DESIGN VOLUME" label.
51
Converters and CAD/CAM Interfaces Select the CATIA tool path to simulate 1. Select the TOOLPATH menu > APT CLF. 2. Select the "CATV_SAMPLES" tool path directory. 3. Select "CATVSMP3" (3-axis tool path file) or "CATVSAMP5" (5-axis tool path file). 4. "YES" to approve selection. Transfer the selected CATIA data to VERICUT 1. Select the PROCESS menu > TRANSFER. 2. By default, the TRANSFER window is set to transfer all selected CATIA data. 3. "YES" to approve selection, and begin the transfer process. 4. A message similar to "TRANSFER COMPLETE" indicates the data has been transferred. Run VERICUT and perform the tool path simulation 1. Select VERICUT 2. Select "Yes" to Run VERICUT. 3. In VERICUT, press Play to End ( ) to start the simulation.
An error message similar to "SET ACCESS NOT ALLOWED" indicates the directory from which CATV has been executed does not have write permission for you. Exit the CATIA/CATV session, change directories to one that files can be written to, then reexecute CATIA/CATV and redo the steps in this session. Use VERICUT's "AUTO-DIFF" function to check for gouges and excess material Check for gouges: 1. Select Analysis menu > AUTO-DIFF. 2. By default, AUTO-DIFF will identify gouges deeper than .015". 3. Press Compare - VERICUT displays material gouged in error by the tool path. Check for excess material: 1. On the Settings tab, choose Comparison Type=Excess. 2. Press Compare - VERICUT displays excess material greater than .015" that was left by the tool path. Exit VERICUT 1. From the VERICUT File menu, select Exit. 2. "Save changes to usr file" prompt, select No. Congratulations on completing your first CATV session! This example provided experience using the CATIA/CATV/VERICUT system and interacting with CATV using standard CATIA user actions. VERICUT was used to display CATIA geometry and 52
Converters and CAD/CAM Interfaces simulate the cutting action of an APT source tool path. VERICUT's AUTO-DIFF function identified errors in the tool path responsible for gouging the expected finished part, and leaving too much excess material. If left uncorrected, this tool path will probably produce a scrap part.
53
54
55
56
CATIA can have more than one CATProcess file open at once. CATV is not aware when you switch between files in CATIA. The "Update" button forces the program to refresh the interface content from the currently active CATProcess file. If the active CATIA file is not a CATProcess (it could be a CATPart for example) the program will display a warning message.
CATV will generate several files to pass CATIA information to VERICUT. For verification or simulation of one CATProcess file, the following can be created;
Several temporary files (with the ".VcTmp" extension) tool libraries (with the ".tls" extension) model files (in STL or VRML format) NC programs (in APT or G-Code)
All these files will be placed in a single folder. If you have defined the CGTECH_CATV_FOLDER environment variable, the folder it references will appear in the upper text field of this pair. If not, the location of the CATProcess file will be presented so that you can keep all the related files in one place. In either case you can override the suggested folder, by entering a different location, or by browsing ( ) for one. The names of created tool libraries, model files and NC programs depend on the names of the corresponding CATIA objects (CATParts, and Part Operations). But the temporary files, the final VERICUT project, and its log file are given the same name, which is provided by the lower text field of this pair. By default it will be filled in with the CATProcess name, but you can override it if you wish.
57
The files generated by CATV are intended to be "add-ons" for existing VERICUT projects that contain much more detail than is present in a CATProcess file. For example, you may have a machine and control fully specified in a project file, and simply wish to place the CATProcess stock and fixtures on this machine before verifying the new NC programs. In this field you can specify a template file for the project. Normally such a file has the extension ".VcProject". Note that you can also specify a different template for each CATIA part operation (called a "Setup" in VERICUT). If you do not specify a project template, either "init.VcProject" or "initm.VcProject" will be used, depending on whether CATIA has the unit of length set to "inch" or "millimeter". If you wish to append the part operations from a CATProcess file to the setups that are already defined in your project template, you can click on the Append to existing setups in project template check-box under the template field. Otherwise, and more typically, the imported part operations will be the only setups in the generated project.
This list contains the names of all the part operations found in the CATProcess file. Typically you would leave each setup "checked" so that they will all be simulated, but you could cause any of them to be skipped by un-checking their names. When you select a setup name, most of the other elements of the interface will change to reflect the choices made for that setup. Items with blue labels are "project wide" and do not change.
58
Converters and CAD/CAM Interfaces If all part operations in the CATProcess use the same machine, and that machine is defined in the project template file, you could leave the setup template field blank. If there are several machines involved, you will need to have a VERICUT project file for each one, and will specify which file each setup should use in this field. CATV can generate a single VERICUT view for each setup, with the stock in the same orientation as it appears in CATIA. Alternatively, if you wish to se the view (or views) already established in the setup (or project) template file, you can click on the Use view or views defined in setup check-box. Typically you would have CATV generate tool libraries (with the ".tls" extension) from the tool data in the CATProcess file for each setup. Alternatively, if you choose to create a single tool library for all setups, click on the Generate one tool library for all setups check-box. In either case, select Generate tool library from CATIA information from the pull-down list. You can also elect, on a setup by setup basis, to merge the generated tools into the library which is referenced by your setup (or project) template file, to use that referenced library "as is", use an existing tool library by selecting it, or use a tool list from a TDM database by specifying its name. Using any of these last three options implies that you are sure that the tool geometry present in the CATProcess file is accurately represented in the referenced library, selected library or specified TDM list. Select the desired option from the pull-down list. Within the CATProcess file you can define the cutting geometry of a wide variety of tool types, and for milling tools define their holders as a stack of up to five cylinders and cones. If this is not adequate, you can define a milling tool's cutter and holder with a CATPart or CATProduct. A CATPart would contain two sketches, with names "CUT" and "NOCUT" to define the half cross-section which is rotated around the tool's axis. Typically the part can have shafts defined by the rotated sketches, but this is not essential.
59
Converters and CAD/CAM Interfaces A CATProduct can reference multiple CATParts, each with a named attribute, "CuttingType". Values of these attributes can be "CUTTER", "SHANK" or "HOLDER" and each CATPart should contain a sketch to define the half cross-section which is rotated around the tool's axis. Shafts can be defined by the rotated sketches, but this is not a requirement.
To make CATV aware of these custom milling tool profiles, click on the "Custom Tools" button, which is blue to reflect the fact that the connections that you make between tool names and CATParts or CATProducts will be "project wide". If the same tool is used in more than one setup, it is only necessary to specify once the CATPart or CATProduct containing its sketches. When you click on the "Custom Tools" button, the Custom Tool Profiles window is displayed. 60
CATProcess files with multiple part operations seem to exhibit two different operator styles. In the first style, the stock is represented just once and each setup contains a different set of fixtures, some of which will typically be instances of the same CATProduct or CATPart. The second style may or may not use a common set of fixtures, but will have multiple instances of the stock, probably in different orientations and locations. In VERICUT, we need to know what happens to the stock between setups. You need to pick an axis system in each setup which has the same relationship to the stock. Thus if the stock needs to be flipped over between setup one and two, you would pick an axis system for both, but two of the axes will probably be reversed in the second one. Typically the same axis system in the two instances of the stock model is adequate. To graphically select an axis system, click on the button, then pick a machining axis system or an axis system on a part. Use CATIA's "Edit" > "Undo" option to exit selection mode without making a choice. Note that you can reverse the selection sequence by picking an axis system first, then clicking the button. The name of the selected axis system will appear in the Stock axis system field.
If the Attach axis system field is left blank the setup's machining axis system will be placed on one of the VERICUT machine's "attach" components. Note that a setup's machining axis system is the last such system encountered in CATIA's process tree before the setup's first active tool change. This is not always the axis system of the CATIA machine. If the setup's machining axis system does not coincide with one of the VERICUT "attach" components, you can pick a different axis system for the setup. To graphically select an axis system, click on the button, then pick a machining axis system or an axis system on a part. Use CATIA's "Edit" > "Undo" option to exit selection mode without making a choice. Note that you can reverse the selection sequence by picking an axis system first, then clicking the button. The name of the selected axis system will appear in the Attach axis system field.
61
Converters and CAD/CAM Interfaces In the Attach component name field you can specify the name of the corresponding "attach" component. If left blank, the default name "Attach" will be used.
This field will only be enabled when you elect to generate G-Code programs. It should specify the post-processor to be used to convert APT to G-Code. Posts from three vendors are supported by CATIA; Cenit, IMS and ICAM. Their location is dependent on where CATIA was installed, but will typically be in folders under "C:\Program Files\Dassault Systemes\B16\intel_a\startup\Manufacturing". Cenit posts have the extension ".pp", IMS uses ".lib" and ICAM's have ".dmp". You can paste a postprocessor's full path and filename into the Post-processor field, or browse ( ) for it.
For each setup you should specify which of the CATParts represent the design, the stock and fixtures. Normally it is only necessary to have a stock model for the first setup, as it will get passed to subsequent ones in VERICUT. Likewise you will probably only nominate a design model in the last setup, to be used with AUTODIFF. But fixturing will often be different in each setup. To graphically select design, stock or fixture models, click on the corresponding button. Then you can pick a product from any level in CATIA's product list tree, or from the picture of the models. Note that the product must be within the major branch of the tree that is referenced by the setup's part operation. All instance names of all CATParts under the selected product in the tree will be placed in CATV's list for this setup. Use CATIA's "Edit" > "Undo" option to exit selection mode without making a choice. Note that you can reverse the selection sequence by picking a product first, then clicking the button. If you decide that you don't want all the detailed parts, such as bolts, transferred to VERICUT, you can remove names from any of the three lists by selecting them and
62
Converters and CAD/CAM Interfaces clicking on the appropriate button. The "Shift" and "Ctrl" keys can be used in the normal way to select multiple names from the list so they can be removed together.
The 32 bit version of VERICUT can accept part models in a variety of formats, including STL, VRML and native CATPart files. You can adjust the precision of STL and VRML model types by performing the following procedure in CATIA. This only needs to be done once. 1. 2. 3. 4. Pick "Tools" > "Options ..." from the CATIA menus. In the "Options" dialog, expand the "General" branch of the tree. Pick the "Display" sub-branch. Bring the "Performances" tab to the front.
5. Under "3D Accuracy" pick "Proportional", and move the corresponding slider to the extreme left. The displayed value will then be "0.01". 6. Click on the "OK" button.
63
Converters and CAD/CAM Interfaces The ability to generate VRML files is license dependent in CATIA, so if your site does not have the feature, elect to use STL or CATPart files. STL models are handled faster than VRML models by both CATIA and VERICUT, but VRML models can give superior graphics provided the following procedure has been performed once in CATIA; 1. 2. 3. 4. Pick "Tools" > "Options ..." from the CATIA menus. In the "Options" dialog, expand the "General" branch of the tree. Pick the "Compatibility" sub-branch. Bring the "VRML" tab to the front (it is on the extreme right of the tabs).
5. Select the "VRML 97" export version. 6. Select the "Save Normals" export option. 7. Click on the "OK" button. Using CATParts is the fastest choice for CATV because the files are simply referenced, but there is a performance penalty when VERICUT has to first access these files. Because some models may be used in several setups, this is a "project wide" parameter, so that we avoid having more than one version of the same model.
64
Specify whether the NC programs to be passed to VERICUT are APT or G-Code. APT programs can be generated more quickly, since the post-processing step is not required, and are fine for initial program verification. G-Code is one of the prerequisites for machine simulation. Determination of the fast feedrate, which will be set in the VERICUT project file, is dependent on this choice. For APT programs, the first 5000 lines of the first program are scanned, and the fastest of the encountered feedrates is used, with the addition of a small increment (0.05 when the linear unit is "inch", 1.0 when it is "millimeter"). For G-Code programs, all the active machines in the CATProcess file are scanned, and the largest of their maximum fast feedrates is used.
CATV can cause CATIA to generate the NC programs defined in the CATProcess file. Alternatively you can choose to select NC programs that have already been created. GCode programs produced by a post-processor that is not accessible within CATIA would be a good example.
Specify here whether the NC programs to be generated by CATIA, or those selected, have the tip of the tool as the driven point, or a point on the tool axis inset from the tip by the corner radius. The third choice "Ball Center" will use the center of any ball-end cutters, and the tip for any other style.
65
Pressing the "Options" button displays the Options window whose features enable you to specify a model chordal deviation, a VERICUT G-Code table, and the Source of G-Code tool identifiers.
If you choose to have CATV and CATIA generate the NC programs, they will be listed here as they are created. Alternatively you can browse ( ) for existing programs. If you do so, it is important to ensure that the list is in the order of cutting. You can erase ( ) programs from the list, or re-arrange ( or ) them.
If you have G-Code programs that reference subroutines, you can browse ( ) to select the existing subroutine files. You can also erase ( ) subroutines from the list.
66
Converters and CAD/CAM Interfaces When you have provided CATV with all the information it needs, you can perform the transfer of data to, and triggering of, VERICUT. Click on the "Generate files" button to create the tool libraries, models and NC programs without triggering VERICUT. Once you have all the files needed, you can fire up VERICUT with the "Run VERICUT" button. You can perform both of these steps at once with the "Generate and run" button. Data transfer, particularly if you are generating and post-processing large NC programs, can be time consuming, so a dialog is presented which provides a simple indication of progress. The "Exit CATV" button terminates the program.
67
To make the connection between a tool and its CATPart or CATProduct, select the tool's name in the list on the left, then click on the icon. You will be offered the usual file selection dialog to pick a CATPart or CATProduct, and the file's name will then be displayed in the list on the right. Repeat this sequence for all the tools that have corresponding CATParts or CATProducts. If you wish to break a connection, and revert to using the CATProcess file's definition of a tool's geometry, you can select the tool in the list and click on the icon. When you have all the pairings established, click on the "OK" button and the dialog will disappear.
68
69
By default the precision of the created STL or VRML files is controlled by settings within CATIA, and will be the same for all design, stock and fixture models. Alternatively, you can use the Model chordal deviation features to specify a different chordal deviation for any or all of the three types of model, by "checking" types and providing maximum deviation distances. These options pertain to all setups. For each CATIA part operation, the machining axis system defines the origin of the coordinates in the NC programs. Typically this origin will be used to define the content of the "Program Zero" table in VERICUT. But you can use the VERICUT G-Code table features to define other VERICUT tables that you could use to locate the NC programs relative to the machine axes. For example, you may wish to use a "Work Offsets" table for register 54. Select the table from the Table name pull-down list, or enter a different name if necessary. Use the Subsystem and Register number text fields to enter additional information related to the table. If you click on the button, the list of table names will be populated by scanning the template for the setup or project. The first table encountered that has an associated sub-system, register number and "from" component will become the selected one. You can also use the "From" component feature to associate the machining axis system to a different component of the machine, such as a head or turret. When CATIA uses a post-processor to generate the NC programs, the tool identifiers within the G-Code can be extracted from several of the tool, or tool assembly's parameters. Typically the tool number (for a milling tool), or the assembly number (for a turning tool), are used. But a post-processor could access names or comment fields too. Use the Tool (milling) or assembly (turning) parameter features to specify which field contains the tool identifiers. Use the last five features in the Source of G-Code tool identifiers section to specify how identifiers are to be extracted from the chosen field. The "Defaults" button can be used to revert to the "Program Zero" table and using the entire number field as the source of tool identifiers. Press the "OK" button when you have defined the table parameters and/or the source of the G-Code tool identifiers, and the extra "Options" window will disappear.
70
Edgecam-to-VERICUT Interface
71
72
73
Converters and CAD/CAM Interfaces With the Use Tool Description box unchecked, VERICUT will create a tool library file (.tls) that looks like the following:
But with Use Tool Description toggled On (checked), VERICUT will create a tool library file (.tls) that looks like the following:
NOTE: This feature was not available prior to Edgecam Version 12.5.
74
Converters and CAD/CAM Interfaces Output VcProject File Enter the directory path, or use Browse to specify the location where the VERICUT .VcProject file, the tool library file, and any other associated files should be written. The file name entered will be used for the project file, the tool library file, and any stock files created. The default is the current Edgecam part name.
75
Converters and CAD/CAM Interfaces Attach Stock at Center of Rotation When toggled "On" (checked), stock is attached at the center of rotation. Apply to Program Zero When toggled "On" (checked), the XYZ offset values are applied to the Program Zero. X-Shift (Stock and Program Zero) Use to specify the X offset value. Y-Shift Use to specify the Y offset value. Z-Shift Use to specify the Z offset value. Click OK when entries on all tabs are complete to save the information. Repeat this step to define or modify options associated with each Edgecam machining sequence.
Run VERICUT
In the Edgecam main menu bar select Options > Manufacture to switch to manufacturing mode. Once in manufacturing mode, select Custom menu > Extras > Run Vericut Setup, or Vericut menu > Vericut Setup Options, if you added this feature to the Edgecam menu bar, to display the following window:
Batch Mode When toggled "On" (checked), VERICUT runs unattended in the background. When the VERICUT window opens, the NC program verification process is complete and the part is displayed in its processed state. Click OK will display the following window:
76
Click OK to start the transfer of data and start a VERICUT session. Click Cancel to cancel the transfer of data and the VERICUT session and return to the Edgecam session.
77
78
79
4. Tool Library Override. If an override tool library is specified, then it is used instead of generating a new tool library. If the tool library override field is left blank, then a new tool library is generated. 5. Append setup option. If you wish to append the part operations to the setups that are already defined in your project template, you can click on the check-box under the tool library override field. Otherwise, and more typically, the imported part operations will be the only setups in the generated project. 6. Select attach component. Select the corresponding "attach" component. 7. Select the NC program files to be simulated in VERICUT. Click on the Select NC Program tab. Specify the NC Program type by selecting either APT or G-Code. Then enter the /path/filename of the NC program file in the text field, or click on the Browse button, to display a file selection window and use it to select the NC program file. Click on the Generate NC Program tab. Enter /path/filename of the postprocessor file in the Post-processor File text field or click on the Browse button, to display a file selection window and use it to select the postprocessor file. 8. Attach Axis System and NC Program Zero. For each workpiece in the Workpiece pull-down list, select an Attach Axis System from the pull-down list, and then select an NC Program Origin from the pull-down list 9. Select NC Subroutine Files. If you have G-Code programs that reference subroutines, you can use Add to display a file selection window and use it to select existing subroutine files to be added to the NC Subroutine File list. You can use Delete to remove subroutines from the NC Subroutine File list.
81
10. Generate Files and Run VERICUT. Select Generate Files to output all files, for the GibbsCAM part file, including project file, tool library file, NC program file, model files and the "operations" file that assembles all of this information into a VERICUT "project" file. Select Run VERICUT to start VERICUT with the files created by Generate Files.
NOTE: The values that you set in any of the GibbsV windows are saved as part
custom data in the GibbsCAM part file. When you re-open the GibbsCAM part file, the GibbsV settings are recalled as they where when you saved the file.
82
Models
Stock, fixture and design models are associated by the GibbsCAM part file workpiece name. The attach component in the VERICUT project template must be named the same as the workpiece name. The fixture component will have an attachment name the same as its workpiece name. The stock component will have an attachment name the same as its fixture name. If no fixture, then the stock component will have an attachment name the same as its workpiece name. The design component will have an attachment name the same as its stock name. If no stock, then the design component will have an attachment name the same as its fixture name. If no fixture, then the design component will have an attachment name the same as its workpiece name.
83
NOTE: The values that you set in any of the GibbsV windows are saved as part custom
data in the GibbsCAM part file. When you re-open the GibbsCAM part file, the GibbsV settings are recalled as they where when you saved the file. Sample VERICUT Interface window:
84
Output Directory Enter the /path/ to the directory where you want the VERICUT files output ( .VcTemp, .tls, .ops, .ncf, .ply, .stl) in the text field, or use the "Browse" button to display a file selection window and use it to specify the /path/. File Name Enter the "base" name for VERICUT files that will be created. Project Template Enter the /path/filename of the "template" .VcProject file that you want loaded in the text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename. A project template (.VcProject) file is a previously defined VERICUT project file. For more information, see Introduction to Project Setup in the Transitioning From VERICUT Pre-V6.0 to VERICUT V6.X section, in the CGTech Help Library. Tool Library Override If an override tool library is specified, then it is used instead of generating a new tool library. If the tool library override field is left blank, then a new tool library is generated. Append to existing setups in Project Template When toggled "On", GibbsV will append the operations in the GibbsCAM part file, to the setups that are already defined in your Project Template file, and setups from both files will be contained in the generated project file. Otherwise, and more typically, the imported GibbsCAM part file will be the only setups in the generated project file. Attach component Select the corresponding "attach" component. Select NC Program tab Use the features on this tab to select existing .ncf files.
1. Select APT or G-Code to specify the type of NC program. 2. Specify the /path/filename of the NC program in the NC Program text field, or use click on the Browse button and use the file selection window that displays to specify the NC program file. Generate NC Program tab Use the feature on this tab to create new .ncf files from the GibbsCAM part file using a specified postprocessor.
85
Specify the /path/filename of the post-processor that you want to use in the Postprocessor File text field, or use click on the Browse button and use the file selection window that displays to specify the post-processor file. Workpiece This list displays the names of all Workpieces in the GibbsCAM part file. When you select a workpiece from the pull-down list, the Attach Axis System and NC Program Origin selection apply to the currently selected workpiece. Attach Axis System This list displays the names of all coordinate systems in the GibbsCAM part file. When you select a coordinate system from the pull-down list, it becomes the Attach Axis System for the currently selected workpiece. NC Program Origin choice list This list displays the names of all coordinate systems in the GibbsCAM part file. When you select a coordinate system from the pull-down list, it becomes the NC Program Origin for all workpieces.
NOTE: There is only one NC Program Origin per GibbsCAM part file.
Options Displays the VERICUT Interface Options window. NC Subroutine Files If you have G-Code programs that reference subroutines, Use this feature to specify the subroutine files. Add Click on the Add button and use the file selection window that displays to select the required NC Subroutine files. Delete Use to delete the highlighted subroutines from NC Subroutines File list. Generate Files Outputs all files, for the GibbsCAM part file, including project file, tool library file, tool path file, model files and the "operations" file that assembles all of this information into a VERICUT "project" file. Run VERICUT Launches VERICUT using the files created by Generate Files. Generate and Run Generates the files and then launches VERICUT in a single step. Close Saves values that you set in the GibbsCAM-to-VERICUT Interface as part custom data in the GibbsCAM part file, and closes the GibbsV VERICUT Interface window.
86
NOTE: The values that you set in any of the GibbsV windows are saved as part custom
data in the GibbsCAM part file. When you re-open the GibbsCAM part file, the GibbsV settings are recalled as they where when you saved the file.
87
Converters and CAD/CAM Interfaces Output Model File Type Use to specify the type of model files that are being passed to VERICUT. Choose either VERICUT Model (VERICUT polygon file) or STL (Stereolithography model file). Output Model File Format Use to specify the file format of the model files. Choose either ASCII or Binary.
88
89
90
The Mastercam-to-VERICUT Interface is a Mastercam C-Hook application. It can be invoked while running Mastercam, transfers internal Mastercam data to files recognized by VERICUT, and fires up VERICUT ready to perform verification of the tool paths. You can opt to verify Mastercam's Intermediate NC data (NCI) or the G-code files produced by Mastercam's post-processors.
91
Access
To trigger the C-Hook while in Mastercam, hold down the Alt key and click the C key (referred to as Alt-C). You will see a file selection dialog offering all the installed CHooks. Pick VERICUT.dll and click on the Open button. Alternatively, you can add a reference to the C-Hook in Mastercam's menu structure, either in an empty space, or by replacing a choice that you are unlikely to exercise. Mastercam's documentation covers this process, but you would potentially need to edit three files (mill9.txt, lathe9.txt and wire9.txt) if you intend to trigger VERICUT from all three Mastercam applications. These files are located in Mastercam's installation folder (for example C:\Mcam9). To place a C-Hook in an empty menu location, between the double quotes enter the name of the C-Hook, followed by an asterisk. So for this C-Hook it could read "VERICUT*". Keep in mind that a menu cannot have more than ten choices. If you wish to use a keystroke to pick a menu item, you can precede the trigger letter with an ampersand, after first checking that no other item in the menu uses the same letter. So if V is available, you could enter "&VERICUT*".
92
Use
When you invoke the C-Hook the following dialog will display:
To verify NCI data, all you need to do is click the OK button. By default the files needed by VERICUT will be generated in the same folder as the currently accessed Mastercam file. You can nominate a different folder in the "Working Directory" section of the dialog. If you wish to use a single folder for all the files generated by the interface, regardless of the location of the Mastercam files, you can define an environment variable to specify the folder. For example;
93
Converters and CAD/CAM Interfaces If you wish to verify G-code data previously generated by one of Mastercam's postprocessors, select the "Verify G-Code" option. This will enable the last five input fields in the dialog, for the specification of the G-code files and location of the stock on the machine. In Mastercam's "Operation Manager" you can select multiple operations, by clicking on their names while holding the shift or control key down. The operations' icons will be tagged with blue ticks. You can use this mechanism, and the C-Hook's "Selected Operations" choice to restrict verification to a set of operations. You can also specify a template user file (.usr) or in-process (.ip) file that the output of the interface will be merged with in VERICUT. If you do not specify such a file, the library copy of "init.usr" or "initm.usr" will be used, depending on the units of the Mastercam data. If you specify a template file, you can also opt to use the tool library which it references, instead of having the interface generate one. If you elected to verify G-code files you can specify one or two by entering their paths and names, or by browsing for them. The template user file or in-process file will need to contain a machine and control definition. To assist you in placing the stock at the correct location on the VERICUT machine, the delta X, Y and Z values can be specified and will be applied to the stock. Regardless of whether you are verifying NCI or G-Code data, you can nominate an STL file to be used in VERICUT for the stock, instead of the block or cylinder which would otherwise be derived from the Mastercam job setup information.
Restrictions
1. Custom tool geometry is not supported. 2. Direct 4-axis wire EDM toolpaths are not supported for NCI verification, but their Gcodes can be verified if a suitable control and machine are defined. 3. When performing roll-die toolpath verification, you will probably find it desirable to adjust the size and shape of the stock in VERICUT.
94
Access
To trigger the Net-Hook while in Mastercam X, hold down the Alt key and click the C key (referred to as Alt-C). Alternatively, you could select Settings -> Run User Application. You will see a file selection dialog offering all the installed C-Hooks. Pick VERICUT.dll and click on the Open button. Another option to start MCAMV is to create an icon. You can do this as follows (You will need Adminstrator privileges): In Mastercam, select Settings, then Customize. In the Customize window, select NETHook in the Customize list Drag and drop the VERICUT icon onto the main Mastercam window In the Toolbars list in the Customize window, double click the New toolbar entry and rename it VERICUT Click on the OK icon (Green check mark) You can then position the new toolbar as desired and click on the VERICUT icon to start MCAMV
Use
When you invoke the Net-Hook the following dialog will display:
95
96
Converters and CAD/CAM Interfaces To verify NCI data, all you need to do is click the OK button. By default, the files needed by VERICUT will be generated in the same folder as the currently accessed Mastercam file. You can nominate a different folder in the "Working Directory" section of the dialog. If you wish to use a single folder for all the files generated by the interface, regardless of the location of the Mastercam files, you can define an environment variable to specify the folder. For example,
If you wish to verify G-code data previously generated by one of Mastercam's postprocessors, select the "Verify G-Code" option. This will enable five additional input fields in the dialog, for the specification of the G-code files and location of the stock on the machine. In Mastercam's "Operation Manager" you can select multiple operations, by clicking on their names while holding the shift or control key down. The operations' icons will be tagged with blue check marks. You can use this mechanism, and the C-Hook's "Selected Operations" choice to restrict verification to a set of operations. You can also specify a template user file (.usr) or in-process (.ip) file that the output of the interface will be merged with in VERICUT. If you do not specify such a file, the library copy of "init.usr" or "initm.usr" will be used, depending on the units of the Mastercam data. If you specify a template file, you can also opt to use the tool library which it references, instead of having the interface generate one. If you elected to verify G-code files you can specify one or two by entering their paths and names, or by browsing for them. The template user file or in-process file will need to contain a machine and control definition. To assist you in placing the stock at the correct location on the VERICUT machine, the delta X, Y and Z values can be specified and will be applied to the stock. Regardless of whether you are verifying NCI or G-Code data, you can nominate an STL file to be used in VERICUT for the stock, instead of the block or cylinder which would otherwise be derived from the Mastercam job setup information. The data on the dialog is saved in the Mastercam part file as blanked notes on a specified level so that when you save the part and later load it again, the values in the VERICUT dialog will be restored. By default, this level is 3987 but you can change it by setting the environment variable CGTECH_MCAM_NOTE_LEVEL.
97
Variable Value 42
Restrictions
1. Custom tool geometry is not supported. 2. Direct 4 axis wire EDM toolpaths are not supported for NCI verification, but their Gcodes can be verified if a suitable control and machine are defined. 3. When performing roll-die toolpath verification, you will probably find it desirable to adjust the size and shape of the stock in VERICUT.
98
99
Converters and CAD/CAM Interfaces Working Directory Enter the /path/ to the directory where you want the VERICUT files output, or use the Browse button to display a directory selection window and use it to specify the path ( .VcProject, .tls. CGTPart.stk, CGTStock.stk) File Name Enter the "base" name for VERICUT files that will be created. By default the name of the Mastercam .MCX file is used. Project Template Enter the /path/filename of the "template" .VcProject file that you want loaded in the text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename. A "template" .VcProject file is a previously defined VERICUT project file. For more information, see Introduction to Project Setup in the VERICUT Help section, in the CGTech Help Library. Retain Setups When toggled "On", MCAMV will append the operations in the MasterCAM part file, to the setups that are already defined in your Project Template file, and setups from both files will be contained in the generated project file. Otherwise, and more typically, the imported NX part operations will be the only setups in the generated project file. Operations All of the program groups shown in the Operations Manager are available in this list. Use the list to select the operation that you want selected settings to pertain to. When an operation is selected from the list, the Settings for Operation field is updated so you can see at a glance which operation you are selecting settings for. If you wish to transfer only some of the MasterCAM operations to VERICUT, choose Selected Operations in the Options windows and highlight the operations you want in this list (using the Control and Shift keys) immediately before choosing Output Files. Options Displays the MCAMV Options window enabling you to set parameters related to the models that are passed to VERICUT and to set parameters related to VERICUT processing. The following features are specific to the operation specified by Settings for Operation opname, where opname is the name of the operations that the settings apply to. Setup Template Enter the /path/filename of the Setup "template" file that you want loaded in the text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename. A setup "template" is a previously defined VERICUT .VcProject file that containing files and settings required for VERICUT simulation. For more information, see Introduction to Project Setup in the VERICUT Help section, in the CGTech Help Library. Use Tools from the Setup Template When toggled "On", VERICUT will use the tool library file stored in the Setup Template rather than one created by MCAMV. Use Views from the Setup Template When toggled "On", VERICUT will use the views stored in the Setup Template rather than the views created by MCAMV. Stock STL File Enter the /path/filename in the Stock STL File text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename of the STL file to be used in VERICUT for the stock, instead of the 100
Converters and CAD/CAM Interfaces block or cylinder which would otherwise be derived from the Mastercam job setup information. Part STL File Enter the /path/filename in the Part STL File text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename of the STL file to be used in VERICUT for the part. Fixture STL File Enter the /path/filename in the Fixture STL File text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename of the STL file to be used in VERICUT for the fixture. Model Csys Use the Browse button to select a Mastercam coordinate system through which the Stock, Part and Fixture STL models will be exported. The name of the currently selected Coordinate System will be displayed after the Model Csys label or None will be displayed if there is no currently selected Coordinate System. Use the Clear button to unselect a previously selected Coordinate System. Stock Deltas Use to position the stock at the correct location on the VERICUT machine. Enter the offset values in the X, Y and Z text fields. The values specified will be applied to the stock in addition to any selected Coordinate System. Attach Component Name Enter the name of the VERICUT attach component that is to be used for the current operation or select from the drop down list. VERICUT GCode Table The four fields in the Gcode Table frame are used to orient the NC program to the part. Table Name Choose from None, Program Zero, Work Offsets or Base Work Offset from the drop down list. Register If Work Offsets was chosen, choose the work offset register for this setup (typically 54, 55, 56, etc.) Program Zero From Enter the name of the component that represents the "from" point for determining the program zero offset or choose a component from the drop down list. VERICUT will use the origin of the specified component. The default "From Component" is "tool". Program Zero To Enter the name of a CSYS to represent the "to" point for determining the program zero offset or choose a component from the drop down list. VERICUT will use the origin of the specified CSYS. The default "To CSYS" is a CSYS named "Program_Zero". NC Program Type Use to specify the NC program type. Select either NCI or GCode. NC Program File(s) Displays a list of NC Program files that will be passed to VERICUT. Add Use to add tool path files to the NC Program File(s) list. Remove Use to remove the highlighted tool path(s) from the NC Program File(s) list. Run VERICUT launches VERICUT with the files created by Output Files. 101
Converters and CAD/CAM Interfaces Output Files outputs all files, for all operations, including the selected models, tool library files, updated project and setup files, and the "operations" file that assembles all of this information into a VERICUT "project" file. OK Saves values that you set in the MCAMV windows as attributes the Mastercam part file and closes the MCAMV VERICUT window. Apply Saves values that you set in the MCAMV windows as attributes the Mastercam part file and leaves the MCAMV VERICUT window open to enable you to continue. Cancel Closes the MCAMV VERICUT window without saving any of the settings in the Mastercam part file.
102
Process Controls the processing mode in which VERICUT is run. Interactive Opens the VERICUT window for access to all VERICUT functions and capabilities. When the VERICUT window opens, all of the required VERICUT files are loaded and ready for processing. The stock is displayed in its unprocessed state and you need to need to press the "Play to End" icon, the verification process. , in VERICUT to start
Batch Runs VERICUT unattended in the background. When the VERICUT window opens, the toolpath verification process is complete and the part is displayed in its processed state.
NOTE: In either case, both application windows (VERICUT and Mastercam) are
available to work in at the same time.
103
Converters and CAD/CAM Interfaces Cut Mode Controls the cut mode in which VERICUT is run (ref. Project menu > Processing Options > Motion: Fastmill option in the VERICUT Help section, in the CGTech Help Library for more information). Standard Runs VERICUT in the "Standard" cut mode where each cut made by each tool motion is seen (full cutting animation). FastMill Runs VERICUT in the "FastMill" cut mode where all tool path records are processed as quickly as possible without displaying animated cutting, and then the final machined workpiece is displayed. Put operations into a single VERICUT setup If this box is checked, MCAMV will combine all the MasterCAM operations into a single VERICUT setup. If the Selected Operations box below is checked, only the operations selected in the main MCAMV window will be used. Operations Use to specify the operations to process. All Operations Process all operations in the Operations list in the MCAMV VERICUT window. Selected Operations Process only selected operations in the Operations list in the MCAMV VERICUT window. OK Updates the Mastercam part file with the current settings and closes the MCAMV Options window and returns to the MCAMV VERICUT window. Apply Updates the Mastercam part file with the current settings and leaves the MCAMV Options window open for further setting changes. Cancel Closes the MCAMV Options window and returns to the MCAMV VERICUT window without updating the settings in the Mastercam part file.
104
105
106
Converters and CAD/CAM Interfaces For complete details on installing and configuring the CATIA V5-to-VERICUT Interface, see Configuring NX-to-VERICUT Interface (NXV), in the Configuring CAD/CAM to VERICUT Interfaces section of Installing CGTech Products, located in the CGTech Help Library.
107
108
Converters and CAD/CAM Interfaces F. If desired, specify a Project Template file. Enter the /path/filename of the "template" .VcProject file that you want loaded, in the text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename. A "template" .VcProject file is a previously defined VERICUT project file. For more information, see Introduction to Project Setup in the VERICUT Help section, in the CGTech Help Library. G. Select the name of the program group, from the Program Group(s) list, that you want to specify settings for. The "Settings For Program Group: program group name" will update to confirm your selection. Any settings that you make will apply to this program group until another program group is selected. 4. Provide NXV with information related to the model files that will be passed to VERICUT. H. Select Options to display the NXV Options window. I. Specify the Output Model File Type. Choose VERICUT Model or STL. J. Specify the Output Model File Format. Choose ASCII or Binary. K. Specify the Output Model Tolerances. Enter the desired tolerance values in the Part, Blank and Fixture text fields. L. Specify the coordinate system that the model files are output relative to. Choose Absolute or MCS/Coordinate System. M. Specify the VERICUT program attributes. N. Specify the Process mode in which VERICUT is to run. Choose Interactive or Batch. O. If NC Program Type will be set to G-Code, select the Machine Type, from the pull-down list, that NXV is to use for creating G-Code files from the NX internal toolpath files. This list is the same as the Available Machines list in the NX Post Process window. This feature is used in conjunction with the Automatically Output NC Program feature on the NXV VERICUT window. P. Specify the Cut Mode in which VERICUT is to run. Choose Standard or FastMill. Q. Specify the type of NC program files that are to be passed VERICUT. Choose either CLSF or G-Code. This feature is used in conjunction with the Automatically Output NC Program feature on the NXV VERICUT window. R. Select OK to apply the settings and return to the VERICUT window.
109
5. If necessary, select NX geometry to transfer to VERICUT. By default, NXV automatically creates a "stock" block enclosing the bounds of the operation's part model. However, you can use the Geometry options to select alternate geometry to use in the simulation. S. If you wish to output Part, Stock and Fixture models relative to a coordinate system, click ( Model Location ), then select the coordinate system representing the orientation of the of the stock on the machine in VERICUT. You must have previously set Output Model Relative To, on the Options window, to MCS/Coordinate System. All models will be output relative to the selected coordinate system.
T. Click (Part), and then select geometry to represent the design model, or theoretical finished part. (Only applicable if using AUTO-DIFF in VERICUT.)
U. Click (Stock/Blank), and then select geometry to represent the raw stock workpiece to be machined.
V. Click (Fixture/Check), and then select geometry to represent the fixture used to hold the stock for machining. 6. Provide VERICUT with information related to this setup. W. If desired, enter the /path/filename of the Setup Template file that you want loaded, in the text field, or use the Browse button to display a file selection window and use it to specify the /path/filename. A setup "template" is a previously defined VERICUT .VcProject file that containing files and settings required for VERICUT simulation. For more information, see Introduction to Project Setup in the VERICUT Help section, in the CGTech Help Library. X. Toggle "On" Use Tools from the Setup Template if you want VERICUT to use the tool library file stored in the Setup Template rather than one created by NXV. Y. Toggle "On" Merge Tools into Setup Template Tool Library if you want VERICUT to merge the tool library created by NXV, with the tool library file stored in the Setup Template, and use the "merged" tool library rather than one created by NXV. 110
Converters and CAD/CAM Interfaces Z. Toggle "On" Use Views from the Setup Template if you want VERICUT to use the views stored in the Setup Template rather than the views created by NXV. 7. Select the NC program files to be simulated in VERICUT. To create a new NC program file to add to the NC Program File(s) list, select Automatically Output NC Program, and then Add. NXV will automatically create a new .cls, or .ptp, file containing the operations related to the selected selected operations. If either the Program Group is selected, or no selection is made in the Operation Navigator (ONT), NC code will be output for all operations. Otherwise, NC code will be output only for the operation(s) selected. NXV uses the settings in the Options window to determine whether a .cls file, or a .ptp file, is created for simulation. To add an existing NC program file(s) to the NC Program File(s) list, select Existing NC Program, and then Add. NXV displays a standard file selection window enabling you to select existing .cls or .ptp files. 8. Select settings for any additional program groups that you want VERICUT to simulate. Select another program group from the Program Group(s) list and repeat the above steps to specify setting changes for this new setup. Continue for each program group (setup) that you want VERICUT to simulate. 9. Output files and start VERICUT. AA. Select Output Files to output all files, for all Program Groups, including the selected models, tool library files, updated project and setup files, and the "operations" file that assembles all of this information into a VERICUT "project" file. BB. Select Run VERICUT to dismiss the NXV VERICUT window and start VERICUT. When VERICUT is run from NX, both application windows are available to work in at the same time.
NOTE: The values that you set in any of the NXV windows are saved as attributes in
the NX part file for each Program Name. Use Apply at any time to save your settings in the NX part file. When you re-open the NX part file, the NXV settings are recalled as they where when you saved the file.
111
NOTE: The values that you set in any of the NXV windows are saved as attributes
when you save the NX part file. When you re-open the NX part file, the NXV settings are recalled as they where when you saved the file.
112
113
Output Directory Enter the /path/ to the directory where you want the VERICUT files output ( .usr, .tls. CGTPart.stk, CGTStock.stk) File Name Enter the "base" name for VERICUT files that will be created. By default the base name of the NX .prt file is used. Project Template Enter the /path/filename of the "template" .VcProject file that you want loaded in the text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename. A "template" .VcProject file is a previously defined VERICUT project file. For more information, see Introduction to Project Setup in the VERICUT Help section, in the CGTech Help Library. Retain Setups in Project Template When toggled "On", NXV will append the operations in the NX part file, to the setups that are already defined in your Project Template file, and setups from both files will be contained in the generated project file. Otherwise, and more typically, the imported NX part operations will be the only setups in the generated project file. Active Program Group(s) All of the program groups shown in the Operations Navigator are available in this list. Use the list to select the program group that you want selected settings to pertain to. When a program group is selected from the list, the Settings for Program Group field is updated so you can see at a glance which program group you are selecting settings for. Remove/Restore and Switch Buttons If there are some program groups that you do not wish to transfer to VERICUT, select them on the Active Program Group(s) list and use the Remove button to move them to the Deleted Program Group(s) list. Click the Switch button to switch between displaying the Active Program Group(s) list and the Deleted Program Group(s) list. To restore previously deleted program groups to the Active Program Group(s) list, select them in the Deleted Program Group(s) list and click the Restore button. Options Displays the NXV Options window enabling you to set parameters related to the models that are passed to VERICUT and to set parameters related to VERICUT processing. Geometry By default, NXV automatically selects models associated with your NC operations. However, the following options can be used to select alternate geometry to use in the simulation:
(Part) Click this option to select geometry to represent the design model, or theoretical finished part. Design models are used by VERICUT's AUTO-DIFF function to detect gouges and excess material conditions. Geometry for use as a "Design Surface" model does not have to be solid or watertight. 114
(Stock/Blank) Click this option to select geometry to represent the raw stock workpiece to be machined.
(Fixture/Check) Click this option to select geometry to represent the fixture used to hold the stock for machining. About selecting geometry: In general, click the desired Geometry icon, then click Select and select the corresponding NX geometry. A window also display containing standard NX "Class Selection" tools to assist you in selecting geometry. Geometry items can be selected in any order, for example: stock-fixture-part, fixture-stock-part, etc. NX highlights selected geometry. Selections for each of the geometry options can be re-selected or cleared by selecting the corresponding geometry option, then clicking Reselect or Remove, respectively. Reselect and Remove are only available when geometry was previously selected.
NOTES:
1. Non-solid models composed of surfaces, faces, etc. must form a watertight skin to be useful as solid models in VERICUT. If gaps or overlaps exist in NX geometry, the resulting solid may have holes, or portions (possible all) of the model may fail. 2. If a stock blank is not defined or selected via the Stock/Blank option, then VERICUT automatically creates a stock block based on the bounds of the Part in NX.
(Model Location) Click this option to select a coordinate system representing the orientation of the stock on the machine. You can either enter the name of the appropriate coordinate system in the window that displays or select the coordinate system in the NX graphics area.
NOTE: When selecting a coordinate system from the NX session, an MCS cannot currently be selected.
Pick Lines and Circles for SOR Profile When toggled "On", enables you to select connected lines and circles in NX which will be transferred into VERICUT as a Solid of Revolution (SOR). The lines and circles are must lie in the XY plane of the TURN_ORIENT csys. They will be rotated around the Y axis of the TURN_ORIENT csys to create a Solid of Revolution (SOR).
115
Converters and CAD/CAM Interfaces Setup Template Enter the /path/filename of the Setup "template" file that you want loaded in the text field, or use the "Browse" button to display a file selection window and use it to specify the /path/filename. A setup "template" is a previously defined VERICUT .VcProject file that containing files and settings required for VERICUT simulation. For more information, see Introduction to Project Setup in the VERICUT Help section, in the CGTech Help Library. Use Tools from the Setup Template When toggled "On", VERICUT will use the tool library file stored in the Setup Template rather than one created by NXV. Merge Tools with Setup Template When toggled "On", VERICUT will merge the tool library created by NXV, with the tool library file stored in the Setup Template, and use the "merged" tool library rather than one created by NXV. Use Views from the Setup Template When toggled "On", VERICUT will use the views stored in the Setup Template rather than the views created by NXV. Automatically Output NC Program Use this feature to create new .cls or .ptp files from the selected NX operations. If either the Program Group is selected, or no selection is made in the Operation Navigator (ONT), NC code will be output for all operations. Otherwise, NC code will be output only for the operation(s) selected. Select Existing NC Program Use this feature to select existing .cls or .ptp files. NC Program File(s) Displays a list of NC Sub Program files that will be passed to VERICUT. Add Use to add sub program files to the NC Program File(s) list. NXV displays a standard file selection window enabling you to select existing files. Remove Use to remove the highlighted NC sub program file(s) from the NC Sub Program File(s) list. Output Files outputs all files, for all Program Groups, including the selected models, tool library files, updated project and setup files, and the "operations" file that assembles all of this information into a VERICUT "project" file.
Run VERICUT launches VERICUT with the files created by Output Files. OK Saves values that you set in the NXV windows as attributes the NX part file and closes the NXV VERICUT window. Apply Saves values that you set in the NXV windows as attributes the NX part file and leaves the NXV VERICUT window open to enable you to continue.
116
Converters and CAD/CAM Interfaces Cancel Closes the NXV VERICUT window without saving any of the settings in the NX part file.
117
NOTE: The values that you set in any of the NXV windows are saved as attributes
when you save the NX part file. When you re-open the NX part file, the NXV settings are recalled as they where when you saved the file.
118
Converters and CAD/CAM Interfaces Output Model File Type Use to specify the type of model files that are being passed to VERICUT. Choose either VERICUT Model (VERICUT polygon file) or STL (Stereolithography model file). Output Model File Format Use to specify the file format of the model files. Choose either ASCII or Binary.
state and you need to press the "Play to End" icon, verification process.
Batch Runs VERICUT unattended in the background. When the VERICUT window opens, the toolpath verification process is complete and the part is displayed in its processed state.
NOTE: In either case, both application windows (VERICUT and NX) are available to
work in at the same time. Machine Type Enables you to select the machine type that NXV is to use for creating G-Code files from the NX internal toolpath files. Cut Mode Controls the cut mode in which VERICUT is run (ref. Project menu > Processing Options > Motion: Fastmill option in the VERICUT Help section, in the CGTech Help Library for more information). Standard Runs VERICUT in the "Standard" cut mode where each cut made by each tool motion is seen (full cutting animation). FastMill Runs VERICUT in the "FastMill" cut mode where all tool path records are processed as quickly as possible without displaying animated cutting, and then the final machined workpiece is displayed. NC Program Type Use to specify the type of NC program files that are to be passed VERICUT. Choose either CLSF or G-Code. This feature is used in conjunction with the Create for selected operations feature on the NXV VERICUT window. Attach Component Name Enter the name of the VERICUT attach component that is to be used for the current program group or select it from the pull-down list. Table Name Enter the G-Code table name or select it from the pull-down list. Register Number If Work Offsets was selected as the Table Name, enter the work offset register, for example 54, 55, 56, etc. Program Zero From Component Enter the name of the component that represents the "from" point for determining the program zero offset or select it from the pull-down list. VERICUT will use the origin of the specified component. The default "From Component" is "tool". Program Zero to CSYS Enter the name of a CSYS to represent the "to" point for determining the program zero offset in the text field or select the CSYS name from the pull-down list. VERICUT will use the origin of the specified CSYS. The default "To CSYS" is a CSYS named "Program_Zero".
120
OK Updates the NX part file with the current settings and closes the NXV Options window and returns to the NXV VERICUT window. Apply Updates the NX part file with the current settings and leaves the NXV Options window open for further setting changes. Cancel Closes the NXV Options window and returns to the NXV VERICUT window discarding any changes made.
121
CGTFileFormat Corresponds to the Output Model File Format feature on the NXV Options window. Format: CGTFileFormat,value 0 = ASCII 1 = Binary
CGTOutputAllCsys Corresponds to the Transfer All Coordinate Systems feature on the NXV Options window. Format: CGTOutputAllCsys,value 0 = Transfer only required coordinate systems 1 = Transfer all coordinate systems
CGTFileCoordinate Corresponds to the Output Model Relative to feature on the NXV Options window. Format: CGTFileCoordinate,value 0 = Absolute 1 = MCS/Coordinate System
122
Converters and CAD/CAM Interfaces CGTProcessMode Corresponds to the Process feature on the NXV Options window. Format: CGTProcessMode,value 0 = Interactive 1 = Batch
CGTProcessCutMode Corresponds to the Cut Mode feature on the NXV Options window. Format: CGTProcessCutMode,value 0 = Standard 1 = Fastmill
CGTProcessToolpathType Corresponds to the NC Program Type feature on the NXV Options window. Format: CGTProcessToolpathType,value 0 = CLSF 1 = G-Code
CGTProcessMachineType Corresponds to the Machine Type feature on the NXV Options window. The posts that appear in the list come directly from NX, therefore the exact values will be different from one NX installation to the next. Format: CGTProcessMachineType,value 0 = 1st post in the list 1 = 2nd post in the list 2 = 3rd post in the list, and so on.
CGTFilePartTol Corresponds to the Model Output Tolerance: Part feature on the NXV Options window. Format: CGTFilePartTol,tolerance value
123
Converters and CAD/CAM Interfaces CGTFileBlankTol Corresponds to the Model Output Tolerance: Blank feature on the NXV Options window. Format: CGTFileBlankTol,tolerance value
CGTFileFixtureTol Corresponds to the Model Output Tolerance: Fixture feature on the NXV Options window. Format: CGTFileFixtureTol,tolerance value
CGTAttachName Corresponds to the Attach Component Name feature on the NXV Options window. Format: CGTAttachName,component name
CGTTableName Corresponds to the Table Name feature on the NXV Options window. Format: CGTTableName,table name
CGTRegisterNumber Corresponds to the Register Number feature on the NXV Options window. Format: CGTRegisterNumber, register number
CGTProgramZeroFrom Corresponds to the Program Zero From Component feature on the NXV Options window. Format: CGTProgramZeroFrom,component
CGTProgramZeroTo Corresponds to the Program Zero to CSYS feature on the NXV Options window. Format: CGTProgramZeroTo,csys name 124
CGTUseTlsTemplate Corresponds to the Use Tools from Setup Template feature on NXV VERICUT window. Format: CGTUseTlsTemplate,value 0 = OFF 1 = ON
CGTMergeTlsTemplate Corresponds to the Merge Tools from Setup Template feature on the NXV VERICUT window. Format: CGTMergeTlsTemplate,value 0 = OFF 1 = ON
CGTGLobalProjectFile Corresponds to the Project Template feature on the NXV VERICUT window. Format: CGTGLobalProjectFile,/path/filename
CGTOutputDir Corresponds to the Output Directory feature on the NXV VERICUT window. Format: CGTOutputDir,/path/filename
CGTProjectFile Corresponds to the Setup Template feature on the NXV VERICUT window. Format: CGTProjectFile,/path/filename
CGTNcProgramMode Corresponds to the Automatically Output NC Program and Select Existing NC Program features on the NXV VERICUT window. Format: CGTNcProgramMode,value 125
Converters and CAD/CAM Interfaces 0 = Automatically Output NC Program 1= Select Existing NC Program
CGTNcProgramExt1 This is the file extension that appears in the Files of type filter in the Enter Toolpath filename window (NXV VERICUT window > Add) when the NC Program Type feature on the NXV Options window is set to CLSF (CGTProcessToolpathType,0). Format: CGTNcProgramExt1,extension (for example .cls)
CGTNcProgramExt2 This is the file extension that appears in the Files of type filter in the Enter Toolpath filename window (NXV VERICUT window > Add) when the NC Program Type feature on the NXV Options window is set to G-Code (CGTProcessToolpathType,1). Format: CGTNcProgramExt2,extension (for example .ptp)
CGTNcSubProgramExt This is the file extension that appears in the Files of type filter in the Enter Sub Program filename window (NXV VERICUT window > Add) Format: CGTNcSubProgramExt,extension (for example .ptp)
CGTAppendSetups Corresponds to the Retain Setups in Project Template feature on NXV VERICUT window. Format: CGTAppendSetups,value 0 = OFF 1 = ON
126
CGTUseViews Corresponds to the Use Views from Setup Template feature on the NXV VERICUT window. Format: CGTUseViews,value 0 = OFF 1 = ON
CGTSorProfile Corresponds to the Pick Lines and Circles for SOR Profile feature on the NXV VERICUT window. Format: CGTSorProfile,value 0 = OFF 1 = ON
127
128
129
The Account and Password text fields refer to your TDM account. If the TDM database is installed on your computer the Database text field can be left blank. Otherwise enter the name of the server where the database is located. Then click on the Connect button to log into the account. If there are any problems, an error message will display in the text field to the right of the Connect button. The values you supply for Account, Password and Database are saved and automatically re-used next time you enter this dialog, so it should not be necessary to click on the Connect button again. Typically the TDM database will contain lists of tools that pertain to jobs or machines. To select such a list, you can specify a filter for the list names in the Filter text field and then click on the Load button. If you do not enter a filter, all the lists will be placed in the table above, and there can be thousands. You can use "*" and "?" as wild cards in the filter (in the normal VERICUT manner) or use "%" as you would with TDM. The lists that match the filter will display in the table on the left.
Now pick the list you need from the left table, and the tools contained in the list will display in the table on the right.
130
The column headings in this right table correspond to the TDM field names, but it is worth noting that the content of the "Tool No." column gets used as the tool ID in ToolManager, and the TDM "Tool ID" and "Description" fields are combined to form the Tool Manager description. If you click on the "OK" or "Apply" button, without changing the content of the tool table in any way, the tool data is transferred to Tool Manager and the user file will reference the TDM list. To indicate this, Tool Manager's title bar will display the TDM list name instead of a VERICUT tool library name;
131
However, if you alter the tool data, by editing text, deleting tools or adding more, the changes will not be reflected in the TDM database. A reference in the user file to a TDM tool list is thus no longer viable. In this situation when you click on the "OK" or "Apply" button, ToolManager's title bar will not include a list name and you will be expected to save the tool data in a VERICUT tool library. Even if you make no changes, you can save the tool data to a VERICUT tool library and the link between the user file and the TDM tool list will be severed. By turning on the "Append to Tool Library" option, you can add the tools from the selected TDM list to those present in the currently accessed library. If there is a conflict between tool IDs, the tools already in the library will prevail. With this option there will be no link between the user file and the TDM list, because the set of tools accessed by the user file is more comprehensive than the content of the list.
132
840D Virtual NC Kernel and Interface (VNCK) Introduction 840D Virtual NC Kernel and Interface
The 840D Virtual NC Kernel (VNCK) and Interface is a VERICUT optional module that provides an alternate control emulation method using the VNCK program developed by Siemens Automation and Drives Motion Control Systems Division, the developers of the 840D CNC control. When VERICUT uses the VNCK for simulation, VERICUT is not reading the NC program and is not calculating the machine's axes positions. Rather, the VNCK (an external process running on the Windows computer that is also running VERICUT) reads the NC program, calculates the axes positions, and sends those positions to VERICUT. The VNCK is only able to read and simulate NC programs written for the Siemens 840D control. The VNCK and Interface consists of two components: The 840D VNCK software program developed by Siemens, and the VERICUT Interface to the VNCK program. Using this optional module, the VERICUT simulation is controlled by the VNCK program. The VERICUT Interface starts the VNCK and instructs it to load the control configuration data and NC program. During simulation, the VNCK then reads the NC program, calculates the NC motion axes positions, and sends this motion information to VERICUT. The VNCK program contains the actual 840D control's NC kernel, providing NC program processing and motion emulation consistent with the physical control. The VERICUT interface handles communication between the VNCK and VERICUT, using Microsoft's COM protocol. Limitations: OptiPath and CNC Machine Probing ARE NOT compatible with the VNCK. Also, since the VNCK is directing the simulation, other standard VERICUT simulation features may not be available or may behave differently. Additionally, the VNCK only notifies VERICUT when motion commands, those NC lines containing axes motions, are processed. Other NC program lines, such as variable definitions, calculations, and miscellaneous functions, are not considered NC events and are not displayed in the sequential processing of the NC program. Licensing: The VNCK program requires a separate node-locked license from Siemens. It is not available as a network license (i.e. does not "float"), but is locked to the specific machine where the VNCK is used. Thus a separate VNCK licensed module is needed for each computer that will run it. The license is locked to the MAC (physical ethernet hardware)
133
Converters and CAD/CAM Interfaces address of ALL network devices detected on the computer. Thus all MAC addresses on the target computer are required. VERICUT Machine/Control Configuration: A VERICUT machine and a control file are still required for a VNCK configuration. When used with VERICUT, the VNCK program reads the NC program and passes axes positions to VERICUT. However, only axes controlled by the NC kernel (typically the machine's primary motion axes) are recognized. Any other commands, such as tool change, feed rate, pallet change, coolant, and other miscellaneous NC program codes are not recognized by the VNCK. These are typically known as "PLC" (Programmable Logic Controller) functions, outside the realm of the NC kernel. It is VERICUT's responsibility to emulate these PLC actions. A mechanism is available to register PLC commands with the VNCK, so that it can notify VERICUT when one of these commands is encountered. However, VERICUT must be configured to register each command and provide a simulation action for the event. Currently, only VERICUT NC macros configured in the Word Address dialogue may be executed. It is not possible to execute a sub-program from within VERICUT when using the VNCK control emulation. NC "ARC" Data: In addition to the usual VERICUT configuration requirements, CGTech must also copy the NC "ARC" (ARChive) data file from the physical 840D control to the simulation computer. This file must then be expanded using Siemens' ARC utility, and configured for VNCK simulation. The ARC file is then saved in a proprietary binary format for use with the VNCK. Hardware: The VNCK only works on computers running Windows 2000 and Windows XP Professional operating systems.
134
Converters and CAD/CAM Interfaces set CGTECH_VNCKAPI=C:\CGTechxx\windows\vericut\cgtvnck.dll (where xx is the VERICUT version number) A special file folder structure is also used by VERICUT-VNCK applications. The Siemens 840D expects a KONFIG.DIR folder containing the machine's definition (ARC and SRAM files) and any subroutine (SPF) files shared by multiple projects. Multiple project folders (e.g. PROJECT_1.WPD, PROJECT_2.WPD) can be defined at the same level as the KONFIG.DIR folder. Each Working Project Directory (WPD) contains the main part programs and associated subprograms (MPF and SPF files). In VERICUT, the VNCK option is selected by setting the "NC Program Type" to "Siemens VNC 840D". The following dialog will appear if VERICUT has a license for the VNCK interface:
NC Program Type Type of NC program file for VERICUT to simulate. Initial Tool When active, VERICUT loads an initial tool from a Tool Library file. This action occurs automatically when the Project file is loaded, the NC program is rewound, or the model is reset. Choose the ID of desired tool using the option list next to this feature. This feature is useful when simulating NC programs for machines that have a tool loaded at the time tool processing is started, therefore do not have information about the first tool. VNCK Control File Selects a DAT, ARC or INI file from the konfig.dir folder associated with the machine and project being simulated. As described above, a SRAM (.dat) file is recommended, however ARC and INI files can also be directly used.
136
Converters and CAD/CAM Interfaces Main Toolpath (MPF) Selects the NC program being simulated. The main program must have an "mpf" extension and should reside in the "project.wpd" folder if it is not an external MPF. External MPF Indicates the MPF does not reside in the WPD folder. The 840D has additional restrictions regarding "external files" defined in Siemens documentation. Working Project Directory Select the WPD folder for the application being simulated. Note that this folder must have a ".wpd" appended to its name and must have the same parent folder as the "konfig.dir" folder. Stop VNCK This button will kill the VNCK process. It should only be used if communications between VERICUT and the VNCK is lost. The VNCK is booted the first time PLAY or SINGLE-STEP is requested in VERICUT. Normally there is a several second delay before control returns to VERICUT. The status of the boot operation is displayed in the VERICUT logger. The RESET operation in VERICUT initializes the system for a new simulation. During a RESET, the VNCK is shutdown and rebooted to reset its memory to the initial state. This typically adds several seconds to the normal VERICUT RESET operation. VERICUT tool definitions and offset registers are passed to the VNCK during the VNCK boot phase. This information is written to a "VericutVNCK.ini" file residing in the "konfig.dir" folder. All tools including any compensation values (D2, D3, etc.) used in the MPF must be defined in VERICUT's tool manager before starting a VNCK simulation. The VNCK will generate an alarm if a tool is not defined when referenced in the MPF. Future versions of the VNCK will allow direct interface calls to replace the need for the VericutVNCK.ini file. VNCK messages and alarms are displayed in the logger and written to the VERICUT log file. In addition, interactions between VERICUT and the VNCK can be recorded in the G-Code log file. This trace information is recorded when the "Debug Marco Arguments" option is selected. During simulation, a "Single Step" request in VERICUT might result in several blocks of the NC program being processed. This is because the VNCK reports motion, tool change, and M-code events, but does not report all program blocks being processed. Non-motion blocks (variable assignments, conditional statements, subroutine calls, etc.) may be combined into a single step before results are reported to VERICUT. During a VNCK simulation the VERICUT Toolpath window shows a pointer to the current block of the MPF being processed. When subroutines are called, the Toolpath window will only display the SPF file if it has been declared as a subroutine in G-Code Settings (ref. Project menu > Processing Options > G-Code > Settings > Subroutine tab in the VERICUT Help section, in the CGTech Help Library). Most VNCK alarms need to be resolved before simulation can be completed. The Siemens diagnostic document "840d_da.pdf" provides additional problem descriptions
137
Converters and CAD/CAM Interfaces which may be helpful resolving alarms. The VNCK error identification is displayed in the logger window and can be used with the "840d_da.pdf" to obtain the complete error description. During a VNCK simulation the VERICUT dialog for variables (ref. Project menu > Processing Options > G-Code > Variables in the VERICUT Help section, in the CGTech Help Library) will display updated values for Tracking Variables. Note that the VNCK reports variable values when they are processed in the "Preparatory" phase. Since the Preparatory phase may be several blocks ahead of the current motion block, the values may change before the toolpath window indicates the block has been processed. Also see the restriction below for variables. The VNCK calculates the time during a simulation and this time value is used to update the VERICUT status information. VERICUT Control Files The VERICUT CTL file is used to process tool change events, M-codes, and speed-feed settings. The initial implementation does not support VERICUT sub-systems and control file subroutines. Two special CTL words have been used to handle tool selection and tool changes. These are "VNCK_TOOLSELECT" and "VNCK_TOOLCHANGE". The CTL file must be modified to define these words and associate the correct macros with them for VERICUT tool changes. Machine File Changes The machine tool builder chooses names for the axes defined in the 840D ARC file. During the VNCK boot phase, the VNCK provides these configuration names to VERICUT so they can be matched with VERICUT axes components. The VERICUT components should be renamed to agree with the ARC file names. If the axes names are not known, they can be located in the ARC file by searching for definitions similar to those shown below: N10000 $MN_AXCONF_MACHAX_NAME_TAB[0]="X1" N10000 $MN_AXCONF_MACHAX_NAME_TAB[1]="Y1" N10000 $MN_AXCONF_MACHAX_NAME_TAB[2]="Z1" N10000 $MN_AXCONF_MACHAX_NAME_TAB[3]="B1" N10000 $MN_AXCONF_MACHAX_NAME_TAB[4]="SP"
138
Converters and CAD/CAM Interfaces Restrictions 1. In-Process (IP) files are not operational with the VNCK since the VNCK can not again be synchronized with VERICUT when the IP file is later restored. An error message is displayed if a VNCK session attempts to save an IP file. 2. The VNCK supports turning applications, however, turning has not been implemented in the initial VERICUT-VNCK interface. 3. The VNCK supports multiple channels, however, the relation between multiple channels and VERICUT sub-systems has not been implemented in the initial VERICUT-VNCK interface. 4. During the VNCK boot process, all MPF and SPF files in the WPD folder are loaded into the VNCK's memory. Large programs may overflow the available VNCK memory producing a "NC Memory Full" alarm and truncating the file. If this occurs, move the files to a separate folder and check the "External MPF" box on the Toolpath dialog. 5. During simulation, VERICUT and the VNCK exchange asynchronous messages. Errors have occurred causing the VERICUT to lose its connection with the VNC Server. VERICUT will wait for 30 seconds before admitting a failure. Report this problem and restart your job. 6. OptiPath and Curve Fit are not supported in the VERICUT-VNCK system. These options require the original tool path file which is not being read and parsed by VERICUT when the VNCK is active. 7. The number of variables being watched is limited to 5 with VNCK version 1.40.10.0. This limitation should be removed in future versions of the VNCK.
139