Machine Preview

Access: Open this function from one of the following locations:

  • When no procedure is open: Select Wireframe > Datum > By Machine Preview from the menu bar.

  • When a procedure is open: Click the Machine Preview button in the Clearance & UCS parameter table.

Using the Machine Preview tool, in addition to the part, cutter and holder, you can also view the entire machine and fixtures, inside the NC programming environment. You can manually move the machine axes, considering the machine kinematics and travel limits, to an optimal orientation. Once found, an appropriate UCS is defined to be used for programing the procedure(s).

This function enables you to preview the Machine while defining the Setup on the machine and the milling direction of each procedure.

Defining a relevant UCS for 3+2X operations, especially in deep cavity or narrow area parts, may be problematic. In some cases, a UCS is defined and later on while simulating or machining it transpires that the machine cannot reach the desired position or even worse, a collision of a machine component with the part or stock.

ExampleExample

In the example below, a procedure is set to create a local operation on the green corner face. Since the part is quite large it is impossible to do that in a vertical direction without having the machine head collide with the part. Machine Preview can be used to find a safe orientation for this job.

When this operation is invokedinvoked (for more, click Access at the top of this Help topic), the Machine Preview dialog is displayed. The Machine Preview, Machine Parameters, and Machining Simulation tools present similar parameters.

The Machine Preview enables you to:
 

  1. Graphically define the part location and orientation on the machine table. You can view how a positioned 3+2X procedure will look on the machine given the part setup on the table and the procedure UCS.

  2. When defining an NC procedure, you can explore the optimal rotation angles for a specific 3+2X operation considering the machine geometry, kinematics, and actual remaining stock.

  3. Run a quick test if that position does not cause collisions (like head/table or head/part/stock) for that procedure. This does not replace full simulation of the final toolpath, but can detect most orientation and positioning errors.

  4. Once you have set a preferred orientation, you can automatically create and use a new procedure UCS that is better suited to the area to be machined.

  5. Navigate through an existing toolpath to view the machine’s motions considering the actual rotational angle as calculated by GPP2.

The Machine Preview dialog shows the same machine that was defined in the NC Setup, the same Reference UCS, and the same Setup Zero values. All these settings can be changed or initially set if the NC Setup is not in use.

Parameters

Material Removal

When this checkbox is marked , check the material removal against the stock. All machine components are always checked against the stock.

Select the type of stock to be used from the drop-down list.

The following options are available.The following options are available.

Current Stock

The "closest" stock procedure is used. See the example below. You must specify an output file name; the default name is cimstock.stl and can be changed.
ExampleExample

Consider the following set of toolpaths:

Toolpath 1

 

The procedure selected for simulation is Procedure_5 in toolpath 2. The first (closest) stock that will be checked for use is Stock C. If this stock is inappropriate (i.e. wrong orientation), the next stock to be checked is Stock B. If this stock also fails, the next choice is Stock A, located in toolpath 1.

The stock is automatically calculated from the beginning of the first procedure selected for simulation.

  Stock A_1

  Procedure_2

  Procedure_3

Toolpath 2

  Stock B_1

  Procedure_2

  Procedure_3

  Stock C_4

  Procedure_5

External Stock

Choose an external *.stl file to be used as stock. See Remaining Stock for more information.

Reuse Last

Reuse the last defined stock. In this case, the existing cimstock.stl file is used. The system displays the date and time that this stock was last modified.

If the cimstock.stl file does not exist, this option is not displayed.

Check Against Part

When this checkbox is marked , check against a part (this part is used to compare against the machined part). By default, the last used settings are displayed.

Select the type of part to be used from a drop-down list of options.

The following options are available.The following options are available.

Current Part

The current part procedure is used and saved as file name cimpart.stl in the folder: \Cimatron\Data\VERIFY_DIR\.

The system displays the name of the current part. For example:

The Current Part definition is as follows:  

  1. The last Target part according to the UCS of the first procedure simulated.

  2. If 1 does not exist, the last target part in any UCS.

  3. If 1+2 do not exist, the last part of any type (Target, Fixture or Other Part) in any UCS.

External Part

