That is definitely an answer! And a great reference for those who seek the same.
I guess this should all be done in a post processing script of your own.
That is definitely an answer! And a great reference for those who seek the same.
I guess this should all be done in a post processing script of your own.
@ahoeben I was wondering...
My StartUp G-Code has purge lines and they work well with PLA and PETG but they are too fast for TPU on my printer. I had a thought to add a Keyword to alter the print speed of the purge lines to match the print speed setting in Cura. It appears that there is none for "speed_print_layer_0" in mm/minute.
The alternative would seem to be adding a copy of my printer definition and altering the StartUp G-Code with the purge line speeds adjusted for TPU.
What I have hard coded is:
G1 F1500...
What I was looking for would be something like:
G1 F{speed_print_layer_0_mm_min} or some conversion from Print Speed in mm/sec to Print Speed in mm/min.
Just out of curiosity - is there a way (besides adding a second printer definition)?
Out of the box, I don't think there is a way to do this.
You could do this by manually editing a profile cfg file. Or you could create a postprocessing script that does the multiplication.
Thanks @ahoeben. That's what I was thinking. All-in-all it's easier (for me) to have a second printer installed in Cura just for TPU.
Recommended Posts
ahoeben 2,016
Here's the best reference I can do:
"It is not possible to do arithmetic in gcode snippets in Cura"
Link to post
Share on other sites