Skip to content

Reformat all numbers in PrusaSlicers' GCode

License

Notifications You must be signed in to change notification settings

foreachthing/prusaslicer-numberformatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrusaSlicer-numberformatter

Reformat all numbers in PrusaSlicers' GCode.

Reformat from .2 to 0.2. This script will add zeros before the decimal point.

See PrusaSlicer issue: prusa3d/PrusaSlicer#6996

Note

It will reformat all numbers found in the gcode file.

image

Left after and right before the script has run.

Installation

Add that script to the post processing section of PrusaSlicer. Maybe so: "C:\Users\USERNAME\AppData\Local\Programs\Python\Python39\python.exe" "C:\dev\prusaslicer-numberformatter.py";

About

Reformat all numbers in PrusaSlicers' GCode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published