Choose an external stl file to be used as a part. For example:

See Remaining Stock for more information.

Reuse Last

Reuse the last defined part. In this case, the existing cimpart.stl file is used. The system displays the date and time that this stock was last modified. For example:

If the cimpart.stl file does not exist, this option is not displayed.

Selection

Select one or more of the part procedures in the current elt file to define the part. A single stl file is created containing all the faces of the selected part procedures.

A checkbox list is displayed showing all the part procedures in the current elt file.

Select one or more of these part procedures. The defined part consists of all the faces of the selected part procedures and is saved in a single stl file: cimpart.stl.

The Selection option creates one object from all the selected Part procedures; it is regarded as one object in the simulation checks and problem reporting. The display of this one object is controlled by one tree node in the Simulation Display pane in the Simulator.

ExampleExample

Selection option

One object is created in the Simulator

Note: For a definition of each of these part procedure types, see Creating a Part.

Multi STL

Select one or more of the part procedures in the current elt file to define the part. Multiple stl files are created according to the type of part procedure selected. Each of these stl files contain all the faces of the appropriate type of part procedure selected.

A checkbox list is displayed showing all the part procedures in the current elt file.

Select one or more of these part procedures. The defined part consists of all the faces of the selected part procedures and is saved in multiple stl files:

  1. All faces from selected Target Part procedures are saved in the file cimpart.stl.

  2. All faces from selected Fixture Part procedures are saved in the file cimfixture.stl.

  3. All faces from selected Other Part procedures are saved in the file cimother.stl.

The Multi STL option creates multiple objects from the selected Part procedures; they are regarded as multiple objects in the simulation checks and problem reporting. The display of these objects is controlled by multiple tree nodes in the Simulation Display pane in the Simulator.

ExampleExample

Multi STL option

Multiple objects are created in the Simulator

Note: For a definition of each of these part procedure types, see Creating a Part.

Tolerance

Define the toolpath tolerance for the simulation. This is also used as a threshold for gouge checking as any gouges are displayed in red.

The default is 0.01 mm / 0.0004 inch.

Note that this tolerance affects a number of things: 

  1. Accuracy of the exported Part STL geometries, which are used for simulation (~ Tolerance x 0.25).

  2. The guideline accuracy range in which the Standard engine works.

  3. Density of the "pins" that are used to represent the stock in Turbo(3X) simulation mode.

  4. Detection threshold default value (Tolerance x 1.6). This value can be changed within the simulator.

  5. The representation of the tool. The simulated tool is represented as a polygon, and there is an automatic calculation for that. The calculated value can be up to 10 times the set tolerance and never less than 20 polygon edges. This value can be changed manually within the simulator.

The fact that the tool is actually considered as a polygon rather than its true round shape is the same in most simulators.

This might cause some detection accuracy issues. Depending of the angle of the polygons and the motion direction in reference to the part geometry, some gouges will not be detected. Note that in reality the calculated representation of the tool is not as coarse as seen in the below image. This image is a schematic representation of the accuracy issues.

ExampleExample

Part Offset

Sets a safety clearance for the collision check between machine components and the part.

Define the part offset against which you wish to perform the gouge checking and remaining material reporting.

The default is 0 mm / inch.

The Part STL file is always created in the exact size it is designed in Cimatron. When an offset other than zero is set, the simulator engine imitates a different Part by changing the tool diameter accordingly.

ExampleExample

NC Setup Utilities

When this checkbox is marked , any Utility procedures that are checked in the current NC Setup of the Process Manager (above the selected procedures), are also marked as selected (ON ) in the NC Setup Utilities section of the dialog. As with Part procedures, the Utility procedures can be checked ON or OFF .

Utility procedures may change the configuration of the machine. Therefore, by applying them in the NC Setup Utilities section of the dialog prior to the run, any configuration changes are taken into account.

If there are no Utility procedures, the NC Setup Utilities section of the dialog is empty and dimmed.

Reference UCS

This field displays the settings as defined in the NC Setup; this can be changed if required.

Define the Reference UCS on which the current operation is to be based from a dropdown list of all the UCSs in the current ELT file.

