Created
April 19, 2014 07:05
-
-
Save machinekoder/11076499 to your computer and use it in GitHub Desktop.
Post processing script for Slic3r to work with Machinekit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# convert all E to A axis | |
sed '/^G/s/ E/ A/' "$1" > "$1post" | |
rm "$1" | |
# convert all M106 to B axis | |
sed '/^M106/s/M106 P/G0 B/' "$1post" > "$1" | |
rm "$1post" | |
#convert g1 line segments to g2 or g3 if possible | |
./g1tog23.py $1 | |
rm $1.bak |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment