Software · CAM
Mastercam: machine definition, post processor and first steps in turning
How Mastercam links machine definition, control definition and post processor, what to ask your reseller, and the basic turning workflow: stock, chuck, roughing, finishing, grooving, threading.
In Mastercam, G-code does not come “from the toolpath”: it goes through a chain of three elements. Understanding that chain avoids most first-program surprises.
The posting chain
| Element | Role |
|---|---|
| Machine definition | Axes, travel, components (turret, spindle, tailstock) |
| Control definition | Control behaviour: arcs, compensation, cycles, formats |
| Post processor | Translates the intermediate file (NCI) into G-code for your control |
The toolpath produces an NCI (neutral intermediate data); the post turns it into a program. Changing machines means changing the group’s machine definition.
What to ask your reseller
- Machine model, control and options (subprograms, canned cycles, C axis, live tooling)
- Expected header format (program name, comments, tools)
- Supported drilling and turning canned cycles (G71, G76…)
- Handling of constant surface speed (G96) and spindle speed limit (G50 or G92 depending on control)
- A test program supplied with the post
Turning workflow
- Lathe machine group with the right definition.
- Stock properties: diameter, length, face; chuck and jaws; tailstock if needed.
- Geometry: half-profile in the turning plane (Z along the part, X on diameter or radius depending on setup).
- Operations in the usual order: Face, roughing (Rough or Dynamic Rough), Finish, Groove, Thread, Cutoff.
- Verify in simulation, then post.
Watch-outs on the lathe
| Point | Why |
|---|---|
| Diameter or radius in X | A mistake doubles dimensions |
| Speed limit with G96 | Without a limit, the spindle speeds up dangerously near centre |
| Tool nose radius | Compensation (G41/G42) or compensated path, not both |
| Clearance at the end of a groove | Avoid rubbing on exit |
See also CNC lathe for the basics.
FAQ
Can I edit a post myself?
Technically yes (.pst files), but an uncontrolled post edit can produce a dangerous program. Keep the original, version your changes and dry-run.
Sources
- Mastercam — Post processors, consulted November 26, 2026.
- Mastercam — Lathe.
- Mastercam — Dynamic Motion (dynamic turning).
One guide a week, French-first
New guides, used equipment in Quebec and price moves. No third-party ads.