Jump to content
Ultimaker Community of 3D Printing Experts
clems

Set Z offset in Cura

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites
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.

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