This a Python script that post-processes existing G-Code to add gradient infill for 3D prints.
Watch my YouTube video about it: https://youtu.be/hq53gsYREHU
In its current for it only works with G-Code files generated with CURA due to the comments CURA puts into the G-Code files.
It is also important to make sure that the "Walls" are printed before the "Infill" ("Infill before Walls" OFF). For this script to work, also activate "Relative Extrusion" under "Special Modes".
Further instructions can be found on my website: http://cnckitchen.com/blog/gradient-infill-for-3d-prints
GradientInfill.py by 5axes
GradientInfill.py Posprocessing Script for Cura PlugIn.
Save the file in the C:\Program Files\Ultimaker Cura X.X\plugins\PostProcessingPlugin\scripts directory
Extrusion mode in Cura must be set in relative mode. If it's not the case an error message will be raised in Cura.
No Gcode will be generated by Cura in this case. Same behaviour if Cura settings are not suitable for Gradient Infill modification :
- Infill pattern type ZigZag and Concentric not allowed
- The option "Connect Infill Lines" for the other patterns musn't be used.
A new Flow Value for short distance (Linear move < 2 x Gradient distance) added to the standard GradientInfill script.
Add a gradual speed variation for machine without direct drive extruder.