CoupeFab

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.

Reviewed 3 min read Level : Advanced DraftWritten by CoupeFab from the official documents cited. Technical review by Michaël Brassard pending.

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

ElementRole
Machine definitionAxes, travel, components (turret, spindle, tailstock)
Control definitionControl behaviour: arcs, compensation, cycles, formats
Post processorTranslates 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

  1. Lathe machine group with the right definition.
  2. Stock properties: diameter, length, face; chuck and jaws; tailstock if needed.
  3. Geometry: half-profile in the turning plane (Z along the part, X on diameter or radius depending on setup).
  4. Operations in the usual order: Face, roughing (Rough or Dynamic Rough), Finish, Groove, Thread, Cutoff.
  5. Verify in simulation, then post.

Watch-outs on the lathe

PointWhy
Diameter or radius in XA mistake doubles dimensions
Speed limit with G96Without a limit, the spindle speeds up dangerously near centre
Tool nose radiusCompensation (G41/G42) or compensated path, not both
Clearance at the end of a grooveAvoid 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

Spotted an error or want something added? Tell us →

One guide a week, French-first

New guides, used equipment in Quebec and price moves. No third-party ads.

CASL compliance: the box is not pre-checked. Nothing is sent without this express consent.