- 3D Printing with RepRap Cookbook
- Richard Salinas
- 1917字
- 2021-07-16 11:30:33
Optimizing infill with Slic3r
Slic3r has the capability of creating seven infill patterns. These patterns can be interesting and fun, but they also serve a practical function. Each pattern will offer different qualities in strength and have a different print time and material usage. In this recipe, we'll learn how to select the infill pattern and adjust its density.
Getting ready
You'll need the toy block that we optimized with Meshmixer.
How to do it...
Open Slic3r and follow the procedure:
- Select the Print Settings tab and then choose Infill. The section where we'll be making our changes is illustrated in the following screenshot:
- The default Fill density in Slic3r is
0.4
. For sampling the infill textures, we'll change this to0.25
. This will create an infill that's less dense and easier for us to visually examine. - Now we'll choose the Fill Pattern. There are seven infill patterns as follows:
- rectilinear
- line
- concentric
- honeycomb
- hilbertcurve (slow)
- archimedianchords (slow)
- octagramspiral (slow)
- Choose each of these patterns and slice the model. Save each one, taking care to label them with the appropriate pattern name.
- Now, we'll test the infill density by increasing and decreasing it by 50 percent from our starting infill of
0.25
. Choose an infill pattern and change the Fill density to0.375
and then slice the model. Repeat using0.125
for the infill.
How it works...
In the following image, we can see a composite of the first 10 print layers and the resulting pattern:

Each of these patterns is going to produce different results. Some of the differences may be as follows:
- The strength of the pattern: The honeycomb pattern is good for strength. It follows the hexagonal pattern vertically through the print. This makes it generally good for mechanical parts.
- The print time of the pattern: The line pattern is the fastest at printing infill. It's also a good infill for organic shaped forms.
- The amount of filament to be printed: The octagram spiral uses the least amount of infill than the others.
- The amount of vibration of the print head: When printing a pattern like the honeycomb, a lot of vibration can be caused by the rapid short moves of the print head. A pattern such as concentric produces less vibration in the print head.
In the following image, we can see the differences made in adjusting the infill density:

Most models will be strong enough with an infill of 10 to 25 percent. For gears and pulleys, a higher density of up to 50 percent or more may be best for durability. In principle, try to print with as little as possible. This will speed up the printing process and decrease the amount of filament you expend.
Experimenting with the infill as you progress with your future printing would be a good way to see how the infill patterns and infill solidity affect your model.
Optimizing infill with Skeinforge
Skeinforge has the capability of creating four infill patterns. In this recipe, we'll learn how to select the infill pattern and make the most common adjustments for better optimization.
We will proceed as follows:
- In Skeinforge, select Craft and then select Fill. This is where all of our changes will be made. We can see the section illustrated in the following screenshot:
- First, we'll set the infill density. For Infill Solidity (ratio), make sure the default value is
0.25
. - Next, locate the four infill patterns:
- Line
- Grid Circular
- Grid Hexagonal
- Grid Rectangular
- Choose each of these patterns and slice the model. Save each one, taking care to label them with the appropriate pattern name.
- Now, we'll test the infill density by increasing and decreasing it by 50 percent of our starting infill of
0.25
. Choose an infill pattern and change the Infill Solidity (ratio) to1.25
and then slice the model. Repeat using0.375
for the infill.
In the following image, we can see that the infill patterns that Skeinforge produces are very similar to Slic3r's infill patterns:

Similar attributes can be made with these patterns as were made with the Slic3r patterns. There are three main considerations to keep in mind with these patterns. They are as follows:
- When selecting the line pattern, it will be quicker to generate, and it doesn't add any extra movements to the print head. This will keep the vibration down.
- When selecting a grid pattern, there will be extra diagonal lines and more filament extrusion. Keeping the infill around 0.2 will give better results.
- The grid patterns are stronger except for the circular pattern. This pattern is weak but is good for minimizing warping of the print.
Printing without fill with Skeinforge
Both Skeinforge and Slic3r have a variety of choices that control infill and thickness. Both slicers have similar controls to make these adjustments, their major difference being nomenclature. Skeinforge will refer to the skin of a model as the shell, and Slic3r will refer to the vertical shells as the perimeter. Both slicers have options for specifying the number of base and top layers to be printed.
In this recipe, we'll see what happens when we print without infill and shells using Skeinforge. The same test could easily be made with Slic3r by reducing the perimeter and base layers to 0. Keep in mind that with both slicers, there is always one shell when printing a model.
For this recipe, you'll need the models that you scanned with 123D Catch in Chapter 1, Getting Started with 3D Printing. In this case, I'm using the toy block, statue, and pyramid.
We will proceed as follows:
- In Skeinforge, open the Fill plugin. We'll be making changes in the circled fields illustrated in the following screenshot:
- Enter
0
in Extra Shells on Alternating Solid Layer (layers). - Enter
0
in Extra Shells on Base (layers). - Enter
0
in Extra Shells on Sparse Layer (layers). - Enter
0
in Infill Solidity (ratio). - Enter
0
in Solid Surface Thickness (layers). - Slice and print all three models with these settings.
By changing the values of Extra Shells to 0
, we've instructed Skeinforge to create a 1
shell thickness.
Note
The shell width is determined by the Edge Width over Height (ratio) in Skeinforge's Carve plugin. More information about this can be found in Chapter 3, Scanning and Printing with a Higher Resolution.
This is determined by the width size that our hot-end extrudes a line. By changing the Infill Solidity (ratio) to 0
, we've instructed the slicer to keep the interior of our model empty. By changing the Solid Surface Thickness (layers) to 0
, we've instructed the slicer to remove all solid layers (which is any area that would be printed across the entire model for that layer, such as the first flat layer that makes up the base of the model).
Let's look at the printing results of the three models in the following image:

