Custom G-code not behaving as expected
Hey all, I noticed that an M221 S100 command was not working as expected, instead of setting the extrusion multiplier to 100%, it was setting the nozzle temperature to 100°C.
PC Case Carryhandles Base
The purpose of this custom G code was to change the temperature and extrusion rate for a varioshore TPU part.
I wanted the upper part to be rigid 92A with the lower part a much softer ~60A.
As the lower part is using the default filament settings I defined for this (220°C and 0.6 extrusion multiplier), I had to somehow change these values to 190°C and 1.0 respectively.
I found no other practical way in Prusaslicer to do this except with custom G code at layer height.
The first attempt resulted in the part only being printed partially, it failed when the custom G-code was interpreted as setting the nozzle temperature at 100°C...
I adjusted the custom G-code multiple times, but each time with the same result.
Custom G-code I used:
;CUSTOM_GCODEM104 S190M109 S190M221 S100
(tried without M109 S190).
I went through the G-code multiple times and couldn't find any point at which the nozzle temperature was set to 100°C, so I'm a bit puzzled as to what's going on.