<p>Let's assume the model is 75mm high; the bottom portion (which needs 20% infill) is 40mm, and the top portion (which needs 0% infill) is 35mm.</p>

<ul>
<li>Load your model into Slic3r.</li>
<li>Be sure your default fill is 20%.</li>
<li>Right click on the model, and select Settings.</li>
<li>Click "Load Generic".</li>
<li>Select Slab. This represents a cube which is the same X,Y dimensions of your model.</li>
<li>Specify H=35 (the height of the slab) and Initial Z=40 (where the base of slab starts).</li>
<li>This creates a new part for your object.  Select it and click "+" to add a new setting.</li>
<li>Select Infill/Fill Density and set it to 0%.</li>
</ul>

<p>As a result of this, the bottom part of your model (which is not enclosed in the slab) will print at the default fill setting of 20%, and the top part of your model (which is enclosed in the slab) will print with 0% fill.</p>

<p>You can verify this by slicing and looking at the preview.  You will see the base with your default infill, and the top with no infill.  The slic3r docs mentions several other ways to <a href="http://manual.slic3r.org/advanced/modifier-mesh" rel="nofollow noreferrer">customize parameters</a> for your model.</p>

CC BY-SA 4.0
2018-10-21T04:22:53.663Z
2018-10-21T04:22:53.663Z
Mark Harrison
<p><em>Your question is very similar to <a href="https://3dprinting.stackexchange.com/questions/6522/different-infill-in-the-same-part">Different infill in the same part</a> and <a href="https://3dprinting.stackexchange.com/questions/7019/using-multiple-infill-types-within-one-model">Using multiple infill types within one model [duplicate]</a>. The difference is that you specifically ask for Slic3r and a variation in layer height infill percentage.</em></p>

<hr>

<p>Actually <a href="https://3dprinting.stackexchange.com/a/6523/5740">this answer</a> describes using "helper volumes" in Ultimaker Cura to set different properties for certain parts of the model <em>(<strong>UPDATE</strong>: that answer now includes also Slic3r instructions)</em>, but it appears that this answer is very much applicable to Slic3r also. Please read <a href="http://slic3r.org/blog/modifier-meshes" rel="nofollow noreferrer">this</a> posting. Quoting from the reference:</p>

<blockquote>
  <p>Finally, I fired Slic3r up and loaded the main part, then clicked on
  Settings... and then hit Load modifier... I loaded the new volume as a
  modifier mesh and I applied 100% solid infill...
  <br></p>
</blockquote>

<p>Secondly, <a href="https://3dprinting.stackexchange.com/a/6527/5740">this</a> answer where 2 different infill percentage sliced models are manually combined at a certain height may also work for you (this is a perfect valid solution for Slic3r, but requires some editing skills).</p>

<p>Basically, although you request for a solution for a slicer other than already described in other questions, boils down to a similar answer, the only difference is the implementation in Slic3r is called differently. </p>

<hr>

<p>To do this in <strong>Slic3r</strong> see <a href="http://manual.slic3r.org/advanced/modifier-mesh" rel="nofollow noreferrer">this reference</a>.</p>

<p>The blog describes the use of a simple volume (the green volume loaded from an STL file). After loading:</p>

<blockquote>
  <p>Right-clicking on the main part brought up the object settings menu.
  From there, clicking "Load Modifier" and selecting the previously
  saved model adds it to the part as a modifier.</p>
  
  <p>The green "+" was selected and "Fill Density" was added to modifier
  list and set to 100%.</p>
</blockquote>

<p><a href="https://i.sstatic.net/llvIG.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/llvIG.jpg" alt="Part with box for alternative mesh infill"></a></p>

<p><a href="https://i.sstatic.net/EslBH.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EslBH.jpg" alt="enter image description here"></a>
This shows that the functionality in Slic3r is very similar to the functionality in Ultimaker Cura.</p>

CC BY-SA 4.0
2018-10-01T17:20:44.003Z
@Oscar, thanks for this answer.  I will give it a try this evening. Regarding general Stack Exchange operation, if a user's  question is flagged as a duplicate, that user receives a prompt to either (a) acknowledge the question is a duplicate or (b) edit the question to explain why it's not a duplicate.  That's why I edited my answer.  Thanks again for your excellent help!
Mark Harrison
CC BY-SA 4.0
2018-09-30T07:39:45.567Z
2018-10-02T21:56:20.587Z
2018-10-02T21:56:20.587Z
0scar
<p>How can I vary the infill percentage for different layer heights of my model?</p>

<p>Context: The bottom part of my model needs about 20% infill.  The geometry of the top part of the model (mostly cones of various sizes) prints well with 0% infill and is of course a lot faster to print if I can specify this.</p>