This Reference UCS enables you to define a different UCS as required; for example, when a different clamping situation is necessary, typically "Machining from TOP" and "Machining from BOTTOM".

ExampleExample

In the example below, the orange surface will be machined from above and the green area from the side. Because it is machined from another orientation, the green surface toolpath has different motion limits, which are based on its own separate UCS.

The Reference UCS is also important in the posting process where it defines the reference point and reference axes direction for the whole posting process. All other UCS's and tool points are defined relative to the Reference UCS.

The Reference UCS is also used by the Setup Zero.

The default value is the active UCS.

Machine

This field displays the name of the machine which is selected for the machining process.

If a machine was defined in the NC Setup, the same machine is displayed; however, it is possible to select a different machine. Select the type of CNC machine to be used from a dropdown list of options. For example:

Note: To add CNC machines to the library, contact your Cimatron Provider or Reseller.

Post Processor Settings

Define the post processor settings. This option displays the post processor settingspost processor settings dialog, enabling you to change them as required.

Each post has an interaction setting which influences the output. The Post Processor Settings button enables access to the post interaction.

If this button is displayed in REDdisplayed in RED, this means that the post settings are not complete (either they do not exist or they do not fit the machine - for example, a 3-axis post to a 5 axis machine). Click and set the post processor settings.

Setup Zero

This field displays the settings as defined in the NC Setup; this can be changed if required.

The numbers displayed here represent the position of the part (to be machined) on the machining center, relative to a predefined UCS. You can modify the offset values to adjust the part location within the machine envelope, enabling optimal use of the available space.

Define the XYZ machine zero in the coordinate system, either by directly entering the XYZ coordinates or by using the adjacent button to pick a point on the screen (the XYZ coordinates of the selected point are displayed). This results in a re-calculation of the position of the part relative to the machine zero point.

The coordinates are passed to the Post Processor in the BEGINNING OF TAPE block (X_MACH, Y_MACH, Z_MACH).

  • In GPP posts (where the Reference UCS is not defined), the vector from the clicked point to the MODEL UCS zero is calculated and expressed in MACSYS UCS terms.

  • In GPP2 posts (where the Reference UCS exists), the vector from the clicked point to the REF UCS origin is calculated and expressed in Reference UCS terms.

This definition is needed for Machining Simulation, but also affects the actual G-Code if being used by the specific post processor.

Modifying the Reference UCS at any point (or switching between a GPP post processor to a GPP2 post processor) does not affect the numbers. Once calculated (or keyed in), they stay "as is".

For GPP2, setting the displayed numbers at (0,0,0) effectively tells GPP2 to ignore them (since it means that the machine zero point is at the REF UCS zero point). This is equivalent to setting M5_USE_MACH (5X machine definition variable) to FALSE inside the post processor.

Click OK to activate the Machine Preview environment.

The Machine Preview application is actually a reduced Machine Simulator environment. Because there is no toolpath to be simulated and no stock, the Simulation Control, Stop Conditions, Simulation Report, Motion List, and Stock Analysis are not relevant, therefore they are inactive in the Simulator Guide.

The Axes Control dialog that is shown is also similar to the same dialog in the Machine Simulator, with the exception of the Machine Preview related buttons at the bottom of the dialog.

The graphics area shows the entire machine. The part is placed on the machine table based on the Reference UCS and the Setup Zero values. The initial tool orientation is aligned with the orientation of the current procedure UCS; in the example above, it is vertical. The tool mounted on the machine spindle is the procedure tool. The machine axes are positioned in a Safe Position as defined in the machine post processor.

Important:

  • All the types of collision checks (in feed motions) of the Machine Simulator are active in all the modes of the Machine Preview (all the machine axes movements, manual, and automatic are considered as feed movements).

  • None of the gouge checks of the Machine Simulator are active in the Machine Preview (GOUGE means the CUT portion of the cutter penetrates the Part model, all other interference situations are considered as collisions).

  • In the case of a collision, the colliding objects are colored in REDExample:Example:

  • The GPP2 Post Processor uses the angle values in NC Setup, Machine Simulator, Machine Preview, and Post Processing only when the Machine and Post Processor names match.

