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.
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:
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.
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.
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.
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.
Mastercam’s multiaxis toolpaths have hard-coded defaults and formulas that are not stored in the defaults file.
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.
Mastercam gives you additional options for default feed rates and spindle speeds. You can:
Use the Tool Settings tab on the Machine Group Properties dialog box to tell Mastercam your preference.
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.
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.
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.
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.
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:
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 (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.
Operation-level defaults for these settings are not supported.
Incoming search terms:
- mastercam save toolpath