Jump to content
Ultimaker Community of 3D Printing Experts
aggertroll

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

Solved.

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

      self.frame._printerConnection.cancelPrint()

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

    • 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!