Tutorial
Tutorial
Tutorial
The tutorial is based on a hands-on approach that uses a set of example models that can be found with this
tutorial. We recommend that you follow the steps of the tutorial whilst processing the various example
models.
Whilst this tutorial aims to give the user enough information to get started with CADfix and perform some of
the more common operations, it does not aim to cover all aspects of CADfix. In particular the Manual
Interactive Processing mode is only briefly touched upon. For more complete details on using CADfix please
refer to the CADfix training material and/or the on-line HTML help manual.
The simplest mode of using CADfix is the Automatic Model Translation mode, which attempts to process a
model from input CAD system to the target CAD system with the minimum of user input.
For the cases where an automatic translation is not possible, usually due to problems with the CAD model,
then the Automatic Model Translation mode will automatically put the user into the next level of CADfix use,
the Diagnostic Driven Interactive Processing.
For models that do not process automatically, or if users want to have more control over the translation
process, then the Diagnostic Driven Interactive Processing mode is the next level of using CADfix. In this
interactive mode the user will see the model displayed and be able to query its structure.
The user is guided through the problems in the model based on automatic diagnostic scanning. Once all
problems have been resolved by the user, with help and advice from the CADfix Wizard, then the model can
be exported.
For more complex problems that are not easily resolved through the diagnostic driven process, the user
The manual interactive mode allows the user full access to all the tools available in CADfix. It requires more
knowledge and experience from the user, so is not recommended for the novice.
This mode is primarily for cases where the diagnostic driven processing could not identify the problem or the
problem requires an unusual fix that was not on the list of recommended solutions from the diagnostic scan.
This mode also allows the user access to the interactive model simplification tools such as hole removal,
face joining, splitting, and more (provided these are available in the CADfix license).
Each of these modes of working with CADfix will be explained in the following sections. Each section will
make use of example models that are supplied with this tutorial.
This process is controlled and automated by the CADfix Wizard, which forms the heart of the Fully Automatic
Translation mode.
3.1.1 Import
A model can be imported into CADfix from a number of native CAD system formats and also neutral formats
such as STEP and IGES. By default, the import stage will also perform some rudimentary model fixing
operations, such as merging duplicate points and edges at an appropriate tolerance.
3.1.3 Transform
Once the model has been topologically repaired to a valid solid, or shell of faces, the optional transform
stage can be used to defeature the model as required for the downstream application. For example, the
model may need to be defeatured by removing all short edges and sliver faces to facilitate meshing in the
downstream system.
3.1.4 Prepare
This is the process of preparing (or flavouring) the model GEOMETRY so that it can be successfully
imported into the downstream system.
3.1.5 Export
Having prepared the model to suit the requirements of a particular downstream system the model is exported
by writing a file in the appropriate format.
The five steps of the CADfix process can each be configured by the user through the Process options
settings.
2. Select the file to process (e.g. auto.igs from the tutorial examples)
3. Select the target system (e.g. I-deas NX 12. Note, format will default to Parasolid)
4
3
After the Import stage of the automatic processing has been completed the model will be displayed in the
CADfix graphics window:
The Progress Monitor will show the model passing through the Repair and Prepare stages of the Wizard
process and finally being exported by the Export stage. The end result will be a fully automatically processed
model ready to take into the target system, in this example I-DEAS NX 12.
The following sections explain some of the options that can be changed during the automatic translation
process.
These options typically contain settings for importing unused/free lines and points, attributes such as colour
and label. These options only need to be changed if the model did not import the expected parts. For
example if a CREO model contains open shells as well as solids then the default setting is to only import the
solids.
Some systems will appear greyed out if they are not available in your CADfix licence file.
The quality standard can be one of the fixed systems (for example the Japanese automotive PDQ standards
JAMA), or a user defined quality standard.
A CAD part is typically made up from two types of entity: topology or geometry.
There are various naming conventions in use today for the topological and geometrical entities of a CAD
part. The following diagram illustrates how CADfix refers to these entities.
Body A CADfix body is a collection of faces that (usually) form a closed shell. The faces may form more
than one closed shell in which case one shell will be the outer shell and the other shell(s) would be
internal voids.
Face A CADfix face contains both an embedding surface and a collection of edges that (usually) form a
closed loop. The edges may form more than one closed loop in which case one loop will be the
outer and the other loop(s) will be internal holes.
Surface A CADfix surface defines the 3D “shape” of the interior of a face. There are several types of
surface in CADfix including: NURBS, analytic surfaces (plane, cylinder, cone, sphere, torus) and
blends (Coons, Barnhill and Gregory). A NURBS surface is a self-contained entity that does not
refer to any other entity. The analytic surfaces refer to point entities to define their axis and/or
centres, and the blend surfaces refer to 3, 4 or 5 edges.
Edge A CADfix edge defines the 3D “shape” of the boundary of a face or a wire frame edge. The 3D
definition of an edge is contained within the edge itself, unlike other systems that use a separate
curve entity. The start and end positions of an edge are defined by referring to two points.
An edge is both a geometrical entity (because it contains the 3D definition) and a topological entity
(because it contains the points that connect it to other edges).
A point is both a geometrical entity (because it contains the 3D position) and a topological entity
(because it is used to connect edges together).
Basic Expand Display types: points, edges, Picture controls: wipe, wipe last,
Display Display surfaces, faces and bodies wipe menu, and repaint
options
down menus in the icon bar under the Advanced display options ( ) allow the user to build up a “picture”
of the model by “adding” new display types to the current “picture”.
The drop-down menus next to each display icon contain alternative ways of display the type of entity. For
example, points can be displayed with their CADfix label, or surfaces can be displayed shaded, or faces and
bodies can be displayed as wire frame or partially transparent. Take a look at the drop-down menus to see
the full range of display type for each entity.
Display types can be removed or “wiped” from the current picture using one of the 3 “wipe” icons in the icon
bar.
When the mouse button is released the dynamic viewing will stop. For viewing large models you may wish to
turn off the “Dynamic viewing always active” in which case holding down the Control key will toggle the
dynamic manipulation icon in the icon bar enabling rotation.
The view controls can be customised using the View Controls dialog found under the main View menu. If
you prefer the view controls to be similar to another system, say your usual CAD system, then there is an
Emulation mode that supports most of the common CAD system settings.
Note that the I-DEAS controls of holding down F1, F2 or F3 are always available.
Items listed within the tree structure can be selected with a left
hand mouse button click and this will highlight the problem
visually on the model in the graphics window.
The selection of an item in the top tree triggers the display of the
different possible fix methods in the bottom half of the
Diagnostics panel.
If the model fails to repair to a valid stitched solid part, then the scan is performed against the “Valid Model”
criteria which looks for fundamental topological and model construction issues that could prevent the solid
being built.
If the model is successfully repaired but subsequent flavouring and export operations identify edge or
surface geometry issues that could be an issue for the downstream target system, then the scan is
undertaken against the “Target System” criteria.
It is possible to re scan the model manually against the specified target at any point by selecting the button.
1. Start CADfix and select STEP as the file type for processing
3
4
5. Notice the “Display part” and “Work part” are showing “ALL”
The automatic process stops after the Repair stage because CADfix fails to build a solid body. CADfix
launches into the Diagnostic mode with the screen as shown below. A view of the model is given in the main
graphics window with the Diagnostics panel on the left-hand side.
The progress monitor displays messages as the CADfix Wizard translates the part.
You can scroll back to review these messages if required and will notice the message that CADfix “Failed to
build any new solid bodies” and that the Prepare and Export processes were skipped.
It is obvious from the model display that the reason the model failed to build a solid body is the excessive
edge gaps indicated by the red edges on the model display.
Go to the Diagnostic Results Tree and select Poorly connected edges. This highlights the problem edges
on screen and presents below the possible resolutions available.
The “Work part” is now showing “SELE” and a bar above the Display window shows the Basic Selection
Use the dynamic display tools to zoom in on the area of the gap and measure the distance with the
measurement tool.
The 3 poorly connected edges are already isolated for repair, as indicated by the ‘Edges found: 3’ message.
Check the tolerance to be used and notice that it is too small to close the 0.17mm gap as measured
previously.
The updated model connectivity display shows the model as being well connected (all edges are now green).
CADfix re-scans the model against the “Valid Model” target and new results are displayed.
There are still Unused Faces detected in the model because a solid body has not yet been built.
CADfix has detected that the model is partially repaired. Resolve the final
problem by building a solid body and CADfix will lead you through the final
stages of the translation process.
End of example.
1. Start CADfix and select STEP as the file type for processing.
2
3
The automatic process stops after the Repair stage because CADfix fails to build a solid body. CADfix
launches into the Diagnostic mode with the screen as shown below. A view of the model is given in the main
graphics window with the Diagnostics panel on the left-hand side.
Review the Diagnostic Summary information in conjunction with the graphical display of the model to
determine the best possible action.
It is obvious from the model display that the reason the model failed to generate a solid body is the ‘hole’ in
the model indicated by the red edges on the model display.
In this case you should go to the Diagnostic Results Tree and select Poorly connected edges. This
highlights the problem edges on screen and presents the possible resolutions available as shown below.
The loop of 4 lines are in the “SELE” set and you can select the
Build Faces option from the “Possible fix methods” list.
You will be presented with an Accept or reject parts window which in situations where more than one
surface is being built gives you the opportunity to review the results before acceptance. Once the face has
been built, the updated model connectivity display shows the model as being well connected (all edges in
green).
CADfix re-scans the model against the “Valid Model” target and new results are displayed.
There are still Unused Faces detected in the model because a solid body has not yet been built. However,
CADfix detects the improved condition of the model and that it could continue and automatically build a solid
from the closed shell.
CADfix has detected that the model is partially repaired. Resolve the final problem by building a solid and
CADfix will lead you through the final stages of the translation process.
When the solid is built, the model is flavoured or prepared and exported to a Creo Native file.
End of example.
There will be occasions where the model problems are such the automatic approaches are insufficient and
user intervention is required to resolve the issues.
The following examples demonstrate the use of the Diagnostic driven prepare process to address typical
geometry issues that could exist after a model has been run through the Wizard.
In these examples the Wizard Prepare process would normally fix all of the problems, so for the purposes of
the tutorial we will only Import and Repair the files before doing a manual Scan. We are assuming that the
prepare process has already been run and problems have been found but not fixed.
When this model is processed fully automatically it successfully exports to the ACIS format, passing the
ACIS Body Checker. However, when it is used in a meshing application there is a meshing failure for a
particular surface that contains touching or self-intersecting loops.
1. Start CADfix and select STEP as the file type for processing.
4. Change the Process options >>, turning off Prepare and Export so that CADfix will only Import and
Repair the model
The model imports and repairs to a valid solid body. You now need to perform a Diagnostic Scan to look for
the problem face.
Close the Wizard progress monitor and select the CADfix Diagnostic tab to go into Diagnostic mode.
The results of the scan are presented in the Diagnostic results window with a single partially collapsed face
identified as shown below.
Notice that this is classed as a less serious model problem and highlighted with a yellow indicator. This is
because the feature is not a critical error that prevents the model from being exported, and so it is still a valid
model. The problem is more of an application specific issue, in this case a meshing failure.
Having selected the partially collapsed faces problem there are several possible resolution methods listed:
Selecting the first option Fix partially collapsed faces will be unsuccessful because this automatic solution
is looking for virtually collapsed faces that have a definitive split boundary dividing them into more than one
area. Upon inspection the solution required should split the face in some way or other. In this instance a
satisfactory solution would be to split the face into two equal parts by a line running through the over-used
vertex point.
Two split methods are available, either by sketching a line on the face or splitting with a planar surface, and
both are applicable in this case.
Select the option to Split faces with a surface as the fix method to access the repair dialogue.
The face is automatically selected and you now need to select or create a plane to split the face. In this case
there is no existing plane to use to split the face so select the ‘Define a new splitting plane’ icon.
Now screen pick to select the three points to define the plane. For example, you could select the over-used
vertex point that is already highlighted on screen and two other vertex points to create a plane running
through the face.
The partially collapse face issue has been resolved and the model could now be re-exported to ACIS for the
downstream meshing system if required.
1. Start CADfix and select STEP as the file type for processing.
4. Change the Process options >>, turning off Prepare and Export so that CADfix will only Import and
Repair the model
2
3
4
The model imports and repairs to a valid solid body as shown below.
You now need to perform a Diagnostic Scan against the CADDS export criteria.
Close the Wizard progress monitor and select the CADfix Diagnostic tab to go into Diagnostic mode.
Select the Scan button to run the scanning process. The results of the scan are
presented in the Diagnostic results window with 5 high degree surfaces identified as
shown below.
Notice that this is not classed as a serious model problem and highlighted with a yellow indicator.
The problem could be corrected by either of the fix methods, but for
the purposes of this example we will assume that the system to
which we are exporting only accepts NURBS geometry and we do
not want to simplify to primitive forms.
The model can now be exported to CADDS for the downstream system as required.
End of example.
1. Start CADfix and select STEP as the file type for processing.
4. Change the Process options >>, turning off Prepare and Export so that CADfix will only Import and
Repair the model
You now need to perform a Diagnostic Scan to look for the problem face.
Close the Wizard progress monitor and select the CADfix Diagnostic tab to go into Diagnostic mode.
CADfix is already set up to scan against the target system criteria for Generic STEP export.
The results of the scan are presented in the Diagnostic results window as shown
CADfix has detected 4 Twisted surfaces. Notice that the problem types are classed as a less serious model
problem and highlighted with a blue indicator. This is because the feature is not a critical error that prevents
the model from being exported, and so it is still a valid model. The problem is more of an application specific
issue that may or may not need to be addressed.
Select Twisted surfaces and you will see the problem surfaces displayed on screen as shown in the above
image.
Select the Twisted surfaces problem from the Diagnostics results tree and the possible resolution methods
listed:
Note that one of the options in the list is greyed out. This is because it is considered irrelevant for this
particular example of a twisted surface.
In many cases it is often possible to convert the surface into another representation, such as a primitive
plane, cylinder or sphere, and in doing so this will move the problem. Select Simplify NURBS surfaces to
access the controlling parameters and options.
The four problem surfaces are already isolated. Press the Fix button and CADfix tests whether the problem
surfaces can be represented by a primitive surface within the specified tolerance value, and if so converts
them.
End of example.
The third mode of using CADfix, Manual Interactive Processing allows the user access all the tools available
within CADfix. The following sections provide a brief overview of how to access the manual tools.
Active
screen pick
Disabled
screen pick
When you see an entry field like this then you can move your mouse onto the graphics window and select an
appropriate entity. If the screen pick does not appear to be responding, then it may be that the pick entry is
not active. When a pick entry is not active it only has a yellow border. To re-activate a pick entry, click the left
mouse button inside the entry once.
In most cases there will be more than one face connected to each edge in the model (usually its two for a
healthy solid model), so how do you select the one you want? CADfix uses the Tab key to allow you to cycle
over the possible faces/bodies connected to the currently highlighted edge. When an edge is highlighted the
list of possible faces connected to the edge is displayed in the status bar at the bottom of the graphics
window.
Highlighted
edge
Alternative
face
Selected face
Use the Tab key to cycle through the list of alternative faces until the one you want is highlighted.
Alternatively move the mouse away from the highlighted edge so that no faces are selected, then move it
back to the same edge again. When the edge is highlighted this time, it will automatically select the next face
from the list of alternatives.
The currently selected face/body will be drawn with thicker dashed lines than the alternative faces and its
CADfix label will also be displayed.
Once you are happy that the correct entity is highlighted then select it by clicking the left mouse button.
When the cursor is within the graphics area, a number of functions are controlled from under the right mouse
click. Along with the display functions shown below in the basic menu are two methods of entity group
selection:
As you will have already noticed from the exercises above selecting specific results from under Diagnostic
tab also enters these problem parts into the SELE set for application of an appropriate fix.
The user should always be aware of their current state during manual interactive processing regarding
selection as this can be entered dynamically and then naturally switches from processing of the whole
model. In particular, this affects the display. A number of clues are available on the screen to re-enforce the
user’s awareness of this mode:
3. The depression of the icon indicates that the Basic selection mode has been entered
5
2
3
Items may be picked into the selection set from the screen with the mouse or via the right click menus. As
items are picked they are highlighted on the screen. If the user wishes to remove items from the selection
set, they may do so by holding down the CTRL key and picking again with the mouse.
However, it’s associated ribbon of 8 faces are not yet copied into the SELE selection set as you can see
from the selection set summary. Although processing can be carried out on the feature selected if you wish
to add further features you must first right Accept the current ribbon into the selection set from a either a
middle mouse click or the right-click option menu.
The smart selection process can be configured to stop when 3-sided faces are encountered. This ribbon can
next be edited by clicking on an interior “block” edge to reduce the number of faces in the selected ribbon,
©2018 ITI - International TechneGroup Ltd CADfix 12 Introductory Tutorial Page 45 of 48
or by clicking on exterior “gate” edge, to increase the number of faces selected. Using this tool, groups of
faces can be rapidly collected into the selection set for further processing.
When the Checks tab is raised then the manual tools are
presented in the tree view above. They are grouped into
seven classes of problem, or criteria:
Connectivity
Unused
Topology
Integrity
Complexity
Continuity
Sloppiness
Select the “Scan this criterion” to start the scan. You can
also modify the scan parameters for the selected criteria
from this pop-up menu.
An alternative way to Scan the selected criteria is to select the corresponding fix from the list of possible
fixes and then hit the Find button. This method of scanning or finding selected criteria is only possible for
those criteria that have a corresponding fix. In the above example “Self-intersecting curves” has a
corresponding fix but for the criteria below this of “Folded curves” there is no corresponding fix so doing a
scan from the pop-up menu is the only way.
These filters will limit the criteria displayed to only those that are relevant to the selected entity types. So, for
example if you are looking for a criterion that only affects surfaces such as “Closed surfaces”, you can press
the surface filter icon. To restore the full view, click the “ALL” filter.
The second way to filter the tree view is to use the criteria filter:
This allows you to filter the criteria based on a predefined target, such as the selected target system, or a
Quality standard such as the JAMA PDQ criteria.
To see all the possible criteria, select the “Show all tests” option. This option is also available for each class
of criteria in the tree view. Simply right click on the class type and the pop-up menu contains a “Show all
tests” entry.
Note: some of the Transformation and Defeaturing tools such as Join, Collapse faces and edges,
Holes/Protrusions and Split, may not be available if your CADfix license does not include them.