Update README.md

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

View File

@ -8,3 +8,14 @@ Or place ```/path/to/laydient.py``` in the Post-processing scripts section in Pr
## how it works ## 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. 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.
### toolchanges
This script inserts the following:
``` G10
T#
G11```
This retracts the filament, swaps the tool, then unretracts. The rest of the toolchange/purge is up to your firmware.
## IMPORTANT
Make sure you slice your file for a single extruder, this does not take existing toolchanges into account.