Postprocessing bug with 10 or more processes
Posted: Sat Mar 22, 2025 1:23 pm
I use processes to setup test prints.
Lately I'm having an issue if I have a lot of processes ... the break point seems to be 10 or more.
The postprocessing script starts to replace stuff in the gcode headers where the scripts are listed before the print code starts.
The replace is actually acting on the commented out script lines in the file headers.
Example factory file is attached.
Resulting gcode has this at line 4109, which causes an error.
This is from the post processing script acting on itself in the header of the gcode file.
If you slice with only the first 9 processes this does not happen.
I know I'm just changing temps in these processes which could be done with setpoints in the temp tab, but I'm often tweaking retraction settings which can't be done with setpoints.
Lately I'm having an issue if I have a lot of processes ... the break point seems to be 10 or more.
The postprocessing script starts to replace stuff in the gcode headers where the scripts are listed before the print code starts.
The replace is actually acting on the commented out script lines in the file headers.
Example factory file is attached.
Resulting gcode has this at line 4109, which causes an error.
Code: Select all
M109 S260"" ""; feature skirt
If you slice with only the first 9 processes this does not happen.
I know I'm just changing temps in these processes which could be done with setpoints in the temp tab, but I'm often tweaking retraction settings which can't be done with setpoints.