Skip to content

Instantly share code, notes, and snippets.

View MTrab's full-sized avatar

Malene Trab MTrab

View GitHub Profile
@MTrab
MTrab / cleanup_prusa_slic3r_gcode.py
Created January 4, 2022 13:17 — forked from ex-nerd/cleanup_prusa_slic3r_gcode.py
Gcode cleaner to work around prusa slic3r annoyances for multi-tool printing on non-Prusa printers.
#!/usr/bin/env python
"""
Gcode cleaner to work around prusa slic3r annoyances for multi-filament
single-tool printing on non-Prusa printers.
This gist can be found here:
* https://gist.github.com/ex-nerd/22d0a9796f4f5df7080f9ac5a07a381f
Bugs this attempts to work around:
* https://github.com/prusa3d/Slic3r/issues/557