<p>OK, after going via all the options I found that CURA has a combing mode which reduces retraction and offers another option which is <code>Avoid Printed Parts When Traveling</code>.</p>

<p>That solves my problem.</p>

CC BY-SA 4.0
2018-07-15T18:28:01.470Z
Good to hear that you found a workaround that works for you, but technically your answer does not answer the question `Cura slicer, enforce Z move before layer change` or `Is there a way to instruct Cura to lift nozzle before it goes to the starting point of a new layer?`
0scar
CC BY-SA 4.0
2018-07-15T21:40:26.630Z
@0scar please read this twice: '**Keep an open mind**
The answer to your question may not always be the one you wanted, but that doesn’t mean it is wrong. A conclusive answer isn’t always possible. When in doubt, ask people to cite their sources, or to explain how/where they learned something. Even if we don’t agree with you, or tell you exactly what you wanted to hear, remember: we’re just trying to help.' source: https://3dprinting.stackexchange.com/help/how-to-ask and the main point is that asking a question is a part of creating the solution!
profesor79
CC BY-SA 4.0
2018-07-16T05:58:32.360Z
Why not change the question to include "or another method to avoid hitting the print" and expand your answer where you say you address the avoidance of the printed parts, then it would be a correct answer!
0scar
CC BY-SA 4.0
2024-05-19T19:47:37.677Z
@profesor79: How does your answer resolve the problem for someone in the future who is actually looking for the question asked in the post title? It doesn't. Others have given you proper answers to that question. Your answer does something else entirely. It does not *enforce Z move before layer change*, and therefore is wrong in this context. Accepting an incorrect answer to the question asked is rather disrespectful to the people who took the time to actually answer it.
Ken White
CC BY-SA 4.0
2018-07-09T20:44:23.013Z
2018-07-09T20:44:23.013Z
profesor79
<p>To lift the head to prevent the nozzle to tip over your print you could use an option called <code>Z hop</code> in Cura. Just enter `hop' in the search box on the right side to make those options magically appear (in a recent version of Cura, e.g. version 3.x.x).</p>

<p>Other than <code>Z hop</code> there is no default action, or series of commands, per layer to be specified before the start of the layer. There are 2 other ways to circumvent this:</p>

<ol>
<li>The first is saving you G-code to file and open the file in an advanced text editor (e.g. Notepad++). With a (recorded) macro you can find the words <code>;LAYER:</code>, which are inserted by Cura before each layer starts, and insert a pre-copied list of commands that set the movement in relative mode, move Z up 2 mm, set into absolute mode again. When the next layer starts the extruder goes to the layer start from a 2 mm rise.</li>
<li>Write a plugin for Cura to post-process (<code>C:\Program Files\Ultimaker Cura x.x\plugins\PostProcessingPlugin\scripts</code>) the G-code file to inject the code to Z hop before the start of every layer, or a plugin that adds a new option and/or category to the slicer settings sidebar of the GUI.</li>
</ol>

CC BY-SA 4.0
2018-07-09T10:38:19.680Z
that is not an option..... shall add that to question. this will extend printing time by 3 to 4 times as was trying that...
profesor79
CC BY-SA 4.0
2018-07-09T10:24:58.340Z
2018-07-09T13:51:40.527Z
2018-07-09T13:51:40.527Z
0scar
<p>Just do the z hop on passing printed parts - problem solved!
<a href="https://i.sstatic.net/AfjmNM8J.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AfjmNM8J.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2024-05-20T03:05:38.450Z
It would be helpful to readers to know **why** your proposed solution works. Please [edit] your answer to add an explanation and citations that lead to this conclusion.
agarza
CC BY-SA 4.0
2024-05-19T19:35:16.457Z
2024-05-19T19:35:16.457Z
Dexter00
<p>I am slicing with Cura and Slic3r and one important thing that I recently took my attention is that cura positions head in start point of the new layer and then lifts the nozzle. That caused my few printouts to fall as they collided with the nozzle. </p>

<p>Slic3r behavior is different: it raises the nozzle in last printed point and then moves to a new layer starting point (which for me is more obvious)</p>

<p><strong>Is there a way to instruct Cura to lift nozzle before it goes to the starting point of a new layer?</strong> excluding Z-hops.</p>

CC BY-SA 4.0
2018-07-09T15:20:14.547Z
You sure of that?  Nobody else is complaining about Z-interference (unless you've found some forum links) from Cura slices.  I suspect you're dealing with overextrusion or some such.
Carl Witthoft
CC BY-SA 4.0
2018-07-09T15:31:27.790Z
@CarlWitthoft with 0.4 nozzle and 0.2 layer is okay. With 0.32 layer I'm running into issues
profesor79
CC BY-SA 4.0
2018-07-09T16:49:17.207Z
A 0.32 mm layer is slightly over 75% of the nozzle diameter which is regarded as the maximum, try 0.28 mm or 0.24 mm instead.
0scar
<ultimaker-cura><slicing>
Cura slicer, enforce Z move before layer change
profesor79
# Cura slicer, enforce Z move before layer change

(Asked by: username_0 on 2018-07-09)

I am slicing with Cura and Slic3r and one important thing that I recently took my attention is that cura positions head in start point of the new layer and then lifts the nozzle. That caused my few printouts to fall as they collided with the nozzle.

Slic3r behavior is different: it raises the nozzle in last printed point and then moves to a new layer starting point (which for me is more obvious)

**Is there a way to instruct Cura to lift nozzle before it goes to the starting point of a new layer?** excluding Z-hops.

**Tags:** ultimaker-cura, slicing

> **Comments:**
> **username_1**: You sure of that?  Nobody else is complaining about Z-interference (unless you've found some forum links) from Cura slices.  I suspect you're dealing with overextrusion or some such.  
> **username_0**: @username_1 with 0.4 nozzle and 0.2 layer is okay. With 0.32 layer I'm running into issues  
> **username_2**: A 0.32 mm layer is slightly over 75% of the nozzle diameter which is regarded as the maximum, try 0.28 mm or 0.24 mm instead.  

---

## 3 answers

### Answer by username_0 on 2018-07-09. Score: -1 | Accepted answer

OK, after going via all the options I found that CURA has a combing mode which reduces retraction and offers another option which is `Avoid Printed Parts When Traveling`.

That solves my problem.

> **Comments:**
> **username_2**: Good to hear that you found a workaround that works for you, but technically your answer does not answer the question `Cura slicer, enforce Z move before layer change` or `Is there a way to instruct Cura to lift nozzle before it goes to the starting point of a new layer?`  
> **username_0**: @username_2 please read this twice: '**Keep an open mind** The answer to your question may not always be the one you wanted, but that doesn’t mean it is wrong. A conclusive answer isn’t always possible. When in doubt, ask people to cite their sources, or to explain how/where they learned something. Even if we don’t agree with you, or tell you exactly what you wanted to hear, remember: we’re just trying to help.' source: https://3dprinting.stackexchange.com/help/how-to-ask and the main point is that asking a question is a part of creating the solution!  
> **username_2**: Why not change the question to include "or another method to avoid hitting the print" and expand your answer where you say you address the avoidance of the printed parts, then it would be a correct answer!  
> **username_3**: @username_0: How does your answer resolve the problem for someone in the future who is actually looking for the question asked in the post title? It doesn't. Others have given you proper answers to that question. Your answer does something else entirely. It does not *enforce Z move before layer change*, and therefore is wrong in this context. Accepting an incorrect answer to the question asked is rather disrespectful to the people who took the time to actually answer it.  

---

### Answer by username_2 on 2018-07-09. Score: 4

To lift the head to prevent the nozzle to tip over your print you could use an option called `Z hop` in Cura. Just enter `hop' in the search box on the right side to make those options magically appear (in a recent version of Cura, e.g. version 3.x.x).

