Jump to content

Set Z offset in Cura


clems

Recommended Posts

Posted · Set Z offset in Cura

Hi ultimakers,

i want to print directly onto different objects which have a height of 1, 3 and 4 mm. Is there a way in cura to set the z value, so that the starting z-value is 1,3 and 4 mm above the printbed. I do not want to change the z-stop manually as I need to change the value of the z a lot.

Hopefully someone can help me!

Regards

Clemens

  • Link to post
    Share on other sites

    Posted · Set Z offset in Cura

    Cura has no such feature. It only has very limited uses cases and makes the workflow much more complicated / confusing. With a little bit of g-code tweaking you could implement this yourself (Do a certain move before you start and reset the zero position).

    If you want to make that automatic and know a bit of code, you could use https://github.com/nallath/PostProcessingPlugin

  • Link to post
    Share on other sites

    Posted · Set Z offset in Cura

    I think you have 2 options, ofc making a plugging would rock.

    - Simplify3D has Z offset (150€ slicer no demo to test)

    - Attach something of 1.3mm to the piece that hits the Z sensor (design + print). On umo the wood would let you screw something to it probably, on um2 I think it's a screw that hits the sensor on the lower part, so that could be trickier since you need to remove distance. Maybe unscrew it 1.3mm?

    Droping ideas

  • Link to post
    Share on other sites

    Posted (edited) · Set Z offset in Cura

    Cura has no such feature. It only has very limited uses cases and makes the workflow much more complicated / confusing. With a little bit of g-code tweaking you could implement this yourself (Do a certain move before you start and reset the zero position).

     

    Thank you for the hint. I changed my starting gcode:

    G21        ;metric values

    G90        ;absolute positioning

    M82        ;set extruder to absolute mode

    M107       ;start with the fan off

    G28 X0 Y0  ;move X/Y to min endstops

    G28 Z0     ;move Z to min endstops

    G92 Z-3  ; reset the position

    ....

    After moving Z to min endstops. I reset this postion to the negativ height of my objects.

    That is now easy for me.

    Edited by Guest
    • Like 1
    Link to post
    Share on other sites

    • 3 years later...
    Posted · Set Z offset in Cura

    This still seems to be a still problem in Cura 3.6. I'm one of the poor people that can't afford a multi-color extruder nor a Mosaic Palette. My use case was:

    • I wanted to print a 3.2mm thick base plate in one color.
    • I wanted to change the filament to a different color.
    • I wanted to continue printing letters on top of the base plate (i.e.: starting at Z=3.2) using the second color.

    I didn't want to mess around with the G code files after Cura generated them, but I did have control of the source STL files. So my work around was to generate the STL file with the letters at the correct height and include a 3.2 x 0.5mm (h x d) post outside the build area of the base plate.

     

    If I tried to make the post 0.4mm or less (the diameter of my nozzle) Cura would exclude it from the G code and start the G code of the letters at Z=0 instead of Z=3.2.

  • Link to post
    Share on other sites

    Posted · Set Z offset in Cura

    If you wouldn't mind babysitting the printer, you could make it all in one design (=one part in one STL-file). And then manually pause the printer at the appropriate height, change filament, and continue?

     

    If you would print a dummy block next to the real print, you can hit the pause button while it is on the dummy block at the right height, so it doesn't stop halfway a layer in your real model.

     

    Not practical, but it might work. There are people who do similar things to insert metal (or other) inlays halfway a print.

     

    • Like 1
    Link to post
    Share on other sites

    Posted · Set Z offset in Cura
    4 hours ago, ahoeben said:

    Have you tried the Z Offset plugin from the Marketplace?

     

    I did have a look at fieldOfView's "Z Offset Setting" plugin in the Marketplace but I didn't think the "Build Plate Adhesion > Z Offset" setting was having any effect because Cura's GCode preview was still showing the GCode sitting on the build plate.

     

    After your comment I broke out KDiff3 to have a look at the resulting GCode (I know GCode, I just don't want to hand edit it) and confirmed that it is actually modifying the GCode Z offsets. Before:

    ;MESH:lorem-ipsum.stl
    G0 F7070 X-2.177 Y0.813 Z0.3

     

    After:

    ;MESH:lorem-ipsum.stl
    G0 F7070 X-2.177 Y0.813 Z3.5 ;adjusted by z offset
    G92 Z0.3 ;consider this the original z before offset


    I haven't tried printing with that yet, but it should work ok.

  • Link to post
    Share on other sites

    Posted · Set Z offset in Cura

    I’m fieldOfView on github.

  • Link to post
    Share on other sites

    Posted · Set Z offset in Cura

    I'm pretty sure I did something like that using a negative "cut off object bottom" value... (old version of Cura though)

     

  • Link to post
    Share on other sites

    Posted · Set Z offset in Cura

    To print different colors on top of something already printed I generate anther G-code where I used support blockers with the height that is already printed and change the per model settings to Zero for: Wall Line Count, Top Layers, Bottom Layers and Infill. 

    That ensures the bottom section will not be printed and the new color will be printed on top of the previously printed part.

    To prevent the extruder to crash with the already printed part, instead of building a waste tower I add a line of code to raise the extruder to a height that will clear the previously printed object.

     

    Example: The first print is on layer 147  height 29.6mm

     

    G0 F6000 Z31  (add this line to raise the extruder to 31mm before start of the print)
    ;LAYER_COUNT:370

    ;LAYER:147

    G0 F6000 X153.1 Y138.3 Z29.6

     

    For more complex prints I also add a line to move the extruder to the exact X, Y position

  • 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

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 18 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...