A Snapmaker 2.0 PrusaSlicer Post-Processor to create compatible files for the Snapmaker terminal.
This application can be added to PrusaSlicer as post-processing script which takes the generated G-Code and converts it in-place into a Snapmaker terminal compatible file by modifying the G-Code comment sections.
- Store
sm2pspp
somewhere on your system. - Enable thumbnail output in PrusaSlicer
Printer Settings/General/G-code thumbnails:
300x150. - Add post-processing script in PrusaSlicer
Print Settings/Output options/Post-processing script:
absolute path to sm2pspp.
Hint: Add the parameter --check
after the path to sm2pspp to exit with an error if no nozzle temperature was set.
This can be useful to prevent the output of Gcode files with invalid settings.
The following dependencies are given:
- C99
Edit Makefile to match your target system configuration.
Hint: You may want to link with -mwindows
for Windows targets to suppress the console window to be shown.
Building the program:
make
Name | Meaning |
---|---|
*.mk | Target specific Makefile setup. |
mingw-unicode.h | Unicode enabled main() for MinGW targets. |
parser.* | Text parsers and parser helpers. |
target.h | Target specific functions and macros. |
tchar.* | Functions to simplify ASCII/Unicode support. |
sm2pspp.* | Main application files. |
version.* | Program version information. |
See unlicense file.