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

Announcements

  • Our picks

    • Architect Design Contest | Vehicles.
      We're open for entries! - Design and submit your 3D designs of architectural entourage - vehicles - for a chance to win a large filament pack. Presenting an idea, an architectural design or something as big as an urban project isn't easy. A scaled model can really help to get your idea across.
        • Like
      • 24 replies
    • What The DfAM?
      I'm Steve Cox, an experienced engineer familiar with 3D printing. I wanted to share some DfAM guidelines with this community to help and make stronger parts.
      I'm also an Autodesk Certified Instructor for Fusion 360, so many of the images in ...
        • Thanks
        • Like
      • 22 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!