Jump to content
Ultimaker Community of 3D Printing Experts

Custom abort routine for UMO / Cura 15.04.3?

Recommended Posts

I run my UMO with Cura 15.04.3 (Mac) via USB and everything works great.

But: When I hit "Abort print", buffer empties and then the printer simply stops.

Right now I disable steppers, lower Z stage by hand, return print head to front left by hand.

(Not sure if it switches off nozzle heater; filament oozes out for a while and I had the nozzle clogged on the next print run once or twice)

I would much rather that "Abort" would

- retract standard end-of-print amount

- switch off nozzle heater

- lower bed 15mm

- return print head to 0,0

I found this great thread describing customization of the Pronterface print UI.

Can I implement the abort routine described above using this customization?

(I don't know a thing about Python and programming, but I begin to understand what these scripts do.)

Any advice / help would be highly appreciated.

Share this post

Link to post
Share on other sites


First lesson learned: Don't edit code with a text editor. Not even with saving as txt. Anytime I tried to edit the script the interface would not load. Got a python editor. Works.

Picked a nice interface script, re-appropriated an existing button to execute my abort routine.

So if you are looking for a way to

- lower the platform,

- retract,

- return to home,

- switch off heater, bed and fan

- and say 'Aborted' on the little screen

at the click of a button when you cancel/abort a print, this is one way: Pick one of the Pronterfan print interfaces in the thread mentioned in the first post, open it with one of the many script editors available for free and do some tweaking. Its fun, actually.

Edited by Guest

Share this post

Link to post
Share on other sites

Can someone help me with a Python question please?

Right now I changed an existing button in a Pronterfan UI to send some gcode commands after I cancel a print, i.e. click cancel in the Ui, then click the changed button.

The cancel part of the code says:

     if id == 140:

     # cancel


Can I somehow attach the gcode commands to this cancel command so that they are triggered on cancel? I always want those commands to be sent when I cancel a print.

Edited by Guest

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

    • How to 3D print with reinforced engineering materials
      Ultimaker is hosting a webinar where we explain how you can achieve and maintain a high print success rate using these new reinforced engineering materials. Learn from Ultimaker's Product Manager of Materials and top chemical engineer Bart van As how you can take your 3D printing to that next level.
      • 0 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 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!