Home / Mastercam Help / Working with mastercam toolpath defaults

Working with mastercam toolpath defaults

Working with toolpath defaults

When you create a new toolpath or other operation, Mastercam automatically populates the fields on each tab or properties page with default values. These values are stored in a file with a DEFAULTS extension. These defaults are specific for each type of operation; for example, a contour toolpath, a facing toolpath, or a feature based drill operation.

  • The first time you create an operation of a specific type in a Mastercam session, the default values are read from the defaults file.
  • Then, each time you create another operation of the same type, Mastercam uses the values from the previous operation.

For each type of toolpath, the defaults file stores a complete set of default values for all the tabs or properties pages where you need to enter information:

t15

For example, even though the Toolpath parameters tab or Tool page are used for almost every operation, the defaults file stores different sets of values for each type of operation. The set of default values for each operation also includes values which you set from other dialog boxes, for example, lead in/out moves, tolerances, or gap settings.

Tip: You can quickly re-populate the toolpath parameters with values from the defaults file by right-clicking in the Toolpath parameters tab and choosing Reload parameters from defaults file or selecting the Reload parameters from defaults file button in the tree-style dialog box toolbar.

t16

While many of the default toolpath settings are read from the defaults file, some — such as feeds and speeds, tool numbers and tool offsets — can be read from other places. Read the Notes at the end of this topic to learn more about how default values for specific types of parameters are created and used.

Selecting a .defaults file

Click the Files icon in the Toolpath Manager to see which defaults file is being used and to select a new one.

t17

After you click the Files icon, you can either select a new defaults file or edit the current one. Click here to see how.

Organizing defaults files

Mastercam provides separate sets of default values for inch and metric operations, stored in separate defaults files. Mastercam also maintains separate defaults files for each product (Mill, Lathe, Router, and Wire). Beyond that, you can create as many different defaults files as you wish. For example, you can create files with different default values for different machines in your shop so that when you select a machine and begin creating toolpaths, the proper defaults file is automatically loaded.

  • Use the Files page in the Control Definition Manager to select the defaults file that will be loaded when a new machine group is created.
  • In the System Configuration dialog box, you can select a primary defaults file for each Mastercam product. Mastercam uses this as the source for the default values if it cannot find the defaults file referenced in the control definition or machine group properties.
  • When you switch between inch and metric operation, Mastercam automatically loads a defaults file in the proper units.

Notes for different types of default parameters

Certain types of default values are handled specially or have advanced, specialized configuration options. Click on them below to learn more.

  • Multiaxis toolpaths

Mastercam’s multiaxis toolpaths have hard-coded defaults and formulas that are not stored in the defaults file.

  • High speed surface toolpaths

Many cutting and linking parameters for high speed surface toolpaths are based on the selected tool. This means that, even though you can store default values in your .defaults file, many of the values will be overwritten as soon as you select a tool. Click here to learn how to turn off this behavior.

  • Feeds and speeds

Mastercam gives you additional options for default feed rates and spindle speeds. You can:

  • Treat them like other toolpath defaults. This means you set default feeds and speeds for each operation type and save them to a defaults file.
  • Read default values from the tool definition.
  • Dynamically calculate default values based on the operation type, stock material, and the specific tool that you selected. Click one of the following links to learn more about how Mastercam calculates these defaults for Mill/Router or Lathe toolpaths.

Use the Tool Settings tab on the Machine Group Properties dialog box to tell Mastercam your preference.

  • Coolant

Because the coolant options that are available for any operation are defined in the active machine definition, consider your default values carefully if you will be using custom coolant options. If the default coolant options in the defaults file are custom settings that are not supported by the active machine definition, Mastercam will attempt to match them to the options that are available, but there is no guarantee that this will be successful or meaningful. If you will be using custom coolant options, consider creating a machine-specific defaults file.

  • Miscellaneous values

Mastercam lets you define your own custom variables. Users can enter specific values for these variables when creating a toolpath on the Miscellaneous values dialog box. Use the Misc int/reals page in the Control Definition Manager to tell Mastercam where to get the default values for these variables. You can either read them from the defaults file on a per-operation basis, or from the control definition (which stores them in the post). Use the control definition to read them from the post if you want them to be the same for all operations using that control or post. Read them from the defaults file if your custom variables only apply to specific operations.

  • Clearance height, retract height, feed plane

You can choose to use modal defaults for these parameters. This means that once you set a value for any toolpath, Mastercam will continue to reuse that value as the default for the next toolpath, even if the next toolpath is a different type. For example, if you know that every toolpath will have to clear a 6-inch fixture, you can switch to modal defaults as part of your job setup in the machine group properties, and then enter a retract height of 6.5 inches for the first toolpath. Every successive toolpath that you create will be preset to a clearance height of 6.5 inches. Once you change it, the new value will become the default for the next toolpath. Use the Tool settings tab in the Machine Group Properties dialog box to use modal defaults.

  • Step, peck, coolant values

For certain types of cutting parameters, you can choose to read default values from the tool definition instead of the defaults file. These include the step sizes for milling tools; peck depths for drills; and coolant selection. Select the Use tool’s step, peck, coolant option on the Tool settings tab in the Machine Group Properties dialog box to read these defaults from the tool definition.

  • Home and reference positions

Default home positions and reference points are both stored in the machine definition as part of the axis combination settings. For sophisticated machines with multiple axis combinations, this lets you set specific defaults for each one. The Machine Axis Combinations dialog box in the Machine Definition Manager sets defaults for both home and reference positions, but they’re implemented slightly differently:

 

  • For home positions, you can choose whether to use the axis combination default or an operation-specific default, stored in the .DEFAULTS file. For lathes, you can also choose a default home position from the tool definition. Use the Tool page in the Control Definition Manager to select which default to use. No matter where the default comes from, the user can override it on the Toolpath parameters tab.
  • For reference positions, the only defaults are stored with the axis combination. You cannot create operation-specific defaults. The user can still override the default on the Toolpath parameters tab. Reference points can be completely disabled in the Control Definition Manager on the Tool page.
  • Tool numbers and tool offsets

Whenever you select a tool for a toolpath, Mastercam assigns it a tool number. This tool number gets output in the tool change block in the NC program when you post the operation. You can choose where this default tool number comes from. Use the Tool settings tab in the Machine Group Properties dialog box to tell Mastercam to number the tools sequentially, or to read the value from the tool definition.

For tool length, diameter, and back offsets, use the Tool page in the Control Definition Manager to tell Mastercam whether to calculate them from the tool number, or simply read them from the tool definition.

  • Default tool and material libraries

Default tool and material libraries (including insert and holder catalogs for lathes) are set in the machine definition. Use the Tool/material libraries tab in the General Machine Parameters dialog box to select these.

  • Canned text, Planes

Operation-level defaults for these settings are not supported.

 

 

Incoming search terms:

  • mastercam save toolpath

Leave a Reply

Your email address will not be published. Required fields are marked *