<p>Searching the <a href="https://github.com/Ultimaker/CuraEngine" rel="nofollow noreferrer">CuraEngine source</a>, the only places I can find where nozzle size is used directly involve some arcane logic for merging of infill lines, such as:</p>

<p><a href="https://github.com/Ultimaker/CuraEngine/blob/05e93dabce9e863b8742fd69ed87717e1594e7a9/src/MergeInfillLines.cpp#L124" rel="nofollow noreferrer">https://github.com/Ultimaker/CuraEngine/blob/05e93dabce9e863b8742fd69ed87717e1594e7a9/src/MergeInfillLines.cpp#L124</a></p>

<p>So essentially, yes, nozzle size mainly serves as a default value for the line width settings.</p>

<p>However, in general it's not always possible for line width different from nozzle size to be honored.</p>

<ul>
<li><p>For line widths smaller than the nozzle, motion along a path where the material being deposited has proper adhesion is required to stretch the material and prevent it from retaining the width extruded from the nozzle, and small lines already printed are likely to be damaged by the nozzle when attempting to print additional small lines in their vicinity. In particular, you won't be able to print small details significantly below the nozzle size just by extruding less material.</p></li>
<li><p>For line widths larger than the nozzle, compression against an existing surface is required to prevent the extra material from just sagging down rather than expanding horizontally. In particular, line widths wider than the nozzle are unlikely to work right in the presence of overhangs.</p></li>
</ul>

<p>Also, as noted by Tim Kuipers in comments, there are places outside the source, but rather in the json-based configuration tree, where nozzle size plays a role in the defaults and warning ranges for other parameters. Those are mostly line widths, but</p>

<blockquote>
  <p>The nozzle size can affect the values of the following settings besides line width in <code>fdmprinter.def.json</code>: Outer Wall Inset, Outer Wall Wipe Distance and Minimum Support XY Distance. Other than that it only influences the conditions under which setting-values give you a warning.</p>
</blockquote>

CC BY-SA 4.0
2019-06-12T21:30:11.133Z
Does that imply that you can change the "line width" setting when you swap out nozzles and ignore the nozzle size? Cura makes it much easier to access "line width" than "nozzle size" at the moment.
Kayvon
CC BY-SA 4.0
2019-06-12T21:41:52.093Z
@Kayvon: I would guess that it's safe to do so, but that's probably an accident of the current implementation rather than something you can rely on.
R.. GitHub STOP HELPING ICE
CC BY-SA 4.0
2019-08-08T19:59:36.507Z
This answer is actually wrong. You shouldn't look at the CuraEngine source, but you should look at Cura/resources/definitions/fdmprinter.def.json There are 65 occurrences, so that's quite a lot.
Tim Kuipers
CC BY-SA 4.0
2019-08-08T20:15:05.790Z
@TimKuipers: those are essentially just using nozzle size as default line width.
R.. GitHub STOP HELPING ICE
CC BY-SA 4.0
2019-08-08T20:27:50.367Z
@R.. yes but those settings will then change when the nozzle size changes, so that is something the nozzle size setting does.
Tim Kuipers
CC BY-SA 4.0
2019-08-08T20:29:02.400Z
See "besides suggest the line width" in the question.
R.. GitHub STOP HELPING ICE
CC BY-SA 4.0
2019-08-09T14:49:41.633Z
The nozzle size can affect the values of the following settings *besides line width* in fdmprinter.def.json: Outer Wall Inset, Outer Wall Wipe Distance and Minimum Support XY Distance.

Other than that it only influences the conditions under which setting-values give you a warning.
Tim Kuipers
CC BY-SA 4.0
2019-08-09T19:53:17.180Z
@TimKuipers: Thanks. Added that to my answer with credit to you.
R.. GitHub STOP HELPING ICE
CC BY-SA 4.0
2019-06-12T15:55:00.030Z
2019-08-09T19:53:03.067Z
2019-08-09T19:53:03.067Z
R.. GitHub STOP HELPING ICE
<p>The <a href="https://ultimaker.com/en/resources/52340-quality" rel="nofollow noreferrer">Ultimaker Cura documentation</a> says</p>

<blockquote>
  <p><strong>Tip:</strong> If you use an unavailable third party nozzle size, set the line
  width to equal the nozzle size.</p>
</blockquote>

<p>I sliced an object with a 0.3&nbsp;mm line width. When the nozzle size is 0.4&nbsp;mm, the results are <em>almost</em> the same as when the nozzle is 0.3&nbsp;mm. The filament usage is slightly different and the gcode files have similar, but different, coordinates throughout.</p>

<p>What does <strong>nozzle size</strong> really do besides suggest the line width?</p>

