Skip to content

clsergent/Snapmaker2Postprocessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ announcement: a deep refactoring work has been conducted to follow the new Postprocessing API in order to merge it into the FreeCAD distribution. Even several tests were conducted (and a unit test suite written) new bugs may occur, so remain cautious.

Snapmaker2Postprocessor

Overview

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)

Usage

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.

Limitations

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.

Credits

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.

License

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.

About

A FreeCAD postprocessor for Snapmaker 2 CNC module

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages