Jump to content
UltiMaker Community of 3D Printing Experts

Using Z-offset from Marketplace in Cura for Ultimaker 2+


Recommended Posts

Posted · Using Z-offset from Marketplace in Cura for Ultimaker 2+

Newbie here, trying to understand just how the z-offset (by ahoeben/afieldofview) works.  Please bear with me being long-winded.


Running Cura 4.6 with the z-offset plugin.


Suppose I level and physically set the bed to, say, 0.2 mm below the nozzle.

I print some PLA with z-offset = 0 in Cura UI.

Now I want to use PETG, so I use the plugin in Cura UI to set a z-offset of, say, +0.25 mm.

So now Cura is telling the printer that, physically, 0.45 mm below the nozzle is the Z=0 position.

I print a model.

If I run the same gcode again, does the printer know to set the bed 0.2 mm below the nozzle, before running the gcode to change the z-offset, to set the bed 0.45 mm below the nozzle again?

If so, the absolute altitude of the bed following calibration (the 0.2 mm value) must be stored somewhere and used to initialize the Z axis.  Is this done by the firmware before the gcode is run?

If not, how does the printer driver avoid stepping the bed lower each time the gcode is run?


Explanation appreciated.  This community is appreciated.

  • Link to post
    Share on other sites

    Posted · Using Z-offset from Marketplace in Cura for Ultimaker 2+
    8 hours ago, squodeler said:

    If I run the same gcode again, does the printer know

    Any and all offset created by the plugin is reset when the printer is "homed". The printer is homed on the start of every new print.


    Your printer uses "stepper motors". These can rotate by very precise increments, but they do not "know", nor can they meassure, their current angle. As a result, all the printer "axes" can move by a certain distance very precisely, but when started the printer has no idea where each of the axes are. When homing, each of the axes touches on a "known" position, and from there on all relative moves are added up so the printer knows where each axis is.


    The plugin "plays" with the internal knowledge of where the "0" for the Z axis is. It stays in the modified state until the z axis is homed again.


    As an aside: bold text is normally used for emphasis. You emphasized your whole post, as if you were shouting the whole thing. Please don't; it is not necessary.

  • 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

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    • Create New...