CC BY-SA 4.0
2019-06-12T15:31:23.267Z
Well, it does affect the anticipated extrusion rate and thus the rate at which the raw filament is driven into the hotend.
Carl Witthoft
CC BY-SA 4.0
2019-06-12T21:27:42.723Z
@Carl, that was my first thought, but I don't think it's correct. The amount of filament needed for the line width doesn't depend on nozzle size. The extrusion distance times the filament size gives you the volume, which must equal the layer height times the line width, regardless of nozzle size.
Kayvon
CC BY-SA 4.0
2019-06-13T14:59:21.543Z
true - I was thinking more of the ease with which the combo of extrusion and motion speed could produce a reliable line width.
Carl Witthoft
<ultimaker-cura><nozzle>
What does nozzle size affect besides line width in, e.g., Ultimaker Cura?
Kayvon
# What does nozzle size affect besides line width in, e.g., Ultimaker Cura?

(Asked by: username_0 on 2019-06-12)

The [Ultimaker Cura documentation](https://ultimaker.com/en/resources/52340-quality) says

> **Tip:** If you use an unavailable third party nozzle size, set the line
> width to equal the nozzle size.

I sliced an object with a 0.3 mm line width. When the nozzle size is 0.4 mm, the results are *almost* the same as when the nozzle is 0.3 mm. The filament usage is slightly different and the gcode files have similar, but different, coordinates throughout.

What does **nozzle size** really do besides suggest the line width?

**Tags:** ultimaker-cura, nozzle

> **Comments:**
> **username_1**: Well, it does affect the anticipated extrusion rate and thus the rate at which the raw filament is driven into the hotend.  
> **username_0**: @username_1, that was my first thought, but I don't think it's correct. The amount of filament needed for the line width doesn't depend on nozzle size. The extrusion distance times the filament size gives you the volume, which must equal the layer height times the line width, regardless of nozzle size.  
> **username_1**: true - I was thinking more of the ease with which the combo of extrusion and motion speed could produce a reliable line width.  

---

## 1 answers

### Answer by username_2 on 2019-06-12. Score: 7 | Accepted answer

Searching the [CuraEngine source](https://github.com/Ultimaker/CuraEngine), the only places I can find where nozzle size is used directly involve some arcane logic for merging of infill lines, such as:

<https://github.com/Ultimaker/CuraEngine/blob/05e93dabce9e863b8742fd69ed87717e1594e7a9/src/MergeInfillLines.cpp#L124>

So essentially, yes, nozzle size mainly serves as a default value for the line width settings.

However, in general it's not always possible for line width different from nozzle size to be honored.

* For line widths smaller than the nozzle, motion along a path where the material being deposited has proper adhesion is required to stretch the material and prevent it from retaining the width extruded from the nozzle, and small lines already printed are likely to be damaged by the nozzle when attempting to print additional small lines in their vicinity. In particular, you won't be able to print small details significantly below the nozzle size just by extruding less material.
* For line widths larger than the nozzle, compression against an existing surface is required to prevent the extra material from just sagging down rather than expanding horizontally. In particular, line widths wider than the nozzle are unlikely to work right in the presence of overhangs.

Also, as noted by username_3 in comments, there are places outside the source, but rather in the json-based configuration tree, where nozzle size plays a role in the defaults and warning ranges for other parameters. Those are mostly line widths, but

> The nozzle size can affect the values of the following settings besides line width in `fdmprinter.def.json`: Outer Wall Inset, Outer Wall Wipe Distance and Minimum Support XY Distance. Other than that it only influences the conditions under which setting-values give you a warning.

> **Comments:**
> **username_0**: Does that imply that you can change the "line width" setting when you swap out nozzles and ignore the nozzle size? Cura makes it much easier to access "line width" than "nozzle size" at the moment.  
> **username_2**: @username_0: I would guess that it's safe to do so, but that's probably an accident of the current implementation rather than something you can rely on.  
> **username_3**: This answer is actually wrong. You shouldn't look at the CuraEngine source, but you should look at Cura/resources/definitions/fdmprinter.def.json There are 65 occurrences, so that's quite a lot.  
> **username_2**: @username_3: those are essentially just using nozzle size as default line width.  
> **username_3**: @R.. yes but those settings will then change when the nozzle size changes, so that is something the nozzle size setting does.  
> **username_2**: See "besides suggest the line width" in the question.  
> **username_3**: The nozzle size can affect the values of the following settings *besides line width* in fdmprinter.def.json: Outer Wall Inset, Outer Wall Wipe Distance and Minimum Support XY Distance.  Other than that it only influences the conditions under which setting-values give you a warning.  
> **username_2**: @username_3: Thanks. Added that to my answer with credit to you.  

---

