Introduction to Mill-Turn Component Libraries
Component libraries are specialized machine definition files that let you access components on a part-specific basis. These are typically used to configure a Mill-Turn .machine file for a particular part. Use component libraries to store and retrieve the following types of components:
- tool locators
- chucks and chuck jaws
- collet chucks and collets
- turret-mounted steady rests. (Standalone steady rests are created by your machine developer and stored in the .machine file.)
You can see the component libraries that are associated with a .machine file when you open it in Code Expert. Each .machine file includes two separate libraries—one each for inch and metric tool components.
To open a component library, double-click it in Code Expert. Mastercam opens it in the Mill-Turn Component Library dialog box in a new session of Mastercam. The sample library shown below includes the following elements:
- A set of tool locators for a tool spindle/B-axis head.
- A tools group with a tool spindle component to contain the tool locators.
- A set of chucks for each spindle.
- A set of chuck jaws and/or collets.
- Default chucks, jaws and collets. If a library contains multiple components of each type, you can designate which ones will be selected by default when you begin a new part in Mastercam.
Inside Mastercam, you interact with component libraries in two ways:
- When you load tools in the Tool Setup Manager, Mastercam displays the tool locators that are stored in the component library. Drag each desired tool locator to a turret position or tool spindle to load it.

- When working in the Work Setup page in Job Setup, you can select chucks, jaws, collets, and turret-mounted steady rests that have been saved to your component library.

Usually, you work with the component libraries that have been saved in your .machine file. However, it is also possible to save component libraries separately and work with them as standalone files.
- The most common reason for this is to create a library of components that you can access in Job Setup.
- You can also select a standalone library from inside the Tool Setup Manager if you want to use a specific tool locator that is not available from the libraries in your .machine file. For example, the Tech Exchange area on CNC Software's website include many specialized libraries such as Capto and Iscar tool holders. You can download these libraries and use them as needed.
Component libraries—files with a .mcam-gmd extension—have been used since Mastercam X as libraries of generic machine definition components. When you work with a machine definition for any Mastercam product, you can open a component library and drag components from it into your machine definition. However, the component libraries used for tool locators are specialized for use in Mastercam Mill-Turn and cannot be used by other Mastercam products.
When you create a new component library, Mastercam displays two different component library buttons: one for creating a Mill-Turn component library, and one for other Mastercam products. Click the button on the right to create a Mill-Turn component library.





