Can you point me to the original discussion?
It was actually a github issue (https://github.com/Ultimaker/Cura/issues/5155).
I'll respond there, keeping this thread on-topic
thanks smartavionics, using the material command was the thing to do!
from an earlier reddit post I made, someone else suggested which worked:
M140 S{material_bed_temperature} ; heat bed, nonblocking
M104 S{material_print_temperature} ; heat hotend in parallel ;
DO THE RGB THING HERE
M190 S{material_bed_temperature} ; heat bed, blocking
M109 S{material_print_temperature} ; heat hot end, blocking
Edited by Tetra84- 1
- 1 year later...
Hi. Having the same issue. Cura ignores that I set M140 and M104 commands into the "start code" and still adds these commands BEFORE custom start code.
What I wanted to achieve is to start heating up nozzle and the bed at the same time, home the nozzle and then wait for target temps. Instead of waiting for the bed, then waiting for the nozzle, then waiting for the homing.
I'm using similar thing to previous message:
M140 S{print_bed_temperature}
M104 S{print_temperature}
do things
M190 S{print_bed_temperature}
M109 S{print_temperature}
Variables are different than previous message but they're correct, according to result.
So Cura still inserts its default heating code, which is start heating the bed and wait, then start heating the nozzle and wait.
Cura 4.6.1, Windows.
Ok, googled a bit more and found out.
Apparently Cura ignores M140/M104 commands in custom start code if you use these variables. Even though they are correct and working overall. They're just being ignored by parser that decided whether it should insert heating commands or not.
According to this issue, I need to use {material_print_temperature_layer_0} and {material_bed_temperature_layer_0}. I tried, it works properly. Cura recognizes these variables in custom start code as heating commands.
Recommended Posts
burtoogle 516
Looking at the Cura sources I would expect those names to be material_bed_temperature, material_bed_temperature_layer_0, material_print_temperature and material_print_temperature_layer_0.
Link to post
Share on other sites
burtoogle 516
Hello @ahoeben, while you're here did you see the request the other day from a user to be able to have multiple extruders with a single heater? I think quite a lot of people would probably like that. I suggested that I would do the engine stuff if some heroic person worked on the front end. It probably doesn't need much, maybe just a checkbox to say that all the extruders share a heater. Are you up for it?
Link to post
Share on other sites