Skip to content

daniel-starke/sm2pspp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sm2pspp

A Snapmaker 2.0 PrusaSlicer Post-Processor to create compatible files for the Snapmaker terminal.

Features

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.

Usage

  • Store sm2pspp somewhere on your system.
  • Enable thumbnail output in PrusaSlicer Printer Settings/General/G-code thumbnails: 300x150. G-Code Thumbnail Setting
  • Add post-processing script in PrusaSlicer Print Settings/Output options/Post-processing script: absolute path to sm2pspp. Post-processing Script

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.

Building

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

Linux GCC Build Status Windows Visual Studio Build Status

Files

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.

License

See unlicense file.