Axes Control dialog

The Axes Control dialog is displayed:

In addition to being able to drag the axes on the graphics screen, they can also be moved in the Axes Control dialog. It is possible to drag an axis slider or change the value in the current position field on top.

As in the Axes Control dialog of the Machine Simulation, sliders are displayed for all the relevant axes. When an axis is changed, this is reflected in the simulation window. At the top of each axis a text box enables you to enter an axis value. These numbers are updated when moving the sliders.

The axis limits of each axis are displayed at each end of the sliders. If an axis value entered in a text box is outside the axis limits, it is automatically modified to the nearest limit value and the relevant limit value is displayed in RED.

Axes Control and Sticky Tool:

Movement behavior differs between the rotary and linear axes. The linear axes move on their own. A rotary axis movement may affect some of the other axes as well. If the Sticky Tool option is not set as Off (see below), in order to maintain the contact with the picked point, every rotation must be compensated with some linear and sometimes angular movements.

You can change the tool orientation (vs. the part) in the following ways:

  1. By changing the rotary axes using the sliders and/or the text boxes above them.

  2. By manipulating the arrow direction on the center line of the cutter.

    • Pick the blue arrow on the center line of the cutter and, with the left mouse button pressed, rotate it while moving the mouse.

    • The arrow rotates with the cutter tooltip as the center of rotation.

    • The rotation of the arrow is limited according to the axes limits. When a limit is reached, the arrow is displayed in RED.

Parameters

Sticky Tool

Choose whether and how the tool maintains contact with the picked point. See the Axes Control and Stick Tool explanation above (in the general description of the Axes Control dialog).

The following options are available:

At Touch Point

The tool maintains a touch point contact with the picked point.

At Tooltip

The tool maintains a tooltip contact with the picked point.

Off

Contact with picked point is lost.

Flip Solutions: In many cases, there are usually two potential solutions for the machine rotary axes. The Flip Solutions button flips enables you to flip between these two solutions. This button is disabled when two solutions are not available.

Retract Along Tool Axis: This enables you to check a retract position. This enables you to check how much clearance there is for retraction in the current orientation, considering the machine linear limits and possible collisions. The Retract dialog is displayed.

MoreMore

The values at each end of the slider are 0 which represents the current position and another value that shows the maximum retract possible in this orientation, considering the machine linear limits.

Dragging the slider up retracts the machine along the tool axis. Doing so the machine head might collide with the part. The value seen on the top of the Retract dialog, gives you an idea about how much clearance there is for retraction.

Hide/Show Clearance Plane: See the explanation in the Axes Control dialog.

OK: Accept the changes, perform the operation, and close the current dialog/task.

Cancel: Cancel all changes and close the dialog/task without saving the settings.

Hide/Show the reachable region of the cutter tool tip: A transparent rectangle appears showing the reachable space of the tool tip in its current orientation without exceeding the machine limits. This enables you to see which areas might be out of reach.

ExampleExample

The box location is updated with any change of any axis (e.g. a change in the head rotary axis).

Hide/Show clearance plane: This hides/shows the original clearance plane of the procedure (according to the UCS and Clearance Z value of the procedure). This indicates if it is too high considering the machine Z maximum limit.

ExampleExample

Hide/Show tool axis arrow: This hides or shows the tool axis arrow and the transparent sphere. The arrow direction is displayed on the center line of the cutter.

ExampleExample

Tool axis arrow and sphere are displayed:

Tool axis arrow and sphere are hidden:

Change Cutter

The Change Cutter button shows the Cutter which is currently in the machine spindle. If other cutters are planned to be used for machining this area in the same orientation, they can be checked as well.

If required, click the Cutter button to open the Cutters and Holders dialog and select a different cutter. When the cutter changes, the machine linear axes also change in order to compensate for the different length.

Note: You can also set different safety clearance values for the fixtures and the various cutter sections. This can be done in the Simulation Options dialog, in the Simulation and Tool tabs, respectively.

Cutter Orientation

Define the cutter orientation. This displays the Cutter Orientation Definition dialog (see below). This button is enabled when the machine has at least one rotary axis, otherwise it is disabled.

