Skip to content

Instantly share code, notes, and snippets.

@alexqzd
alexqzd / gcode_feature_type_message.py
Created August 17, 2021 02:05
PrusaSlicer post-processing script to show on the LCD screen which type of feature is currently being printed.
#!/usr/bin/python
import sys
import re
import os
import sys
sourceFile = sys.argv[1]
# Read the ENTIRE g-code file into memory
with open(sourceFile, "r") as f: