This project provides a postprocessor for the CAM Workbench of FreeCAD compatible with the CNC module of Snapmaker machines.
It converts FreeCAD internal GCODE generated by the Path Workbench into GCODE suitable for Snapmaker 2.0 machines. Its functions cover:
- Snapmaker CNC commands
- tool change between operations (by inserting a HMI pause (M76))
- drilling (by converting G81-G83 commands)
- thumbnail generation for HMI
- rapid moves (speed is not added by FreeCAD to GCODE)
- spindle speed conversion from rpm in percents ( mandatory only for the 50W CNC module)
Move the snapmaker_post.py
file to the FreeCAD macros directory. It should appear within the list of postprocessors of the Path workbench.
Check the wiki if you need more information.
Refer to FreeCAD documentation on how to use a postprocessor.
This postprocessor has been tested on FreeCAD 1.0 and 1.1 shipped with python3.11+. Efforts have been made to handle every Snapmaker machine having CNC capabilities. However the postprocessor has only been tested on the following machine:
- A350
- A250
- Artisan
No warranty of any kind is provided, so be cautious as you use this postprocessor at your own risks. If you encounter any bug, please open an issue.
First versions of this postprocessor reused parts of the marlin postprocessor shipped with FreeCAD. This postprocessor is not affiliated in any way with the Snapmaker compagny.
This repository and its content are licensed under the EUPL-1.2-or-later.
Check https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
This license is deemed to be compatible with the one used by FreeCAD.