Reset: This restores the initial load position and settings.

Create UCS and Exit: Create a UCS and exit the Machine Preview environment. Depending on how the Machine Preview was invokedinvoked (for more, click Access at the top of this Help topic), a new clearance plane value can also be set in the displayed dialog.

MoreMore

The dialog that is displayed and the operations that are available depend on how the Machine Preview was invokedinvoked (for more, click Access at the top of this Help topic):

  • If invoked from outside a procedure, the Create UCS dialog is displayed.

  • If invoked from within a procedure, the Create UCS and Set Clearance Plane dialog is displayed, enabling in addition, the setting of a new clearance plane value.

Create UCS and Exit invoked within a procedure

Create UCS and Exit invoked outside a procedure

The Create UCS dialog contains only the UCS creation options and not the clearance plane setting options, as shown on the left. Since the function was invoked outside a procedure, the clearance plane options are not relevant.

Parameters

Clearance Plane

The Clearance Plane field shows the current location of the tool tip clearance plane and sets the tool retract distance. This value can either be entered manually or by using the slider.

The tool tip clearance plane is represented in the graphics area by a pink transparent plane perpendicular to the tool axis at the cutter tool tip.

ExampleExample

The slider minimum and maximum values in this dialog show the full travel range in this orientation and considering the machine limits.

If a new UCS is created, it becomes the new procedure UCS.

If a new Clearance Plane value is set, it becomes the new procedure clearance plane value.

Note: It is also possible to use the Machine Preview just in order to define a safe clearance for a procedure. Different cutter lengths may require this if the retract is limited. The Set Clearance Plane functionality is independent from the actual UCS creation. You can activate the Machine Preview, set the clearance, and then exit without actually creating a new UCS. The new clearance will be saved in the procedure.

The visibility of this plane is controlled by the Hide/Show Tool Tip Plane button (see below).

Set X-Axis Direction

Control and change the direction of the X-axis manually.

Hide/Show the tool tip plane defined in the Clearance Plane field above.

The Set the Clearance Plane button saves the new Clearance Plane value in the procedure to be used as its clearance.

When this button is pressed, the following occurs:

  1. The tool tip plane is displayed in the same color as the clearance plane (blue).

  2. The Clearance Plane field, its spin buttons, and the slider become disabled.

If Same UCS Exists

This option enables you either create a new UCS or use an existing UCS of one exists. The existing UCS must be exactly the same (besides its name) as the required UCS (same Machine name, Post name, two angles, etc.). Select the required option from the dropdown list.

Create New

This option creates a new UCS with the current rotational axis position.

Use Existing

This option first checks if there is already a UCS in this orientation and, if not, then it creates a new one.

New UCS Name

This field shows the name for the new UCS. The default name is MACH_<angle_values>. The angular values represent the current orientation of the machine axes. If required, you can change the UCS name.

New UCS Location

Set the origin of the new UCS from the dropdown list of options:

Reference UCS

Place the origin of the new UCS on the Reference UCS.

Last Indicated Point

Place the origin of the new UCS on the last indicated point.

Back to Axes Control: Switch back to the Axes Control dialog.

Apply: Accept the changes, perform the operation, and keep the current dialog/task open.

A UCS is created if defined as such in the settings. Using the Apply button, multiple UCSs can be created. At this stage, you can switch Back to Axes Control, orientate the machine/tool differently as required, and create another UCS. Repeat the process for each additional UCS.

OK: Accept the changes, perform the operation, and close the current dialog/task.

The Machine Preview is closed.

When invoked from within a procedure, if you have created one or more new UCSs and/or changed the clearance plane value, these settings are updated in the procedure grid in the Clearance & UCS parameter branch.

When invoked from outside a procedure, if you have created one or more new UCSs, the relevant UCS becomes the Active UCS.

Exit: Exit the operation and close the dialog/task.

Cutter Orientation

Define the cutter orientation. The Cutter Orientation button (in the Axes Control dialog above) is enabled when the machine has at least one rotary axis, otherwise it is disabled. When clicked, this displays the Cutter Orientation Definition dialog with the sliders and parameter values reflecting the current cutter orientation.

