Jump to content
Ultimaker Community of 3D Printing Experts
peridot

Starting G-code before temperature setting

Recommended Posts

I am using Cura 2.3.99 from an Ubuntu PPA, and I have run into a problem: the start G-code I provide appears after the heater commands Cura automatically generates. This is a problem because I use an ATX power supply, which needs to be turned on before the heaters will work. This is easy - just run M80 before heating - but is there any way to make it happen in Cura?

I'm perfectly happy using variables - I assume using python's .format {} syntax - and writing the heater commands myself. in fact I'd prefer it, because the Cura default waits for the bed to reach temperature before starting the hot end heater, and I'd rather heat both at once. But there are two problems: I have no idea what the variables for print temperature and bed temperature are called, and even if I put those commands in the start G-code, Cura still prepends its own heater commands. Is there a way around this? Is there any documentation on the heater commands? I tried exporting the material definition file, and the XML contains variables "print temperature" and "heated bed temperature", but these don't get interpolated with {} either as is or with underscores replacing the spaces.

Share this post


Link to post
Share on other sites

Thank you. Are these all listed anywhere? Or visible within the source code?

The extra heater commands are the bigger problem, though, since they force me to manually run M80 before I can print anything, and they are slower than necessary. They would also be an obstacle to people who need to do autoprobing cold.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Our picks

    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!