Jump to content
Ultimaker Community of 3D Printing Experts
DaHai8

Screen v gCode Layers v Pause at Height

Recommended Posts

Riddle me this:

Why do the Cura Screen Layers start at 1 while the gCode Layers start at 0 (zero)?

Why does the "Pause at Height" Post Processing Extension use millimeters instead of Layer Numbers?

Basically, the way it stands right now, if I want to pause the print at a particular height to change filament I must:

1. Enable Layer View in Cura and note the layer number I want to print with the new color on.

2. Subtract 1 from that because gcode layers numbers start at 0 while Cura layers start at 1

3. Save the gcode out to disk.

4. Search for that Layer # and write down the Z height it prints at

5. Delete the gcode save in step 3

6. Go back into Cura and edit the Pause at Height to insert the correct Z height in MM

7. Save the gCode again and print it.

I'm thinking that if Cura starting number layers in the Layer view at 0 and the Pause at Height plugin used layer numbers, it would make swapping filament and the like a whole lot easier.

Or am I missing something supidfyingly obvious?

Share this post


Link to post
Share on other sites

Mmmh ...

doing a little mathematics would make the life easier ;-)

Assuming you have the following in your print profile:

Layer Height: 0.1mm

Initial Layer Height: 0.2mm

No you want to Pause at Height at Layer No 10

So you have 1 x 0.2 + 9 x 0.1 = 1.1 mm

No fiddling with layer numbers and so on needed ...

Share this post


Link to post
Share on other sites

Well, to paraphrase Barbie "Math is hard" :), so I wrote a new plugin: Pause at Layer

Ok, basically I just took Pause at Height and modified it to work off Cura GUI Layer numbers instead of Z mm values....

For anyone interested, I'm happy to share the code here or anywhere it is appropriate to do so. Just let me know.

Example print:

DSCN2638.thumb.JPG.1045afde30743d7cb9a40ca130d69e09.JPG

I didn't get all the Black out of the print head before printing with Golden, so there's a bit of a bleed-in between the two. My bad, not the plugin's.

DSCN2638.thumb.JPG.1045afde30743d7cb9a40ca130d69e09.JPG

Edited by Guest
  • Like 1

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

    • Introducing Ultimaker Cura 3.6 | Beta
      Ultimaker Cura 3.6 | Beta is available. It comes with new features, bug fixes, and UX improvements. We would really like to have your feedback on it to make our stable release as good as it can be. As always, you can download the beta for free from our website, for Windows, MacOS, and Linux.
        • Like
      • 69 replies
    • Print Core CC | Red for Ruby
      Q: For some users, abrasive materials may be a new subject matter. Can you explain what it is that makes a material abrasive when you are not sure which print core to use?
      A: Materials which are hard in a solid piece (like metals, ceramics and carbon fibers) will generally also wear down the nozzle. In general one should assume...
        • Like
      • 21 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!