We can see that distortion occurred in the toy block and statue; there are gaps in the horizontal surfaces. Without activating the solid layers, all of the flat surfaces could not print. The pyramid model printed well because its structure gradually builds on top of each layer in increments. This kept the filament fairly tight without sagging.
Tweaking shells and surface layers with Skeinforge
In this recipe, we'll run a series of tests to see what happens when we make changes in both the number of shells and the surface layers.
You'll need the toy block. It's a good model to create these tests because it has multiple solid layers.
We will proceed as follows:
- In Skeinforge, open the Fill plugin. Enter
1
in Extra Shells on Sparse Layer (layers). - Enter
1
in Solid Surface Layer (layers). - Keep the value of Infill Solidity (ratio) as
0
. - Slice the model and print.
- Enter
1
in Extra Shells on Sparse Layer (layers). - Enter
2
in Solid Surface Layer (layers). - Slice the model and print.
When we visually compare the results in the following image, we can see that by adding two surface layers with only one extra shell, it made a good print.

For this model, an equal number of shells and solid layers make a good economic model. Remember, we always start with one shell, so by adding one extra shell, we have a total of two.
Let's look deeper into the relationship between shells and layers. In the following image, we can see what happens when we print with extra shells:

When we add shells, we are essentially adding extra thickness to the model's wall. In this model's case, the two additional shells did very little to change the overall appearance of the block.
What happens when we only adjust the surface layers? In the following image, we can see an improvement in the horizontal fill of the model. When more solid layers are added, the overall appearance of the block is better.

There are other factors to be considered as well, such as the width of the extrusion bead. A larger nozzle size would create thicker walls, and this would make a stronger print.
Layer height can also have an impact on the quality of the print. Printing at a lower height would create more layers to print. This will create a more gradual buildup and possibly enclose the gaps better.
Reviewing the print results
Let's take a look at the three different models after printing them with the most efficient settings for the number of shells and surface layers. We'll be able to see what settings work best with each type of model.
We can see the results of printing the statue in the following image. It required three layers and two shells for a successful print. This is the default setting for Skeinforge and proves to be a good starting point for any model.

Next, let's look at the pyramid shape in the following image. It required the least amount of layers and shells for a successful print. It required only one shell.

During the modeling process, any form that can be designed with a gradual build to a point or multiple points will print well. This is a good technique for building paper-thin and hollow models.
There's also another method of printing a hollow form. Slic3r has an option called Spiral vase. By activating it in Layers and perimeters under Vertical shells, this setting will raise the height continuously, thereby avoiding a layer-change point that would cause a visible seam. Just be sure to keep the infill set at 0
.
Last, we'll look at the toy block. We can see that the block printed successfully with a reduced amount of both layers and shells; it took only two surface layers and shells to print without infill.

When we print without infill, the most problematic areas will be the horizontal surfaces. Without the support of adequate infill, there will be gaps in the horizontal layers that will have to be bridged. If the gaps are too large, the filament will sag. Bridging is the name of the technique that requires the printer to span a gap from two points. How the printer responds when bridging situations occur is determined by how adjustments are configured with the slicer.
Note
See Chapter 5, Manipulating Meshes and Bridges, for more information on how bridging techniques work.
- 構(gòu)建高質(zhì)量的C#代碼
- 大數(shù)據(jù)項(xiàng)目管理:從規(guī)劃到實(shí)現(xiàn)
- 并行數(shù)據(jù)挖掘及性能優(yōu)化:關(guān)聯(lián)規(guī)則與數(shù)據(jù)相關(guān)性分析
- CSS全程指南
- 計(jì)算機(jī)網(wǎng)絡(luò)應(yīng)用基礎(chǔ)
- 精通特征工程
- 人工智能實(shí)踐錄
- Kubernetes for Serverless Applications
- 悟透AutoCAD 2009完全自學(xué)手冊(cè)
- 大數(shù)據(jù)驅(qū)動(dòng)的機(jī)械裝備智能運(yùn)維理論及應(yīng)用
- 嵌入式操作系統(tǒng)原理及應(yīng)用
- 液壓機(jī)智能故障診斷方法集成技術(shù)
- JSP通用范例開發(fā)金典
- 大數(shù)據(jù)時(shí)代的調(diào)查師
- 玩轉(zhuǎn)PowerPoint