Update README.md

This commit is contained in:
James 2021-12-08 17:09:21 +11:00 committed by GitHub
parent 8e1ed4d877
commit 3a6b4f5ecf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -1,2 +1,10 @@
# laydient # laydient
Swap filaments throughout am FDM 3D print to create a vertical gradient effect Swap filaments throughout am FDM 3D print to create a vertical gradient effect
## usage
from a command prompt, use ```laydient.py /path/to/source.gcode```
Or place ```/path/to/laydient.py``` in the Post-processing scripts section in PrusaSlicer or maybe other slicers
## how it works
it searches for ```LAYER_CHANGE``` in the input gcode, counts them, then generates a gradient with that number of steps. Then it searches again and inserts toolchanges into the gcode at the appropriate layers. Finally, it outputs the code as ```input-filename_gradient.gcode``` into the source directory.