Other than `Z hop` there is no default action, or series of commands, per layer to be specified before the start of the layer. There are 2 other ways to circumvent this:

1. The first is saving you G-code to file and open the file in an advanced text editor (e.g. Notepad++). With a (recorded) macro you can find the words `;LAYER:`, which are inserted by Cura before each layer starts, and insert a pre-copied list of commands that set the movement in relative mode, move Z up 2 mm, set into absolute mode again. When the next layer starts the extruder goes to the layer start from a 2 mm rise.
2. Write a plugin for Cura to post-process (`C:\Program Files\Ultimaker Cura x.x\plugins\PostProcessingPlugin\scripts`) the G-code file to inject the code to Z hop before the start of every layer, or a plugin that adds a new option and/or category to the slicer settings sidebar of the GUI.

> **Comments:**
> **username_0**: that is not an option..... shall add that to question. this will extend printing time by 3 to 4 times as was trying that...  

---

### Answer by username_4 on 2024-05-19. Score: 0

Just do the z hop on passing printed parts - problem solved!
[![enter image description here](https://i.sstatic.net/AfjmNM8J.png)](https://i.sstatic.net/AfjmNM8J.png)

> **Comments:**
> **username_5**: It would be helpful to readers to know **why** your proposed solution works. Please [edit] your answer to add an explanation and citations that lead to this conclusion.  

---

