<p>I'm having a Prusa i3 derivative printer with a capacitive sensor for the z-axis. It switches a tiny bit before the nozzle hits the print bed and hence needs a z-offset to be configured.</p>

<p>In Slic3r I have configured the z-offset to <code>-0.1</code> on the <em>General</em> page of the <em>Printer Settings</em>, but currently I'm evaluating Cura and can't find such a setting. Slic3r seems to apply this setting directly to the generated z-values in the g-code, so it does not use a short version at the beginning of the g-code. My current (except of the auto-bed-leveling part default) g-code:</p>

<pre><code>G28 ;Home
G29 ; auto-bed-leveling
G1 Z15.0 F6000 ;Move the platform down 15mm
G92 E0
G1 F200 E3
G92 E0
</code></pre>

<p>Is there a way to configure Cura, e.g. using the <em>Start Gcode</em> options, to apply the z-offset?</p>

[{'answer_id': 4746, 'author': 'Tom van der Zanden', 'author_id': 26, 'author_profile': 'https://3dprinting.stackexchange.com/users/26', 'pm_score': 5, 'selected': True, 'text': "<p>You can trick the printer into applying an offset using the <code>G92</code> command:</p>\n\n<pre><code>G0 Z0\n\nG92 Z0.1\n</code></pre>\n\n<p>First, we move the nozzle to <code>Z=0</code>. Next, through the <code>G92</code> command, we tell the printer to, from now on, treat the current position as <code>Z=0.1</code>. This effectively applies an offset of <code>-0.1</code> to the Z-axis, since if we now executed <code>G0 Z0</code> again, the nozzle would move down <code>0.1mm</code>.</p>\n\n<p>Note that this needs to be done after homing and leveling to be effective.</p>\n\n<p>Of course, you don't necessarily need to move the nozzle to <code>Z=0</code> for this to work. You could also just insert <code>G92 Z15.1</code> after <code>G0 Z15</code> to get the same effect.</p>\n"}, {'answer_id': 5939, 'author': 'Saran', 'author_id': 10727, 'author_profile': 'https://3dprinting.stackexchange.com/users/10727', 'pm_score': 3, 'selected': False, 'text': '<h1>For Cura 3.1(?)+:</h1>\n\n<ol>\n<li><p>Install the plugin: Menu / Plugins / Browse Plugins... / scroll to "Z Offset plugin" <strong>&lt;-- Install</strong></p></li>\n<li><p>Configure the setting: <code>Printer Profile / Print Setup / Build Plate Adhesion / Z Offset</code></p>\n\n<ul>\n<li>set positive value for nozzle liftup</li>\n<li><strong>set negative value</strong> to bring nozzle lower for first layer (like -0.1 for your wanted scenario)</li>\n</ul></li>\n</ol>\n'}, {'answer_id': 5946, 'author': 'Zohar Karabelnik', 'author_id': 10734, 'author_profile': 'https://3dprinting.stackexchange.com/users/10734', 'pm_score': -1, 'selected': False, 'text': "<p>I built my printer five years ago with a similar issue and I strongly suggest that the physical 0 will be the actual 0 instead of tweeking it into the system. Especially if you are exploring and testing new methods, i.e. Cura vs Slic3r settings. In Marlin, you can insert a z adjustment for the endstops but it can create future complications if you decide to upgrade the machine.</p>\n\n<p>Keep it as simple as possible, if a sensor is misplaced don't try to reverse calculate it, the pressure of the motors will nudge it and after a while you'll have the same problem...</p>\n"}]
['https://3dprinting.stackexchange.com/questions/4745', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/5223/']