Skip to content

Instantly share code, notes, and snippets.

@ApexArray
ApexArray / PrusaSlicer Set EM rate by file name.md
Last active March 3, 2024 22:33
PrusaSlicer: Set EM rate by file name (for Ellis' print tuning guide)

Set EM rates by file name

Summary

Ellis' Print Tuning Guide provides a great process for tuning Extrusion Multipler (EM), but I recently moved back to PrusaSlicer (RIP SuperSlicer) and I didn't want to print the objects one at a time (as suggested in the guide).

This script simplifies the process by automatically adjusting EM according to each file/object name.

@ApexArray
ApexArray / generate-bom.py
Last active November 21, 2021 10:21
Generate list of fasteners from FreeCAD files
"""
Run with FreeCAD's bundled interpreter.
Example:
"C:/Program Files/FreeCAD 0.19/bin/python.exe" generate-bom.py
"""
from pathlib import Path
import re
import FreeCAD