Jump to content

Screen v gCode Layers v Pause at Height


DaHai8

Recommended Posts

Posted · Screen v gCode Layers v Pause at Height

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?

  • Link to post
    Share on other sites

    Posted · Screen v gCode Layers v Pause at Height

    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 ...

  • Link to post
    Share on other sites

    Posted · Screen v gCode Layers v Pause at Height

    Shure, you're right, "why should we have to" do such calculations when a clever software can do this automaticly.

    I only want to show that the 7 steps in your post are not necessary if you do a little math ...

  • Link to post
    Share on other sites

    Posted (edited) · Screen v gCode Layers v Pause at Height

    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
    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 Universal Cura Projects in the UltiMaker Cura 5.7 beta
        Strap in for the first Cura release of 2024! This 5.7 beta release brings new material profiles as well as cloud printing for Method series printers, and introduces a powerful new way of sharing print settings using printer-agnostic project files! Also, if you want to download the cute dinosaur card holder featured below, it was specially designed for this release and can be found on Thingiverse! 
          • Like
        • 10 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...