PierreMasselot1 / Material-Switching-Unit

The MSU (Material Switching Unit) is a multi-material upgrade based on the MMU2, with key improvements to improve reliability, price and compatibility.
GNU General Public License v3.0
64 stars 15 forks source link

Change python script, update README.MD with changes, and add example … #9

Closed bkhofmann closed 2 years ago

bkhofmann commented 2 years ago

I offer this edited tool change extraction script. It adds 3 things. It captures the line numbers of the original gcode file for the section that it extracts, It copies the filament settings from the original gcode file, and along with a minor change in the filament profile custom gcode, it will also capture the filament profile name for the filament being tip tested. Outputs all as commented text in the output gcode file.

I've also updated the README.MD file describing the changes outlined above, and included an image with example slicer settings to implement the filament profile name inclusion in the output file.

PierreMasselot1 commented 2 years ago

Alright changed a couple of things to make the code a bit cleaner. This is ready to merge :+1: