A streamlined Mastercam NET‑Hook that automatically applies Z‑offsets to selected geometry layers.
Designed to eliminate repetitive CAM work and produce fast, consistent results.
This project is based on a workflow described in my article:
https://www.compositesworld.com/articles/automating-layer-preparation-in-composite-tooling-workflows
The article explains the motivation, the problem solved, and the practical benefits of automating Z‑level layer offsets in Mastercam.
Download the compiled tool here:
https://github.com/psaumil69/mastercam-splitlayers-automation/releases/latest
Includes:
• SplitLayers.dll (NET‑Hook)
• SplitLayers.ft (function table)
• TestFile.mcam (optional sample)
This NET-Hook Add-In works on Mastercam 2022+
- Download DLL + FT from the release
- Copy both files into your Mastercam folder: C:\Program Files\Mastercam 202X\chooks\
- Restart Mastercam
- Launch the hook from:
Add‑Ins → NET‑Hook menu
More details in docs/install.md
- Open a Mastercam file
- Run the SplitLayers NET‑Hook
- Select target layers
- Enter Z‑offset
- Apply → verify → done
More info in docs/overview.md
• Automates Z‑layer offsets
• Eliminates repetitive manual edits
• Reduces human error
• Configuration‑friendly
• Lightweight, fast, no setup needed
• No source code required — compiled DLL only
• docs/overview.md
• docs/install.md
• Documentation: MIT License (LICENSE)
• DLL: Covered by EULA (EULA.md)
• Not affiliated with CNC Software, LLC
• Mastercam® is a registered trademark of CNC Software, LLC
If this tool helps your workflow, consider starring the repo!
If you run into issues or have feature suggestions, feel free to open an Issue on GitHub.