CC BY-SA 4.0
2018-09-30T21:57:49.453Z
@SeanHoulihane, no that does not work (not in this case), as this works the other way around, it increases infill percentage to the top, instead of lowering it. It would be unwise to print cones up side down, but in that case you are right. Therefore you need to rely on an additional mesh/volume to modify the infill settings using "per model settings", and thus it is a similar question but differently formulated in my opinion. Whether it is a duplicate or not, the community decides.
0scar
CC BY-SA 4.0
2018-10-01T17:03:25.830Z
I have updated the answer of [Different infill in the same part](/questions/6522/different-infill-in-the-same-part) to include Slic3r. In effect if works similar as it does in Ultimaker Cura.
0scar
<slicing><slic3r><infill>
slic3r: Can I vary the infill percentage for different heights of my model?
Mark Harrison
# slic3r: Can I vary the infill percentage for different heights of my model?

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

How can I vary the infill percentage for different layer heights of my model?

Context: The bottom part of my model needs about 20% infill. The geometry of the top part of the model (mostly cones of various sizes) prints well with 0% infill and is of course a lot faster to print if I can specify this.

**Tags:** slicing, slic3r, infill
> **Comments:**
> **username_1**: @SeanHoulihane, no that does not work (not in this case), as this works the other way around, it increases infill percentage to the top, instead of lowering it. It would be unwise to print cones up side down, but in that case you are right. Therefore you need to rely on an additional mesh/volume to modify the infill settings using "per model settings", and thus it is a similar question but differently formulated in my opinion. Whether it is a duplicate or not, the community decides.  
> **username_1**: I have updated the answer of [Different infill in the same part](/questions/6522/different-infill-in-the-same-part) to include Slic3r. In effect if works similar as it does in Ultimaker Cura.  

---

## 2 answers

### Answer by username_0 on 2018-10-21. Score: -1 | Accepted answer

Let's assume the model is 75mm high; the bottom portion (which needs 20% infill) is 40mm, and the top portion (which needs 0% infill) is 35mm.

* Load your model into Slic3r.
* Be sure your default fill is 20%.
* Right click on the model, and select Settings.
* Click "Load Generic".
* Select Slab. This represents a cube which is the same X,Y dimensions of your model.
* Specify H=35 (the height of the slab) and Initial Z=40 (where the base of slab starts).
* This creates a new part for your object. Select it and click "+" to add a new setting.
* Select Infill/Fill Density and set it to 0%.

As a result of this, the bottom part of your model (which is not enclosed in the slab) will print at the default fill setting of 20%, and the top part of your model (which is enclosed in the slab) will print with 0% fill.

You can verify this by slicing and looking at the preview. You will see the base with your default infill, and the top with no infill. The slic3r docs mentions several other ways to [customize parameters](http://manual.slic3r.org/advanced/modifier-mesh) for your model.


---

### Answer by username_1 on 2018-09-30. Score: 3

*Your question is very similar to [Different infill in the same part](https://3dprinting.stackexchange.com/questions/6522/different-infill-in-the-same-part) and [Using multiple infill types within one model [duplicate]](https://3dprinting.stackexchange.com/questions/7019/using-multiple-infill-types-within-one-model). The difference is that you specifically ask for Slic3r and a variation in layer height infill percentage.*

---

Actually [this answer](https://3dprinting.stackexchange.com/a/6523/5740) describes using "helper volumes" in Ultimaker Cura to set different properties for certain parts of the model *(**UPDATE**: that answer now includes also Slic3r instructions)*, but it appears that this answer is very much applicable to Slic3r also. Please read [this](http://slic3r.org/blog/modifier-meshes) posting. Quoting from the reference:

> Finally, I fired Slic3r up and loaded the main part, then clicked on
> Settings... and then hit Load modifier... I loaded the new volume as a
> modifier mesh and I applied 100% solid infill...

Secondly, [this](https://3dprinting.stackexchange.com/a/6527/5740) answer where 2 different infill percentage sliced models are manually combined at a certain height may also work for you (this is a perfect valid solution for Slic3r, but requires some editing skills).

Basically, although you request for a solution for a slicer other than already described in other questions, boils down to a similar answer, the only difference is the implementation in Slic3r is called differently.

---

To do this in **Slic3r** see [this reference](http://manual.slic3r.org/advanced/modifier-mesh).

The blog describes the use of a simple volume (the green volume loaded from an STL file). After loading:

> Right-clicking on the main part brought up the object settings menu.
> From there, clicking "Load Modifier" and selecting the previously
> saved model adds it to the part as a modifier.
>
> The green "+" was selected and "Fill Density" was added to modifier
> list and set to 100%.

[![Part with box for alternative mesh infill](https://i.sstatic.net/llvIG.jpg)](https://i.sstatic.net/llvIG.jpg)

[![enter image description here](https://i.sstatic.net/EslBH.jpg)](https://i.sstatic.net/EslBH.jpg)
This shows that the functionality in Slic3r is very similar to the functionality in Ultimaker Cura.

> **Comments:**
> **username_0**: @Oscar, thanks for this answer.  I will give it a try this evening. Regarding general Stack Exchange operation, if a user's  question is flagged as a duplicate, that user receives a prompt to either (a) acknowledge the question is a duplicate or (b) edit the question to explain why it's not a duplicate.  That's why I edited my answer.  Thanks again for your excellent help!  

---

