1 / 1
Unspool Filament Gcode Generator (Python Script) — image 1

Unspool Filament Gcode Generator (Python Script)

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

Model information

Category
Accessories
License
Creative Commons — Attribution

Got filament spools that your printer won’t use reliably?
This project lets your printer unspool filament automatically.
This helps if you want to effectively recycle your filament.
 

Features

  • Python script generates segmented G-code tailored to your spool

  • Small XY loops keep the firmware happy

  • Cold extrusion enabled

  • Works with Bambu printers (A1 Mini tested)

Usage

  1. Download the .py script

  2. Right click on the parent folder, select “Open in terminal”

  3. Execute the script

  4. Transfer .gcode to your printer using the sd card

  5. Manually set the z height to ~10cm

  6. Execute the gcode

python generate_unspool_gcode.py --unit g --total 100 --step .5 --x 110 --y 110 --speed 500

=> Generates .gcode that will unspool 100g of filament in .5g steps at 500mm/min speed on x=110 and y=110.

Tags