Credits: based on kmsd3d Customizable Better Temperature Tower - https://www.thingiverse.com/thing:2491884
I've built a Python script to change the pressure advance for each layer in a previously generate GCODE. This way you can see how the Pressure Advance affects each your print.
2019-02-28: Allowing floats for PA and fixed comments.
How does it work?
In the package you will find a STL. Slice the gcode using the following settings:
- Do not use brim, raft or anything that generates something that is not the test object.
- Use 0% infill, 0.2mm layers high (all of them). Changing this value will affect the results.
- Use 1 bottom layer, 0 top layer, 1 shell. You may add more shells if you find it useful for you.
- Generate the GCODE.
- Run the script for the GCODE:
python .\setPA.py -s 0 -e 3 -f cubo.gcode -p 3000.
s is the initial Pressure Advance.
e is the last Pressure Advance.
f is the GCODE filename.
p is the print speed in mm/s. Use this to overwrite the slicer speed.
- Check the best layer and match the respective PA. Generally the corner where the Z movements occurs is the worse corner, it is somewhat expected. Evaluate the other 3 corners.
Using Simplify 3D
Simplify 3D already generates the gcode file with comments between layers. There is no need to add additional configuration.
(instructions from kmsd3d [Customizable Better Temperature Tower|https://www.thingiverse.com/thing:2491884] - I didn't test it)
- Install perl, e.g. activePerl.
- Add the full path to the script to "Print Settings" → "Output options" → "Post-processing scripts".
3; Add the following to "Printer Settings" → "Custom G-code" → "Before layer change G-code":
; layer [layer_num]
- You can resize the STL in X and Y, but not in Z.
Example using PA from 0 to 3. Note the difference between over and under extrusion.