Skip to content

5axes/Cura-Postprocessing-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cura-Postprocessing-Scripts

Compilation of personnal Ultimaker Cura postprocessing scripts

Installation

The files must be stored in the user script directory of the respective Cura version: \AppData\Roaming\cura\scripts

After the next start of Cura the script can be added via Extension / Post-Processing / Modify G-Code Add a script.

Adding script

Description: This plugin shows custom messages about your print on the Printer Panel... Please look at the option - LayerId: Use the Layer ID coded in the Gcode and not an increment starting from 0

DisplayPrintInfosOnLCD.py

Description: Add slicing parameter in the GCode Header

GCodeDocumentation.py

Description: postprocessing-script to easily define a Speed Tower.

SpeedTower.py

This script offer the possibilities to modify :

  • Speed ( By using M220 instruction )
  • Acceleration
  • Jerk
  • Junction Deviation
  • Marlin Linear Advance
  • RepRap Pressure Advance

Description: postprocessing-script to easily use an temptower and not use 10 changeAtZ-scripts

The default values are for this temptower PLA model https://www.thingiverse.com/thing:2493504

  • Temp Tower PLA de 210 à 170
  • Possibility to define also a Fan Tower , Fan percentage speed indicate with semi-colon as seprator

TempFanTower.py

Description: postprocessing-script to easily create a Retract Tower

Two options :

- Speed   :  Speed variation

- Retract :  Distance retract variation

RetractTower.py

Description: FlowIroning for 3D prints. Change the Fan value on ironing operation.

FanIroning.py

Note : Some Ironing area are not detected by the script. It is mainly the small areas located on contour areas.

Sample not detected area

Description: add header infos and part thumbnail for RepRap machine 3DWOX

part thumbnail

Not fuly tested

GradientInfill.py (original idea from CNCKitchen )

Version : 1.5

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.

Message

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 , Concentric , Cross and Cross3D not allowed
  • In cura the option "Connect Infill Lines" for the other patterns musn't be used.

The wall must be done before the Infill element. So In Cura the Option infill_before_walls must be set to Off

Postprocessing Options

PostProcessing

  • Gradient Distance : Distance of the gradient (max to min) in mm
  • Gradient Discretization : Only applicable for linear infills; number of segments within the gradient(segmentLength=gradientThickness / gradientDiscretization) use sensible values to not overload
  • Max flow : Maximum extrusion flow
  • Min flow : Minimum extrusion flow
  • Short distance flow : Extrusion flow for short distance < 2x Gradient distance
  • Gradual speed : Activate also Gradual Speed linked to the gradual flow
  • Max over speed : Maximum over speed factor
  • Min over speed : Minimum over speed factor
  • Extruder Id : Define extruder Id in case of multi extruders
  • Test with outer wall : "Test the gradiant with the outer wall segments

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.

gradient infill

Sample part with a Gradient distance set to 8 mm : Gradient distance set to 8 mm

This Cura Postprocessing Script adds comments to the G-Code. The user can select or deselect comments for M-Commands and G-Commands separately.

G0 and G1 commands are only commented if a retract is included.

Command, description and parameters are read from a CSV file. If a command is not contained, the required data is determined once via the website http://marlinfw.org/docs/gcode/ and added to the CSV file.

CommentGCode.py

Modification of the official script with Layer Increment.

Insert a Gcode at Layer Number. Can be insert Before or after the Layer Number.

InsertAtLayerNumber.py

Script cura to set a higher filling speed for the first layer.

FastFirstInfill.py

Original first layer speed before modification

First layer speed

First layer speed after modification with the script.

First layer speed after modification

Script to modifiy the first layer infill and Check the first Wall Speed Bug Cura 5.6

CheckFirstSpeed.py

Script used to fix a bug in Cura versions 5.5 and 5.6 bug on github

Original first layer speed before modification

First layer speed

First layer speed after modification with the script and a first infill speed of 30 mm/s.

First layer speed after modification

Script cura to reduce the speed according to the print height.

SlowZ.py

- Slow Z percentage : Positive value to slow the print as the z value rises up to this percentage.

- Slow Z height : Positive value to define the start height of the speed reduction.

- Display details on LCD : This setting will insert M117 gcode instructions, to display current modification in the G-Code is being used.

SlowZ settings

Script cura to duplicate the initial Brim/skirt to obtain a thick Brim.

Note : Updated for Cura 5.0 & 5.1

MultiBrim.py

- Brim addition : Number of brim to add to the existing one.

- Brim speed : Speed for the subsequent brims.

Multi layer brim height request on Cura Github #6929

Different tests made with the current release (V1.6)

MultiBrim test

Script Cura to change the FAN value when we are in the case of Minimum Layer Time. When we are in minimum Layer Time situation the Script fix the FAN values to the Fan value in %

ChangeFanValue.py

Note : In GCode 100% = 255 for the Fan Value M106S255.

Script Cura to turn off the print cooling fan on the first X Layers.

InhibFan.py

Note : In GCode turn off the print cooling fan. M107.

Description: Z hop for every G0 displacement even if Retraction is not define ( Retraction must be desactivate) . Use the speed_z_hop and the retraction_hop as retraction parameter.

ZMoveG0.py

Errors messages if Retraction is activate.

Error ZMoveG0

Description: ZMoveIroning for 3D prints. Z hop for ironing

ZMoveIroning.py

Description: SpoonOrder is a script used in the spoon Anti-warping Plugin, Print every spoon tabs first.

SpoonOrder.py

Description: InfillLast print for the first layer every Infill path at the end of the First Layer. ( Work in progress )

InfillLast.py

Author : Greg Foresi (GregValiant)

Description: This script changes the Z-Hop height from the beginning of the 'Start Layer' to the end of the 'End Layer'. If the new hop height is 0.0 it negates the z-hop movement. The Z-hop command lines are altered, not removed.

- This script supports different hop heights for up to 4 extruders.
- Z-Hops at tool change are not affected when 'Alter Z-Hops' runs BEFORE other post-processors that make code insertions just before Tool Change lines
- Adaptive Layers is not compatible and there is an exit if it is enabled in Cura
- Z-Hops must be enabled for at least one extruder in Cura or the plugin exits.

AlterZhops.py

Modifiy existing Zhop to get Diagonal ZHop for 3D prints.

About

collection of Ultimaker postprocessing script

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages