fieldOfView / Cura-CustomJobPrefix

A Cura plugin that lets the user set a custom print job prefix
GNU Affero General Public License v3.0
24 stars 5 forks source link

Add Material temperature as a replacement option #27

Closed MathijsG closed 4 months ago

MathijsG commented 3 years ago

I was missing the material temperature as an option. So I fiddled around a bit with the code and added this.

ewortzman commented 3 years ago

This doesn't seem to work for me. the value returned is always 210, regardless of what I set my actual print temperature to. You may need to look at a different setting.

ewortzman commented 3 years ago

yep, just confirmed it. what you need is extruder_stack.getProperty("material_print_temperature", "value")

MathijsG commented 2 years ago

Confirmed working with your changes, thanks! What else would be needed to have this in the codebase?

ewortzman commented 2 years ago

Is there any change to get this into the repo?

MathijsG commented 2 years ago

@ewortzman Your suggestion was working. I don't know how this gets in the repo?