Thingiverse
Python script to insert gcode commands before a layer
by arpruss
8
Downloads
8
Likes
0
Makes
From time to time I need to insert a pause in gcode to change filament. It's a nuisance to manually edit gcode and have to count layers or search for "g1 z". So I wrote a simple python script to automate this and other similar things (e.g., inserting a temperature change). [Here](https://github.com/arpruss/miscellaneous-scad/blob/master/scripts/insert.py) it is (click on "Raw" to download).
USE AT YOUR OWN RISK.
You should first edit the script to change the parking command for pauses. I s
USE AT YOUR OWN RISK.
You should first edit the script to change the parking command for pauses. I s
Sign in to leave a comment
Sign in