Important:

  • The Sticky Tool setting, defined in the Axes Control dialog (above), is applicable while the Cutter Orientation Definition dialog is active. This means that cutter orientation and positioning (also for the Geometry Pick) is done while maintaining the current setting of the Sticky Tool parameter, with the resultant effects on the orientation and positioning limits and behavior.

  • Machine limits cannot be exceeded using the controls in this dialog or by Geometry Pick. The machine axes will move to the nearest orientation and position that it can reach in the direction of the required change.

  • A UCS selection will only change the orientation; it will not move the cutter to the UCS origin.

Parameters

Reference UCS

This displays the reference UCS used. This is informative only.

Notes:

  • Within the Machine Preview, one or more UCSs can be created in dialog displayed by clicking the Create UCS and Exit button .

  • Outside the Machine Preview, a UCS can be created by using the Create UCS parameter.

Orientation Locked for Geometry Pick

When this checkbox is marked , the tool orientation is locked when picking geometry. This means that the tool orientation is not changed regardless of the picked position and the face normal vector. This option can be used to place the tool at different points and keep the same orientation for checking purposes. When this checkbox is selected, the Tool Axis Orientation parameter is grayed out.

When this checkbox is OFF , the UCS orientation can be changed when picking faces according to the selection in the next parameter in the dialog.

Default = OFF

ExampleExample

Tool Axis Orientation

This parameter is grayed out if the orientation lock checkbox (the previous parameter) is ON .

If the orientation lock checkbox is OFF , then a tool axis orientation may be selected from a dropdown list.

Normal to Face

The tool orientation is normal to the face at the selected point. The Tilt Angle and Tilt Direction are changed accordingly, since they are measured from the Reference UCS.

ExampleExample

Normal to Face: The cutter is normal to the selected face and the Tilt Angle and Tilt Direction are calculated accordingly.

For the Tilt Angle and Tilt Direction, see Tool Axis Control below.

Fixed Tilt Angle

Similar to Normal to Face, however, the Tilt Angle does not change. This means that the tilt angle is fixed to the existing value and the Direction Angle is the angle of the face normal.

Tool Axis Control

Set the Tilt Angle and Tilt Direction, either by entering values or by using the appropriate slider. When the angles are changed, the tool is rotated around its tip. The sliders and value fields are color coded for user assistance.

Tilt Angle

The Tilt Angle is measured from the Z direction of the Reference UCS.

When the Tilt Angle = 0 and a point is selected, the tool is positioned on the selected point and the holder points in the + Z direction of the Reference UCS.

See the example below.

Tilt Direction

The Tilt Direction is measured around the X direction of the Reference UCS. When the Tilt Direction = 0 the tool tilts towards + X direction of the Reference UCS.

See the example below.

Tilt Angle/Direction ExamplesTilt Angle/Direction Examples

Normal to Face: The cutter is normal to the selected face and the Tilt Angle and Tilt Direction are calculated accordingly.

These controls can also be set in the Axes Control dialog. When the controls are set in the Cutter Orientation Definition dialog, they are translated to the machine angles in the Axes Control dialog.

ExampleExample

In this example, the Tool Axis Orientation is set to Normal to Face and a face is picked (as shown). Note that the Tilt Angle is translated to the machine A angle; in this case they are both identical (72°). The Tilt Direction of -90° is translated to 0° for the machine C axis (this depends on the machine configuration and rotary limits).

Flip Orientation
(face other side)

Change the direction of the selected face 180 degrees. This change is reflected in the Tool Axis Control area, above.

ExampleExample

Flip Solutions: In many cases, there are usually two potential solutions for the machine rotary axes. The Flip Solutions button flips enables you to flip between these two solutions. This button is disabled when two solutions are not available.

OK: Accept the changes, perform the operation, and close the current dialog/task.

The cutter and machine remain in the current orientation and position.

Cancel: Cancel all changes and close the dialog/task without saving the settings.

The orientation and position of the machine is reinstated to the state before the Cutter Orientation Definition dialog was opened.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.