It looks like Cura’s method is to add ChangeAtZ post-processing scripts - so I’ve added one at the height and (extruder 1 temp) for each layer, marked as ‘at this layer and subsequent’.
The Generated g-code sets the new temperature (I’m going from low to high) - but then sets it right back…
The first CAZD stanza is what I expect - changing to 197.0 - but right after the WALL-OUTER label, another CAZD stanza sets the temperature back.
I’ll manually edit this out for now - but has anyone else encountered this? It doesn’t seem like what the post-processing script should be doing. I wouldn’t have been surprised if other temperature set commands were leftover in the file, but the counter-command seems to have been explicitly inserted by CAZD.
I haven’t done this in a long time, so I have to look into it again…
but 1st..your tower should be set from High to Low.
Highest temp of the bottom, Lowest at the top.
Some openscad models allow you to switch the order. I’ve always preferred Low on the bottom - start with a ‘known reasonable’ temperature - then gradually increase until it gets stringy - look at the model to find the midpoint with clean extrusion, but no sagging or stringing.
I always figured that I didn’t want to have to guess at the high temp, and build a poor base for the later layers.
Looks like it hasn’t had any commits in 4 years - so either this plugin doesn’t get used at all, or something in the generated gcode triggers this change/changeback case - but it can’t happen very often - maybe something Sovol specific that trips it up.
The comments in the code aren’t great at explaining what’s happening and why, so I’ll have to go through the overall structure a bit more to understand the processing flow.
The nice thing is that the plugin can run standalone against a gcode file, without Cura - so it’s easier to experiment and troubleshoot. I might also try regression testing earlier versions of the script to see if this worked properly at some point in the past.
Going back to the first imported version (when the name changes from TweakatZ to ChangeatZ, it worked. Then the generated G-code is:
;LAYER:38 ;MESH:Customizable_Temperature_Tower-sv07plus190-225.stl G0 X104.22 Y130.12 Z8.2 ;ChangeAtZ V5.1.1: executed at 8.20 mm M117 Printing… ch@ 8.2 M104 S197.000000 T0