Converters and CAD/CAM Interfaces
Converters and CAD/CAM Interfaces
Converters and CAD/CAM Interfaces
VERICUT Converters
The CAD Model Converter converts (translates) CAD models in various formats to
Stereolithography (STL) or VERICUT Polygon model files. This converter is used to
import complex castings, clamps, fixtures, and other 3-D design models into VERICUT.
Converted data can also be used with AUTO-DIFF to verify the machined part is as
expected.
The following CAD model formats are currently supported:
CATIA V4 R14
CATIA V5 R14
STEP
SAT
CAD model data can be converted interactively in VERICUT (File menu > Convert >
CAD Model), via batch processing, or as a stand-alone utility outside of VERICUT by
running the CAD Model Converter "cad2v" command file located in the "commands"
directory of your VERICUT installation.
1
Converters and CAD/CAM Interfaces
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.)
2
Converters and CAD/CAM Interfaces
Use the CAD Model Converter and the procedure below to convert CAD model data to
VERICUT or STL model files. Supported CAD model formats include: CATIA V4 R14,
CATIA V5 R14, STEP, and SAT.
NOTE: CAD model data can also be converted via batch processing.
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.
3
Converters and CAD/CAM Interfaces
IGES Converter
The IGES Converter converts (translates) geometry conforming to the IGES (Initial
Graphics Exchange Specification) 5.0 specification to Stereolithography or VERICUT
Polygon model files. This converter lets you make the most of your existing CAD data by
enabling you to import complex castings, clamps, fixtures, and other 3-D design models
into VERICUT. IGES data can also be used with AUTO-DIFF to verify the machined
part is as expected. IGES data can be converted interactively in VERICUT, via batch
processing, or outside of VERICUT by running the "iges2v" command file.
4
Converters and CAD/CAM Interfaces
5
Converters and CAD/CAM Interfaces
The IGES Converter converts (translates) IGES solid and surface geometry to
Stereolithography or VERICUT Polygon model files. This converter is used to import
complex castings, clamps, fixtures, and other 3-D design models into VERICUT. IGES
data can also be used with AUTO-DIFF to verify the machined part is as expected.
IGES data can be converted interactively in VERICUT, via batch processing, or as a
stand- alone utility outside of VERICUT by running the IGES Converter "iges2v"
command file located in the "commands" directory of your VERICUT installation.
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.
6
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.
7
Converters and CAD/CAM Interfaces
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.)
8
Converters and CAD/CAM Interfaces
Use the IGES Converter and the procedure below to interactively convert IGES data to
VERICUT or STL model files.
NOTE: IGES data can also be converted via batch processing.
9
Converters and CAD/CAM Interfaces
PolyFix Converter
10
Converters and CAD/CAM Interfaces
The PolyFix Converter ensures the surface normals of Stereolithography (STL) and
VERICUT Polygon Model files point uniformly outward from the model surface. Model
files with inconsistent normals often appear OK in VERICUT until the solid model
database is established, such as occurs when cutting is started or the model analyzed. It is
a one time effort to repair an inconsistent polygon model file. After repair, the model data
will be processed much faster and more reliably. Model files can be repaired interactively
in VERICUT, via batch processing, or as a stand-alone utility outside of VERICUT by
running the "polyfix" command file located in the "commands" director of your
VERICUT installation.
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.
11
Converters and CAD/CAM Interfaces
Output File Type — Same as Input File Type, except is applicable to the output file.
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.)
12
Converters and CAD/CAM Interfaces
Use the PolyFix Converter and the procedure below to repair surface normals of STL
and VERICUT model files. PolyFix repairs the normals to ensure they point uniformly
outward from the model surface.
NOTE: Normals can also be repaired via batch processing.
13
Converters and CAD/CAM Interfaces
The Surface to Solid Converter creates solid models from open surface STL and
VERICUT Polygon Model files. Parent surface(s) can be offset, and then projected to a
plane to create a solid model. This converter is particularly useful to create
casting/forging stock models from design surface data. The Surface to Solid Converter
has the ability to output data as VERICUT or STL model files, in ASCII or binary file
format. Solid model files can be created from surfaces interactively in VERICUT, via
batch processing, or outside of VERICUT by running the "sur2stk" command file.
14
Converters and CAD/CAM Interfaces
The Surface to Solid Converter creates solid models from open surface STL and
VERICUT Polygon Model files. Parent surface(s) can be offset, and then projected to a
plane to create a solid model. This converter is particularly useful to create
casting/forging stock models from design surface data. The Surface to Solid Converter
has the ability to output data as VERICUT or STL model files, in ASCII or binary file
format. Solid model files can be created from surfaces interactively in VERICUT, via
batch processing, or as a stand-alone utility outside of VERICUT by running the
"sur2stk" command file located in the "commands" directory of your VERICUT
installation.
15
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 UG 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.
16
Converters and CAD/CAM Interfaces
Use the Surface to Solid Converter and the procedure below to create solid models from
open surface VERICUT or STL model files. This converter is particularly useful to create
casting/forging stock models from design surface data.
NOTE: Surface data can also be converted to solid models via batch processing.
17
Converters and CAD/CAM Interfaces
Error and informational messages from the process are sent to the Surface to Solid
Converter window message area.
18
Converters and CAD/CAM Interfaces
VDASF Converter
The VDASF Converter converts (translates) geometry conforming to the VDA (Verband
der Automobilindustrie Surface Interface) 2.0 specification to Stereolithography or
VERICUT Polygon model files. This converter lets you make the most of your existing
CAD data by enabling you to import complex castings, clamps, fixtures, and other design
models into VERICUT, as well as generate design point data for use by the AUTO-DIFF
function in VERICUT. VDA data can be converted interactively in VERICUT, via batch
processing, or outside of VERICUT by running the "vda" command file.
19
Converters and CAD/CAM Interfaces
Input File — Name of the file containing the VDA data to convert.
Output File — Name of the file to receive converted geometry.
20
Converters and CAD/CAM Interfaces
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.
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 Surface to Solid Converter window.
Help — Displays this Help page. (You can also use the F1 key to display this Help page.)
21
Converters and CAD/CAM Interfaces
Use the VDA Converter and the procedure below to convert VDA data to VERICUT or
STL model files, or Design Points files for use by the AUTO-DIFF function.
NOTE: VDA data can also be converted via batch processing.
To convert VDA data to VERICUT or STL model files, or Design Points files:
1. Access the VDA Converter window: in VERICUT select File menu > Convert
> VDAFS.
You can also run this converter outside of VERICUT via the "vda" 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 VDA
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. If unknown choose
INCONSISTENT.
6. Enter the Tolerance allowed from the VDA surface for surface approximation.
7. Click Process.
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.
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.
22
Converters and CAD/CAM Interfaces
Binary CL Converter
The Binary CL Converter converts binary APT CL data into ASCII low level APT tool
path files. Binary CL data is the pre-processed NC data typically sent to a post-processor.
Binary CL data files can be converted interactively in VERICUT, via batch processing,
or as a stand-alone utility outside of VERICUT by running the "bincl2v" command file
located in the "commands" directory of your VERICUT installation.
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.
APT Table File — Name of the APT Table file containing information for converting
binary APT data into ASCII APT tool path records.
23
Converters and CAD/CAM Interfaces
24
Converters and CAD/CAM Interfaces
Use the Binary CL Converter and the procedure below to convert binary APT CL data
into ASCII low level APT tool path files.
NOTE: Binary APT data can also be converted via batch processing.
25
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.
26
Converters and CAD/CAM Interfaces
CAD/CAM Interfaces
VERICUT has the ability to display and analyze geometric models as well as simulate
cutter motion and the material removal of an NC tool path. It also verifies the quality and
correctness of the tool path. Programming errors or inefficient motion are visually
detected during the simulation process, which aids the NC programmer in correcting the
tool path. Measurement tools are used at any time during the simulation process to verify
or compute the volume, distances and locations, as well as to compare various stages of
the "cut" part with other stages or with the "design" part.
27
Converters and CAD/CAM Interfaces
28
Converters and CAD/CAM Interfaces
The "catv" command file contains the UNIX export commands required to allow
VERICUT to be operated from CATIA. Site specific CATIA execution environments
should be modified to incorporate CATV by adding these commands to the CATIA
execution environment. When CATIA is executed via a command other than the "catv"
command file created during installation, then CATV may not be available during that
CATIA session.
After executing CATIA with CATV, select COLD ST and the CATIA main menu
appears with the "CATV" function included in the function list (right column). Use the
left mouse button to select CATV from the function list and the CATV menus are
displayed.
29
Converters and CAD/CAM Interfaces
This section documents supported versions of CATIA, and the procedure for installing
CATV.
CATV installation
Follow the general procedure below to install CATV. System-related steps may require
"root" permissions to accomplish-see your system administrator for assistance.
30
Converters and CAD/CAM Interfaces
1. Assuming CATIA has already been installed, install VERICUT (includes the
CATV software) per the VERICUT installation instructions.
IMPORTANT! CATIA requires that the directory path to CGTech
product licensing be a maximum of 24 characters. Choose an
installation directory for CGTech products that does not violate this
requirement or CATV may not operate correctly. For example,
installing VERICUT on an RS computer in the "/usr/cgtech" directory
provides a 22 character path: "/usr/cgtech/rs/license".
2. Edit the "CATIA.dcls" Declarations file (located in the "catv/dec" directory) to
declare directories CATV can write files to.
CATV must be able to write files during export and transfer operations. By
default, the user's home and present working directories are declared for CATV
access. Edit the "Output files for CATV" section in the CATIA.dcls file to add
any additional directories you want CATV to be able access.
Example edited "Output files for CATV" section in a CATIA.dcls file (added
directory "/users/user2/CATIA"):
:
/* Output files for CATV */
alias VCN00001 = catia.VCNFILES = ‘$PWD’;
alias VCN00002 = catia.VCNFILES = ‘$HOME’;
alias VCN00003 = catia.VCNFILES = `/users/user2/CATIA'; <== added
this entry
/* DO NOT MODIFY BELOW THIS LINE; reserved for CATV */
:
3. Incorporate CATV into your normal CATIA environment. One way to do this is
to append the Declarations file ".../catv/dcls/CATIA.dcls" to the "USRENV.dcls"
file in each user's local directory.
4. Start CATIA with CATV.
After completing the previous step and assuming VERICUT is licensed and
operational, you should be able to start CATIA with CATV via your usual means.
If CATIA does not start, DO NOT CONTINUE-see your CATIA system
adminstrator for assistance.
5. In CATIA, add the "CATV" function to the CATIA keyboard, for example:
a. From the CATIA FILE menu, select the KEYBOARD function.
b. Choose CATV from the list of available functions.
c. Choose a location on the CATIA keyboard where the CATV function is to
reside.
31
Converters and CAD/CAM Interfaces
Once configured in this manner, CATV should remain accessible for subsequent CATIA
sessions.
32
Converters and CAD/CAM Interfaces
33
Converters and CAD/CAM Interfaces
The following overview describes how CATV is used with VERICUT to simulate the
cutting action of CATIA-generated tool paths.
1. Prepare CATIA model/tool path data — In CATIA, create the necessary model
geometry and tool paths to simulate in VERICUT.
2. Select CATIA geometry to use in VERICUT — Use GEOMETRY menu
functions to select the CATIA geometry to use in VERICUT as stock, fixture, and
design models. Solids, volumes, faces, skins, and surfaces are selectable for these
models. You can also select 2-D lines and arcs that represent cutting tool profiles,
including non-cutting shanks and holders so VERICUT can check for
interference.
3. Select a tool path to simulate — Use TOOLPATH menu functions to select one
or more CATIA binary CL-files or ASCII APT source tool path files for
VERICUT to simulate.
4. Process (export) the CATIA data and run VERICUT — Use PROCESS menu
functions to process (export) selected CATIA data. After processing the CATIA
data, use functions in this menu to run VERICUT interactively or in batch mode.
When VERICUT is run interactively, all that's left to do is press Play to End ( ) to
start the simulation.
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,
consult ERRORS and Problem Solving for problem descriptions and possible solutions.
34
Converters and CAD/CAM Interfaces
Part geometry can be selected in any order, for example: stock-fixture-design, fixture-
stock-design, etc. CATIA highlights selected geometry. Selections for each of the part
geometry options 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.
NOTE: It is not recommended to use the CATIA "MULTI-SELECT" feature because
hidden (invisible) geometry may also be selected.
35
Converters and CAD/CAM Interfaces
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.
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).
After selecting tool geometry, use the CATV TRANSFER function to export the
selected CATIA geometry.
36
Converters and CAD/CAM Interfaces
VERICUT FastMill or turned part models can easily be imported into CATIA. Prior to
importing, the VERICUT model must first be exported from VERICUT via the File
menu > Export Model function. The imported VERICUT model can be a CATIA exact
solid, or net surface.
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.
37
Converters and CAD/CAM Interfaces
You can select one or more CATIA-generated APT source or binary CL-file tool paths to
transfer to VERICUT for simulation. Multiple tool paths are concatenated during transfer
in the order of selection into one tool path file.
After selecting tool geometry, use the CATV TRANSFER function to export the
selected CATIA geometry.
38
Converters and CAD/CAM Interfaces
Follow the procedure below to transfer selected CATIA data to VERICUT. The terms
"transfer" and "export" are synonymous since the transfer process exports selected
CATIA data to VERICUT files. Output files are stored in the directory specified by the
OUTPATH function, therefore, set the outpath before transferring CATIA data to
VERICUT.
Part geometry:
4. Set the MAXIMUM SAG deviation tolerance to triangulate part geometry, press
<Enter>.
5. Choose the desired FILE TYPE for part geometry model files.
6. Choose FILE FORMAT for part geometry model files - BINARY is
recommended for fastest processing, and smallest file sizes.
7. When FILE TYPE=VERICUT, choose the NORMAL DIRECTION which
describes the CATIA defined surface normal vector directions for the models.
8. Choose the AXES SYSTEM in which to transfer geometry - REFERENCE is
recommended for VERICUT to automatically align transferred CATIA tool paths
to models.
All transfer processes:
9. Choose a TRANSFER option that specifies the desired data to transfer.
10. Verify the VERICUT OUTPATH directory where files will be stored is correct.
To change, use the PROCESS menu > OUTPATH function.
11. Verify that the CLFILE INPUT PATH and TOOLPATH FILE shown in
window below the TRANSFER window are correct. To change, use functions in
the TOOLPATH menu.
12. Select "YES" to approve, and begin the transfer process.
39
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.
40
Converters and CAD/CAM Interfaces
During a transfer operation, files are generated by CATV containing the selected CATIA
part, tool, and/or tool path data. You can set the "outpath" to any directory that has been
declared to receive files output from CATV. (See how to declare a directory) You must
have appropriate permissions to write files in the directory designated as the outpath, or
CATV will not be able to process selected CATIA data.
41
Converters and CAD/CAM Interfaces
You can run VERICUT from CATIA interactively, or in batch mode. VERICUT
automatically finds previously transferred data to provide immediate verification of
CATIA - generated geometry and tool path data. While VERICUT is running, the
CATIA window is stall accessible.
Run interactively — to open the VERICUT window for access to all VERICUT
functions and capabilities.
Run in batch mode — to run VERICUT unattended in the background. When the
simulation is finished, the VERICUT window “pops open” to show you the results.
The following procedures assume CATIA geometry and tool paths have already been
transferred for access by VERICUT.
2. The VERICUT window opens. Press Play to End ( ) to start the simulation.
The VERICUT window does not open immediately. When the simulation is finished, the
VERICUT window "pops open" to show you the results.
42
Converters and CAD/CAM Interfaces
Functions in this menu indicate how VERICUT uses CATIA geometry selected for
transfer, or imports VERICUT simulated cut part geometry into CATIA.
Menu functions:
PART
Location: GEOMETRY menu > PART
This function controls how selected CATIA geometry will be used in VERICUT as stock,
fixture, or design models, or to import VERICUT simulated cut part geometry into
CATIA.
Selectable PART geometry includes: solids, volumes, surfaces, faces, skins, or entity
labels corresponding to any of these geometry types.
Options:
STOCK — Click this option to select geometry to represent the raw stock workpiece
to be machined.
FIXTURE — Click this option to select geometry to represent the fixture used to
hold the stock for machining.
DESIGN — 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.
IMPORT — Click this option to import VERICUT cut part geometry into CATIA.
The VERICUT cut model must have been exported from VERICUT via the File
menu > Export Model function prior to importing into CATIA. Also, ensure CATIA
has adequate Table Space to receive imported model data, otherwise an error similar
to "TABLES FULL" may be issued by CATIA.
43
Converters and CAD/CAM Interfaces
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.
NOTE: The AXIS must be selected before CUTTER, SHANK or HOLDER
geometry. Selection order of profile entities is significant-see "Selecting tool
geometry" below.
CUTTER — Click this option to select geometry to represent the profile of the cutter
(cutting portion of the tool).
SHANK — Click this option to select geometry to represent the profile of the non-
cutting shank.
44
Converters and CAD/CAM Interfaces
HOLDER — Click this option to select geometry to represent the profile of the tool
holder; also considered to be non-cutting.
45
Converters and CAD/CAM Interfaces
Functions in this menu are used to select CATIA-generated APT source or binary CL-file
tool paths for transfer to VERICUT.
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.
46
Converters and CAD/CAM Interfaces
Functions in this menu process (export) selected CATIA data, and run VERICUT
interactively or in "batch" mode.
Menu functions:
TRANSFER
Location: PROCESS menu > TRANSFER
This function exports or transfers selected CATIA data to VERICUT. Tolerances, file
formats used during part geometry transfer, and the base filename for files created during
the transfer process are controlled by this function. Be sure to press <Enter> after editing
any of the data fields.
FILE NAME — Specifies the base filename of files created during the transfer process.
During a transfer, files patterned after the project FILE NAME are created in the
directory specified by the OUTPATH function. For example, assuming the project name
is "PROJ", the table below shows the files that could be created, depending on what was
selected for transfer. Subsequent transfer operations with the same file name causes
project files to be overwritten. An exception is made for transferring tool geometry,
where the new tools are added to the existing VERICUT Tool Library file (see below).
CATIA data selected for transfer: File name (VERICUT file type):
APT source tool path (.aptsource) PROJ.tp (ASCII APT toolpath file)
CATIA binary CL-file tool path (.clfile) PROJ.tp (converted ASCII APT toolpath
file)
47
Converters and CAD/CAM Interfaces
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.
48
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 ( ) in VERICUT to start
the simulation.
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.
49
Converters and CAD/CAM Interfaces
This example demonstrates how to execute CATIA with CATV and interact with CATV
via standard CATIA user actions. Follow the steps in this example to transfer CATIA
data and use VERICUT to simulate the cutting action of a CATIA tool path.
NOTE: This example assumes VERICUT sample files have been installed ("samples"
directory in your VERICUT installation).
Example Steps:
1. Run CATIA with CATV
A. Access CATIA with CATV via the usual means. For example, in a terminal
window type "catv". After a few seconds, the CATIA window appears.
B. Select COLD ST (cold start)
50
Converters and CAD/CAM Interfaces
9. Exit VERICUT
A. From the VERICUT File menu, select Exit.
B. "Save changes to usr file" prompt, select No.
51
Converters and CAD/CAM Interfaces
52
Converters and CAD/CAM Interfaces
Prerequisites
CATV 6.1 requires CATIA V5 (R10 or later) and VERICUT 6.0 (or later. It is only
available for the 32bit and 64bit Windows platforms.
1. "Windows Script" should be version 5.6 or later. The latest version of Windows
Script is available from Microsoft's download site. Search for "Windows Script"
and pick the latest version offered. Note that there is one download for Windows
2000 and XP, and another for 98, ME and NT.
2. A dynamic link library, FM20.dll, which is distributed with Microsoft Office. If
some portion of Office is installed then FM20.dll should already be present (in the
"Windows/System32" folder) and registered.
Installation
The CGTech software installation procedure places the files required by CATV in a sub-
folder. If you elected to install the software in the default folder "C:\CGTech61" (which
will be assumed in the balance of this document), then the CATV folder will be
"C:\CGTech61\Windows\CATV5".
One of the files is "CATV.bat", which sets at least two environment variables before
invoking the executable "CATV.exe". The first environment variable is
CGTECH_PRODUCTS and it points to the platform specific folder of the CGTech
software. For CATV the platform is either "windows" or "windows64". The second
environment variable is CGTECH_LIBRARY and it points to the folder containing
VERICUT specific files distributed with the product. These include "init.VcProject" and
"initm.VcProject" which are used by "CATV.exe" as project and setup templates if no
other file is specified by the user. "CATV.bat" is generated during the installation
procedure and there should be no need to edit the definition of either of these mandatory
environment variables.
53
Converters and CAD/CAM Interfaces
You can place a shortcut to the CATV batch file on your Windows Desktop. If you do
so, we suggest that you alter the properties of the shortcut so that it runs in a minimized
window. This will avoid having an almost empty command window on screen for the
batch process. An alternative is to trigger the batch file from an icon on one or more of
CATIA's toolbars. To assist in setting this up, there is a CATIA macro script in the
CATV5 folder, called "CATV.CATScript". There are two icon files in sub-folders,
"Small\I_CATV.bmp" and "Normal\I_CATV.bmp".
If you wish to have an icon ( ) on a CATIA toolbar, the two icon files must be placed
where CATIA expects to find them. The paths depend on where you have CATIA
installed, but typically you will find a "small" and "normal" folder under "C:\Program
Files\Dassault Systemes\B16\intel_a\resources\graphic\icons". Place the two versions of
the CATV icon, both called "I_CATV.bmp", in the appropriate folders.
54
Converters and CAD/CAM Interfaces
16. Back on the "Customize" dialog, position the mouse cursor over the name of the
macro, CATV.CATScript, in the right-hand list, depress the left mouse button,
and drag the cursor to the toolbar where you want the icon to appear. It's counter-
intuitive, but you drag the macro name, not the icon! Repeat this step if you want
the icon to appear on more than one toolbar.
17. "Close" the "Customize" dialog.
55
Converters and CAD/CAM Interfaces
When you trigger CATV, either with the toolbar icon ( ) or from the operating system
level, you should see a window similar to this;
56
Converters and CAD/CAM Interfaces
CATIA can have more than one CATProcess file open at once. CATV is not aware when
you switch between files in CATIA. This 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;
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
Converters and CAD/CAM Interfaces
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 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 unchecking 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.
If all part operations in the CATProcess use the same machine, and that machine is
defined in the project template file, you could leave this field blank. If there are several
58
Converters and CAD/CAM Interfaces
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.
Typically you would have CATV generate tool libraries (with the ".tls" extension) from
the tool data in the CATProcess file. But you can elect to use an existing tool library
which is referenced by your setup (or project) template file, by clicking on the first of
these two check-boxes. Using this option implies that you are sure that the tool geometry
present in the CATProcess file is accurately represented in the referenced library.
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 use the view (or views)
already established in the setup (or project) template file, you can click on the second
check-box.
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
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 blue button, another dialog is displayed;
60
Converters and CAD/CAM Interfaces
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.
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. To exit selection mode without making a choice, use
CATIA's "Edit" > "Undo" option. 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 field.
If the first of these two fields 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
61
Converters and CAD/CAM Interfaces
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. To exit selection mode without making a choice, use
CATIA's "Edit" > "Undo" option. 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 first of these two fields.
In the second 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 post's full
path and name into this 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.
62
Converters and CAD/CAM Interfaces
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
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.
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.
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;
63
Converters and CAD/CAM Interfaces
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.
Specify here 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. G-
Code programs produced by a post that is not accessible within CATIA would be a good
example.
64
Converters and CAD/CAM Interfaces
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 there other tables that you could use to
65
Converters and CAD/CAM Interfaces
locate the NC programs relative to the machine axes. For example, you may wish to use a
"Work Offsets" table for register 54. And you could associate the machining axis system
to a different component of the machine, such as a head or turret. In the first of the three
boxes in this dialog, you can enter the required parameters. There are four choices of
table name in the drop-down list, but you can enter a different name if necessary.
When CATIA uses a post to generate the NC programs, the tool identifiers within the G-
Code can be extracted from several of the tool or assembly's parameters. Typically the
tool number (for a milling tool) or the assembly number (for a turning tool) are used. But
a post could access names or comment fields too. In the second of the three boxes you
can select which field contains the tool identifiers, and in the lowest box you can 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" dialog will disappear.
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.
66
Converters and CAD/CAM Interfaces
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.
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
Converters and CAD/CAM Interfaces
EdgeCAM-to-VERICUT Interface
Six files are required to install the VERICUT interface in an existing EdgeCAM 10.0
system. Four of these files are language dependent and must be copied from the
appropriate English, French, or German folder. The distributed files are:
VericutPDI.exe
VericutSetPDI.exe
VericutPDI.dfn (language dependent)
VericutPDI.pdi (language dependent)
VericutSetPDI.pdi (language dependent)
VericutPDI.lan (language dependent)
EdgeCAM checks file dates of "dfn" and "pdi" each time it executes and updates the
master menu file when new files are detected. The file date for the VericutPDI.dfn,
VericutPDI.pdi, and VericutSetPDI.pdi files must be newer than the last time EdgeCAM
updated its master menu file. After moving the above files to their proper locations, use a
68
Converters and CAD/CAM Interfaces
text editor to force the VericutPDI.dfn, VericutPDI.pdi, and VericutSetPDI.pdi file dates
to a current value. You only need to do this once before starting EdgeCAM.
The folder path where Vericut is installed must be defined in an environment variable for
the EdgeCAM interface PDI to spawn the VERICUT process. For example:
CGTECH_INSTALL=C:\CGTech60\
69
Converters and CAD/CAM Interfaces
Starting with EdgeCAM Version 10 and VERICUT Version 6.0, this interface transfers
multiple EdgeCAM Machining Sequences to corresponding VERICUT Setups.
The interface is divided into two steps. The first step collects and saves options for each
Machining Sequence. The second step transfers the data and executes VERICUT.
Enter or modify the dialog features to define options and where the working files are
located. This data is retained as an attribute associated with the EdgeCAM machining
sequence name and saved in the EdgeCAM part file. The last values entered will be
recalled when the EdgeCAM-to-VERICUT Interface is reused.
70
Converters and CAD/CAM Interfaces
FastMill Cut Mode — When toggled "On", runs VERICUT in the "FastMill" cut
mode where all toolpath records are processed as quickly as possible without
displaying animated cutting, then the final machined workpiece is displayed.
Create Tool Library — When toggled "On", the interface creates a VERICUT tool
library. Otherwise, the tool library associated with the VERICUT User File Template.
Output User File — Path to where the VERICUT tool library and addusr file should
be written. The file name entered will be used for the addusr file, the tool library, and
any stock files created. Defaults to the current EdgeCAM part name.
ToolPath File — Path and name of the G-code file being simulated. Defaults to the
last file postprocessed by EdgeCAM.
Vericut Template — Path and name of a VERICUT user file containing the correct
machine and control to be simulated. This Template File must also define the "Input
Program Zero" table from component "Tool" to CSYS "Prog_Zero".
The EdgeCAM dialog text entries are limited to a fixed width. You can scroll to enter a
long path name or use the Browse button.
The Offsets tab enables the EdgeCAM stock (also fixtures and the design model) to be
translated from the component attach point on the VERICUT machine. The default
"Apply to Program Zero" relationship with the values allows the program zero to follow
the XYZ offset values. The EdgeCAM stock can be attached at the center of rotation for
multi-axis programs or at the initial CPL defined with EdgeCAM's machining sequence
for most 3-axis programs.
71
Converters and CAD/CAM Interfaces
Attach Stock at Center of Rotation — When toggled "On", stock is attached at the
center of rotation.
Apply to Program Zero — When toggled "On", 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 > Extras > Run
Vericut Setup.
The following dialog should display:
Batch Mode — When toggled "On", 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.
Click OK when entries on all tabs are complete to transfer information and control to the
VERICUT process.
72
Converters and CAD/CAM Interfaces
73
Converters and CAD/CAM Interfaces
74
Converters and CAD/CAM Interfaces
Installation
The VERICUT C-Hook is for Mastercam V9. It is distributed as three files;
VERICUT.dll (the code)
VERICUT.txt (message text)
VERICUT.scr (dialog script)
The text and script files can be localized where desired. All three files should be placed in
Mastercam's "chooks" folder, which is one level down from the Mastercam installation
folder (for example C:\Mcam9\chooks).
Preparation
Mastercam V8 does not carry as much information about units in an ".MC8" file as
version 9 does in its ".MC9" files. Before using the VERICUT C-Hook with a Mastercam
V8 file, you need to ensure that it will be able interpret the units correctly. Having
retrieved an ".MC8" file with "File > Get", use "Screen > Configure" to bring up the
"System Configuration" dialog. In the low-left corner you will see a choice box labeled
"Current Configuration File" and each choice has "(English)" or "(Metric)" after the file
name. You need to ensure that the selected file has the same units as the job's stock. For
example, if you are using "Mill 9", you could select "Mill9.cfg (English)" or "Mill9M.cfg
(Metric)" depending on whether the job's units are inches or millimeters.
Access
Start Mastercam using one of the mastercamx.bat files located in the "commands" folder
of your VERICUT installation. Included are .bat files for the Mastercam MILL8 and
MILL9 modules. To access VERICUT from another Mastercam module, for example
LATHE, create a separate .bat file (using the included .bat files as an example) for each
additional Mastercam module that you want to access VERICUT from.
75
Converters and CAD/CAM Interfaces
NOTE: If you choose to use the "standard" Mastercam icon to start Mastercam, instead
of using one of the mastercamx.bat files provided, you also need to define the following
environment variables to enable the C-Hook to find VERICUT and the license
environment;
Environment Variable
Variable Value
Name
CGTECH_INSTALL C:\CGTech60x
LSHOST server_name
Where CGTECH_INSTALL is set to the top level folder where VERICUT 6.0.x is
installed. And LSHOST is set to the name of the license server computer.
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 C-
Hooks. 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 key-
stroke 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*".
76
Converters and CAD/CAM Interfaces
Installation
The VERICUT C-Hook is for Mastercam X. It is distributed as four files;
VERICUT.dll (the code)
VericutSupport.dll (supporting code)
mcRes.local (language translation)
VERICUT.ft (used to map an Icon into the Mastercam menu interface)
The two .dll files and the .ft file should be placed in Mastercam's "chooks" folder, which
is one level down from the Mastercam installation folder (for example
C:\McamX\chooks). The file mcRes.local should be placed in the Mastercam installation
folder.
To enable the C-Hook to find VERICUT, you also need to define two environment
variables, CGTECH_INSTALL and LSHOST.
For example;
Environment Variable
Variable Value
Name
CGTECH_INSTALL C:\cgtech61
LSHOST server_name
Where CGTECH_INSTALL is set to the top level folder where VERICUT 6.1 is
installed. And LSHOST is set to the name of the license server computer.
Use the Microsoft Windows Control Panel > System Properties: Advanced tab,
Environment Variables feature to define these environment variables. See Microsoft
Windows Help for more information.
77
Converters and CAD/CAM Interfaces
Access
To trigger the Net-Hook while in Mastercam, 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.
78
Converters and CAD/CAM Interfaces
Preparation
Mastercam V8 does not carry as much information about units in an ".MC8" file as
version 9 does in its ".MC9" files. Before using the VERICUT C-Hook with a Mastercam
V8 file, you need to ensure that it will be able interpret the units correctly. Having
retrieved an ".MC8" file with "File > Get", use "Screen > Configure" to bring up the
"System Configuration" dialog. In the low-left corner you will see a choice box labeled
"Current Configuration File" and each choice has "(English)" or "(Metric)" after the file
name. You need to ensure that the selected file has the same units as the job's stock. For
example, if you are using "Mill 9", you could select "Mill9.cfg (English)" or "Mill9M.cfg
(Metric)" depending on whether the job's units are inches or millimeters.
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 C-
Hooks. 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 key-
stroke 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*".
79
Converters and CAD/CAM Interfaces
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;
CGTECH_MCAM_FOLDER C:\Temp
80
Converters and CAD/CAM Interfaces
If you wish to verify G-code data previously generated by one of Mastercam's post-
processors, 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 G-
codes 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.
81
Converters and CAD/CAM Interfaces
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.
Use
When you invoke the C-Hook the following dialog will display:
82
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,
CGTECH_MCAM_FOLDER C:\Temp
If you wish to verify G-code data previously generated by one of Mastercam's post-
processors, 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.
83
Converters and CAD/CAM Interfaces
For example,
CGTECH_MCAM_NOTE_LEVEL 42
Restrictions
1. Custom tool geometry is not supported.
2. Direct 4 axis wire EDM toolpaths are not supported for NCI verification, but their G-
codes 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.
84
Converters and CAD/CAM Interfaces
85
Converters and CAD/CAM Interfaces
Working Directory — Enter the /path/ to the directory where you want the VERICUT
files output ( .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.
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.
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
block or cylinder which would otherwise be derived from the Mastercam job setup
information.
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.
Attach Component Name — Enter the name of the VERICUT attach component
that is to be used for the current operation.
86
Converters and CAD/CAM Interfaces
Program Zero From Component — Enter the name of the component that
represents the "from" point for determining the program zero offset. 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. 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.
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.
87
Converters and CAD/CAM Interfaces
88
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.
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 UG part file.
89
Converters and CAD/CAM Interfaces
TDM Interface
The VERICUT to TDM interface "pulls" information out of TDM Systems', Tool Data
Management (TDM) system, unlike all our other CAD/CAM interfaces which "push" the
information out of the CAD/CAM system. A running VERICUT session connects to the
TDM database through Oracle (version 8i is the latest version supported by TDM), then
retrieves information from TDM using a series of database "queries". TDM replaces the
VERICUT tool library, thus when using TDM there is no tool library file. TDM tool
information is loaded directly into VERICUT's memory, without intermediate files being
created or used.
VERICUT finds the desired TDM tool information using a TDM "list". The TDM "list"
is a list of tool assemblies for a specific job. The list simply contains references to tool
assemblies, which in turn contain references to the individual pieces of the tool (holders,
inserts, clamps, screws, etc.).
The tool geometry (which we are mostly interested in) is contained in a DXF file
(Drawing eXchange Format, originally invented by AutoCAD) referenced by the tool
assembly. The DXF file contains an assembly drawing, a 2D representation of the tool
assembly. VERICUT reads the DXF file, unravels the 2D information and creates a 3D
tool. This scheme requires the tool assembly information to reside on specific layers,
created in a specific way. The layers and format is loosely defined and controlled by
TDM when it is created. It is possible to ignore or avoid TDM's recommendations when
creating the tool assembly DXF drawing. This causes the DXF tool geometry to be
invalid for VERICUT.
However, assuming valid DXF arrangement and geometry, VERICUT automatically
creates tools from the DXF assembly drawings. Creation occurs on-the-fly when
VERICUT is reading the TDM tool list. VERICUT's user file only contains a reference to
the list name. Thus, each time VERICUT refreshes tool information (such as when
opening the user file), the TDM data is re-read and the tool geometry is re-created. This is
the "live" connection to the TDM database.
It is possible to save the TDM tool information as a VERICUT tool library file. Doing
this breaks the connection to TDM and the "list", and replaces it with a normal
VERICUT tool library file, referenced in the user file. It is also possible to import
individual TDM tool assemblies. This also breaks the connection to TDM, since the
connection is based on the TDM "list", not individual tools.
90
Converters and CAD/CAM Interfaces
Copy the WalterTDM.dll, supplied by TDM Systems, into the vericut folder of your
VERICUT installation (for example, C:\cgtech60\windows\vericut). The TDM Interface
can then be accessed from the Tool Manager > File menu.
The complete TDM interface installation instructions are part of the TDM install
documents provided by TDM Systems.
91
Converters and CAD/CAM Interfaces
The TDM Interface provides access to the information stored in TDM Systems', Tool
Data Management (TDM) system database. The TDM Interface is accessed from the
VERICUT Tool Manager > File menu.
92
Converters and CAD/CAM Interfaces
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.
93
Converters and CAD/CAM Interfaces
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;
94
Converters and CAD/CAM Interfaces
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.
95
Converters and CAD/CAM Interfaces
96
Converters and CAD/CAM Interfaces
97
Converters and CAD/CAM Interfaces
This section documents supported versions of UG, and the procedure for installing the
Unigraphics-to-VERICUT Interface (UGV). These instructions apply only when
VERICUT will be run via the Unigraphics to VERICUT interface (UGV). If VERICUT
will only be run outside of UG, then ignore this section.
UGV installation
Follow the general procedure below to install UGV. Integrating UGV into your standard
UG startup may require "root" or administrator permissions - see your system
administrator for assistance.
NOTE: The following Unigraphics products, ufunc_execute (P2_ufunc_execute for
NX2), (product name "UG/Open API Execute") and the grip_execute (product name
"UG/Open Grip Execute") are required prerequisites for the Unigraphics-to-VERICUT
Interface.
Assuming UG has already been installed, install VERICUT (includes the UGV software)
per the VERICUT installation instructions.
98
Converters and CAD/CAM Interfaces
For UNIX systems (and optionally for Windows) you can copy the run script to a
directory where you have write permission and run it from there.
NOTE: The UGV run script will NOT run correctly from its installation
location in the commands directory, since users usually do not have write
permissions there. You must either create a desktop shortcut (windows platforms)
with a start-in path where you have write permissions, or copy it to a directory
where you have permissions to write files.
99
Converters and CAD/CAM Interfaces
The following overview describes how UGV is used with VERICUT and UG to simulate
the cutting action of UG-generated tool paths. Exact user actions in UG may vary,
depending on the UG version being used.
3. Specify the location and base name for the VERICUT files.
A. In the Output Directory text field, enter the /path/ to the directory where you
want the VERICUT files ( .VcProject, .tls. CGTPart.stk, CGTStock.stk, etc.)
output. By default, the output directory is the "start in" directory of the
session.
B. In the File Name text field, enter the "base" name for the VERICUT files that
will be created. By default the name of the UG .prt file is used.
C. 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.
D. 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
100
Converters and CAD/CAM Interfaces
you make will apply to this program group until another program group is
selected.
4. Provide UGV with information related to the model files that will be passed to
VERICUT.
A. Select Options to display the UGV Options window.
101
Converters and CAD/CAM Interfaces
A. If you wish to output Part, Stock and Fixture models relative to a coordinate
B. Click (Part), and then select geometry to represent the design model,
or theoretical finished part. (Only applicable if using AUTO-DIFF in
VERICUT.)
102
Converters and CAD/CAM Interfaces
9. 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.
When VERICUT is run from UG, both application windows are available to work in at
the same time.
NOTE: The values that you set in any of the UGV windows are saved as attributes in
the UG part file for each Program Name. Use Apply at any time to save your settings in
the UG part file. When you re-open the UG part file, the UGV settings are recalled as
they where when you saved the file.
103
Converters and CAD/CAM Interfaces
Features in this window are used to select the geometry and tool path(s) to simulate, and
then run VERICUT. In UG V16-NX3 this window is opened via clicking the VERICUT
icon ( ) on the UG Toolbar, Tools menu > Operation Navigator > Toolpath >
VERICUT or Tools menu > VERICUT.
NOTE: The values that you set in any of the UGV windows are saved as attributes
when you save the UG part file. When you re-open the UG part file, the UGV settings are
recalled as they where when you saved the file.
Sample VERICUT window:
104
Converters and CAD/CAM Interfaces
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 name of the UG .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", UGV will append the
operations in the Unigraphics 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 Unigraphics part operations will
be the only setups in the generated project file.
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.
Options — Displays the UGV Options window enabling you to set parameters related
to the models that are passed to VERICUT and to set parameters related to VERICUT
processing.
105
Converters and CAD/CAM Interfaces
In general, click the desired Geometry icon, then click Select and select the
corresponding UG geometry. A window also display containing standard Unigraphics
"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. UG
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 None 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 UG 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
UG.
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 UGV.
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 UGV.
Automatically Output NC Program — Use this feature to create new .cls or .ptp files
from the selected UG operations.
Select Existing NC Program — Use this feature to select existing .cls or .ptp files.
106
Converters and CAD/CAM Interfaces
Add — Use to add tool path files to the NC Program File(s) list.
If Create for selected operations is selected, UGV will automatically create a new
.cls or .ptp file containing the operations selected in the UG Operations Navigator.
UGV uses the features in the Process Options window to determine whether a .cls
file or a .ptp file is created for simulation.
If Use existing files is selected, UGV displays a standard file selection window
enabling you to select existing .cls or .ptp files.
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.
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.
OK — Saves values that you set in the UGV windows as attributes the UG part file and
closes the UGV VERICUT window.
Apply — Saves values that you set in the UGV windows as attributes the UG part file
and leaves the UGV VERICUT window open to enable you to continue.
Cancel — Closes the UGV VERICUT window without saving any of the settings in the
UG part file.
107
Converters and CAD/CAM Interfaces
Use the features of the UGV Options window to pass information specific to the model
files (Part, Blank, and Fixture) to VERICUT.
NOTE: The values that you set in any of the UGV windows are saved as attributes
when you save the UG part file. When you re-open the UG part file, the UGV settings are
recalled as they where when you saved the file.
108
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.
Output Model Relative To — Use to specify the coordinate system that the model files
are to be output in. Choose either Absolute or MCS/Coordinate System.
Absolute — This choice is typically used for CLSF files because the CL file MSYS
record takes care of tool point location transformation. If Absolute is selected, the
following is output in the setup file for this program group:
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
109
Converters and CAD/CAM Interfaces
state and you need to need to press the "Play to End" icon, , in VERICUT to start
the verification process.
NOTE: In either case, both application windows (VERICUT and UG) are available to
work in at the same time.
Machine Type — Enables you to select the machine type that UGV is to use for creating
G-code files from the UG 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 UGV VERICUT window.
Attach Component Name — Enter the name of the VERICUT attach component that is
to be used for the current program group.
Program Zero From Component — Enter the name of the component that represents
the "from" point for determining the program zero offset. 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. VERICUT will use the origin of the specified
CSYS. The default "To CSYS" is a CSYS named "Program_Zero".
OK — Updates the UG part file with the current settings and closes the UGV Options
window and returns to the UGV VERICUT window.
Apply — Updates the UG part file with the current settings and leaves the UGV Options
window open for further setting changes.
110
Converters and CAD/CAM Interfaces
Cancel — Closes the UGV Options window and returns to the UGV VERICUT window
without updating the settings in the UG part file.
111
Converters and CAD/CAM Interfaces
General Description
The Siemen's Virtual NCK (VNCK) system is used to drive a VERICUT simulation by
providing the functions of a target Sinumerik 840D control. The VNCK uses the actual
840D machine parameter (ARC) file when processing NC program (MPF) and subroutine
(SPF) files. A VNC Server works with the VNCK to control NC program execution and
obtain the processed 840D status and axis motion results. VERICUT interfaces to this
VNC Server and receives the axis positions resulting from NC commands as well as data
from the program processing within the VNCK. VERICUT uses this VNCK data to
simulate stock cutting, machine axis motions, and to keep various status displays
updated.
Siemen's VNCK
Users should follow Siemen's directions for installing the VNCK and obtaining the
necessary operating license. For each machine control being simulated, the user must
obtain a Sinumerik 840D ARC (archive) file. The ARC file contains machine parameter
setting, axis definitions, NC programs, subprograms, and tool definitions. Since 840D
control space is limited, all unnecessary NC programs and tool definitions should be
deleted from the 840D control before the ARC file is saved.
Considerable time is normally required to boot the VNCK from an ARC file. However,
after the VNCK is booted, the VNCKView utility can save a binary version of the
VNCK's memory and use it to quickly boot on subsequent occasions. This binary version
of the VNCK's memory is called an SRAM file and is recommended for VERICUT
applications. Note that all SRAM files should be rebuilt whenever a new version of the
VNCK is installed.
VERICUT Implementation
When the VNCK is used with VERICUT, the major difference is that VERICUT does
not read and parse the NC programs. Instead, the VNCK processes the NC programs and
provides axis positions to VERICUT. Tool change events, messages, alarms, M-codes,
and speed-feed settings are also provided to VERICUT by the VNCK. VERICUT still
requires a control file (CTL), but it is only used to process macros associated with the
tool changes, M-codes, or speeds and feeds.
The initial implementation does not support VERICUT sub-systems or control file
subroutines.
The VERICUT-VNCK system is distributed with VERICUT as a special DLL. The
"cgtvnck.dll" file should be placed in the C:\CGTech60\windows\vericut folder and the
following line inserted in the vericut.bat file:
set CGTECH_VNCKAPI=C:\CGTech60\windows\vericut\cgtvnck.dll
112
Converters and CAD/CAM Interfaces
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.
113
Converters and CAD/CAM Interfaces
Main Toolpath (MPF) — Selects the NC program being simulated. The main program
must have a "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 Siemen's 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
Siemen's diagnostic document "840d_da.pdf" provides additional problem descriptions
114
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.
115
Converters and CAD/CAM Interfaces
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"
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.
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.
116