One of the most common misconceptions in designing and slicing 3D-printed parts is: “The higher the infill density, the stronger the part.” In engineering practice, however, a printed part behaves like a hollow section or an I-beam: the greatest stresses occur at the outer edges. Additional wall lines (perimeters) therefore usually increase bending and torsional stiffness far more than additional infill – and with noticeably less print time and material than a solid part. In this guide we explain the physics behind it, give guideline values for wall lines, top/bottom layers and infill for each load case, and show the most important slicer settings in PrusaSlicer, OrcaSlicer, Bambu Studio and Cura.
📑 Table of contents – wall thickness & perimeters in 3D printing
- 1. The physics: second moment of area & outer-fibre stress
- 2. Wall lines vs. infill: which adds more strength?
- 3. Calculating wall thickness & designing correctly
- 4. Top & bottom layers: the horizontal “walls”
- 5. The optimal infill strategy: 20–35 % instead of 100 %
- 6. Guideline values by application & load case
- 7. Watertightness & IP enclosures through wall overlap
- 8. The key slicer parameters (wall order, overlap, Arachne)
- 9. Wall thickness around holes & threaded inserts
- 10. Defects & solutions
- 11. Frequently asked questions (FAQ on wall thickness)

Cross-section model of 3D printing wall lines and perimeters for strength
1. The physics: second moment of area & outer-fibre stress
When a lever or bracket is loaded in bending, one side experiences maximum tensile stress and the opposite side maximum compressive stress. These peak stresses occur in the outermost fibres – the edge zones. Through the middle of the part runs the neutral fibre, where normal stresses are zero; it contributes hardly anything to bending stiffness.
The axial second moment of area determines resistance to deflection. Material contributes to stiffness with the square of its distance from the neutral axis. That is why every gram of filament in the outer walls is many times more effective than in the core. For exactly this reason, steel beams in building construction consist of thin webs and strong outer flanges. In 3D printing, the wall lines (perimeters) and the top/bottom layers take on this flange function. Filling the interior with 100 % infill means investing a lot of material in a mechanically inactive zone.
The same principle applies to torsion: a closed, thick-walled hollow section is torsionally stiff because the shear stresses act mainly in the outer skin. A part with 4 wall lines and 20 % infill is therefore generally stiffer in bending and more impact-resistant than one with 2 wall lines and 80 % infill – while weighing less.
2. Wall lines vs. infill: which adds more strength?
Besides geometry, the structure of the toolpaths also favours more walls: the extruded strands of the perimeters run continuously along the contour and thus usually in the direction of the main load. Infill, by contrast, consists of many short segments that end at the walls, with numerous crossing and connection points – every interruption is a potential weak spot.
The following table gives a qualitative classification of typical configurations (PETG, 0.4 mm nozzle, bending load). Actual values depend heavily on geometry, material and print parameters:
| Configuration | Wall thickness | Infill | Bending stiffness (trend) | Print time & material (trend) |
|---|---|---|---|---|
| Standard | 2 walls (approx. 0.8–0.9 mm) | 20 % Gyroid | Baseline | low |
| Infill maximum | 2 walls | 80 % | moderately higher | greatly increased |
| Perimeter boost | 5 walls (approx. 2.0–2.25 mm) | 20 % Gyroid | significantly higher | moderately increased |
| Solid part | solid | 100 % | highest, but only slightly above perimeter boost | very high, more warping |
Conclusion: The perimeter boost achieves a large share of the stiffness of a solid part but requires only a fraction of the additional print time and material. More infill only pays off once the walls are already thick enough or when high compressive and point loads act on surfaces.
3. Calculating wall thickness & designing correctly
In the slicer, wall thickness is approximately number of wall lines × line width. With a 0.4 mm nozzle and a typical line width of 0.42–0.45 mm, this gives roughly:
- 2 wall lines ≈ 0.8–0.9 mm
- 3 wall lines ≈ 1.2–1.35 mm
- 4 wall lines ≈ 1.6–1.8 mm
- 5 wall lines ≈ 2.0–2.25 mm
- 6 wall lines ≈ 2.4–2.7 mm
Design rules for CAD models:
- Plan wall thicknesses as multiples of the line width. A 1.0 mm wall cannot be filled cleanly with 0.45 mm lines – this leaves gaps or gap-fill zigzags. Better choices are e.g. 0.9, 1.35 or 1.8 mm.
- At least two lines per wall: walls below approx. 0.8 mm consist of only a single line and are brittle and leaky.
- Uniform wall thicknesses avoid stress concentrations and differing cooling times that promote warping.
- Wider lines (e.g. 0.5 mm perimeter width with a 0.4 mm nozzle) improve fusion between adjacent paths and slightly increase wall strength.
The setting has a different name depending on the slicer:
| Function | PrusaSlicer | OrcaSlicer / Bambu Studio | Cura |
|---|---|---|---|
| Number of walls | Perimeters | Wall loops | Wall Line Count / Wall Thickness |
| Top/bottom layers | Solid layers Top/Bottom | Top/Bottom shell layers or shell thickness | Top/Bottom Layers or Thickness |
| Wall order | External perimeters first | Wall sequence (inner/outer) | Wall Ordering |
| Variable line width | Perimeter generator: Arachne | Wall generator: Arachne | Default since Cura 5 |
| Infill/wall overlap | Infill/perimeters overlap | Infill/Wall overlap | Infill Overlap Percentage |
4. Top & bottom layers: the horizontal “walls”
The horizontal top and bottom layers are just as crucial as the side walls. When bending about a horizontal axis, they form the upper and lower chords of the “beam” and absorb point loads. For mechanical assemblies we recommend at least 5 to 6 top and bottom layers – at a 0.2 mm layer height this corresponds to about 1.0–1.2 mm of solid skin. That way, screw heads won’t press into the surface and the infill won’t collapse under point loads.
- Think in millimetres: with fine layer heights (below 0.15 mm), choose correspondingly more layers. OrcaSlicer and Bambu Studio offer a minimum shell thickness for this purpose, which automatically increases the number of layers.
- Smooth top surfaces: too few top layers lead to “pillowing” – dents over the gaps in the infill. More top layers or slightly denser infill directly underneath will help here.
- Thread pull-out forces: screws that engage perpendicularly into a top surface benefit from thick top layers just as much as from thick walls around the hole.
5. The optimal infill strategy: 20–35 % instead of 100 %
Infill has two main tasks:
- It supports the upper top layers during printing.
- It prevents the outer walls from buckling under compressive load and connects opposing walls to each other.
Three-dimensional patterns such as Gyroid or Adaptive Cubic provide relatively uniform support in all directions at 20–25 % density, without pronounced weak directions. For pure bending in a known direction, a straight-line pattern (Rectilinear/Grid) is very stiff; for changing, multidirectional forces, Gyroid is the robust choice. You’ll find a detailed comparison of the patterns in our guide to infill patterns: Gyroid vs. honeycomb vs. grid. How to specifically improve the bond between infill and wall lines is covered in our article on infill overlap.
Why 100 % infill is often not a good idea: in solid parts, thermal residual stresses add up during cooling. This promotes warping and can result in micro-cracks and lower impact strength. Print time and material costs also rise sharply.
6. Guideline values by application & load case
The following values are guideline values for a 0.4 mm nozzle and 0.2 mm layer height. They do not replace proper engineering design for safety-critical parts:
| Application | Wall lines | Top/Bottom | Infill | Typical material |
|---|---|---|---|---|
| Decorative models & visual prototypes | 2 (approx. 0.8 mm) | 3–4 | 10–15 % | PLA |
| Electronics & sensor housings, covers | 3–4 (approx. 1.2–1.6 mm) | 4–5 | 15–20 % Grid/Gyroid | PLA, PETG, ASA |
| Mounting brackets, holders, gauges | 4–6 (approx. 1.6–2.4 mm) | 5–6 | 25–35 % Gyroid | PETG, ABS/ASA |
| Fixtures, grippers, end effectors | 6–8 (approx. 2.4–3.2 mm) | 6–8 | 35 % Gyroid | PA12-CF, PETG-CF |
| Highly stressed gears, pins, small levers | as many as needed for the part to become solid | solid | 100 % | PA12, PA-CF, POM-like materials |
- Electronics housings: 3–4 wall lines also prevent LEDs from shining through and make the housing more resistant to impacts (see enclosure development).
- Functional holders & assembly gauges: high torsional stiffness for industrial use, e.g. in jig and fixture construction; in rapid prototyping of mechanical functional parts, 4–6 walls are a proven standard.
- Loads in the Z direction: more walls strengthen the part mainly in the print plane. Against tension across the layers they help only to a limited extent – here, layer adhesion and part orientation are decisive.
7. Watertightness & IP enclosures through wall overlap
In FDM printing, microscopic cavities form between the deposited filament strands. If you want to print liquid-tight containers or enclosures protected against dust and splashing water, follow these rules:
- At least 4 to 5 wall lines: individual pores in the outer wall are sealed by the perimeters behind them.
- Slightly increase the extrusion multiplier (flow): set the flow for perimeters to approx.
102 % bis 104 %to close micro-gaps – calibrate the flow rate properly beforehand. - Raise the print temperature by 5–10 °C: this improves flowability and fusion between adjacent paths and layers.
- At least 5 to 6 top/bottom layers: prevents leaks at the bottom and top surfaces.
- Material & post-processing: PETG and ASA fuse well and are widely used for enclosures. A genuine IP rating, however, also depends on seals, screw connections and testing of the finished enclosure.
8. The key slicer parameters for perfect walls
- Wall order (Wall Ordering):
• Inside-Out: high dimensional accuracy and better overhang quality, as the outer wall is supported by the inner ones.
• Outside-In: very clean outer surface and exact outer dimensions, but tends to sag on steep overhangs.
• Inner-Outer-Inner (OrcaSlicer/Bambu Studio): a compromise – the outer wall is printed between two inner walls, so it is supported yet still clean.
Our guide printing the outer wall first or last compares when each order is the better choice. - Infill overlap (overlap between infill and wall): typically around 15–25 % by default. For mechanically highly stressed parts, raise it to 25 % to 30 % so that the infill lattice doesn’t tear away from the inner wall. Values that are too high can show through as a pattern on the outer wall.
- Gap filling (Gap Fill / Arachne): slicers with variable line width (the Arachne generator in PrusaSlicer, OrcaSlicer, Bambu Studio and Cura) fill thin walls without voids. For parts with precisely dimensioned walls, the classic generator sometimes produces more uniform paths – compare both options in preview mode.
- Ensure vertical shell thickness: PrusaSlicer offers “Ensure vertical shell thickness” to generate enough solid material on sloped surfaces; OrcaSlicer uses its shell thickness settings for this.
- Use additional walls selectively: with modifiers (region modifiers) you can print only highly stressed zones – such as tabs, areas around holes or edges – with more walls instead of reinforcing the whole part.
9. Wall thickness around holes & threaded inserts
When melting in brass threaded inserts (heat-set inserts), the hot metal body displaces thermoplastic material. If the wall around the hole is too thin, the housing bulges outwards or cracks.
Rule of thumb: the solid wall around a threaded hole should be at least roughly equal to the outer diameter of the insert (e.g. around 3.5 to 4.0 mm for M3 inserts). Use a modifier in the slicer to ensure that the area around the hole is printed with solid perimeters. The same applies to screw connections directly into plastic: the more wall lines the screw engages, the higher the pull-out force. You’ll find hole dimensions and insertion temperatures in our threaded inserts guide.
In FDM printing, holes often come out slightly smaller than designed. More walls change little here – a calibrated flow rate, the Inside-Out wall order and, if necessary, hole compensation in the slicer will help.
10. Defects & solutions
| Defect | Cause | Solution |
|---|---|---|
| Part breaks at the wall/infill boundary | Too few walls, insufficient infill overlap | 4–6 walls, infill overlap at 25–30 % |
| Gaps or zigzags in thin walls | Wall thickness doesn’t match the line width | CAD wall as a multiple of the line width, enable Arachne |
| Dents on the top surface (pillowing) | Too few top layers, infill too sparse | Top skin approx. 1.0 mm or more, slightly increase infill |
| Infill shows through on the outer wall | Wall too thin, overlap too high | At least 3 walls, reduce overlap |
| Container or housing leaks | Pores between paths, under-extrusion | 4–5 walls, calibrate and slightly increase flow, temperature +5–10 °C |
| Housing cracks when melting in inserts | Wall around the hole too thin | Solid wall ≈ insert outer diameter, use a modifier |
| Break between layers despite many walls | Load across the layers, weak layer adhesion | Reorient the part, optimise temperature and cooling |
| Outer wall sags on overhangs | Outside-In without support from inner walls | Choose Inside-Out or Inner-Outer-Inner |
| Severe warping on solid parts | Residual stresses from 100 % infill | More walls instead of a solid part, 20–35 % infill, brim or heated build chamber |
| Holes too tight | Over-extrusion, contraction of the inner perimeters | Calibrate flow, hole compensation, ream if necessary |
Want strong parts without having to test wall thicknesses and infill yourself? We manufacture functional parts using FDM printing with wall and infill parameters tailored to the load case.
Heavy-duty, industrial-quality 3D-printed parts
Upload your STL or 3MF file, choose the process, material and quantity – the price is calculated instantly online.
11. Frequently asked questions (FAQ on wall thickness)
When does 100 % infill actually make sense?
100 % infill makes sense mainly for very small levers, pins, gears or parts that take high compressive or surface loads. In larger parts it often leads to warping and internal stresses that promote micro-cracks and lower impact strength. In some cases, a solid part can therefore even break sooner than a well-designed part with many walls and moderate infill.
How many wall lines does a functional part need?
For mechanically loaded holders, brackets and gauges, 4 to 6 wall lines (approx. 1.6–2.4 mm with a 0.4 mm nozzle) have proven effective. Decorative parts get by with 2 walls, while heavily loaded fixtures and grippers get 6 to 8 walls.
How do I calculate wall thickness from the number of wall lines?
As an approximation: number of wall lines × line width. With a 0.45 mm line width, 4 walls give about 1.8 mm. So plan walls in CAD as multiples of the line width to avoid gaps or fill paths.
What does a larger nozzle (e.g. 0.6 mm) do for wall thickness?
With a 0.6 mm nozzle you already achieve around 1.2–1.3 mm wall thickness with just 2 perimeters. Fewer but wider paths noticeably shorten print time and fuse well together. On the other hand, detail resolution on fine contours decreases.
How many top layers are needed for a smooth top surface?
At least 4 to 6 top layers, and 5 to 6 for mechanical parts (approx. 1.0–1.2 mm at 0.2 mm layer height). For layer heights below 0.15 mm, choose 6 to 8 layers so that the bridging over the infill gaps doesn’t remain visible as dents.
Which infill type is strongest against bending?
For bending in a known direction, a straight-line pattern (Rectilinear/Grid) is very stiff. For changing, multidirectional forces, Gyroid is the robust choice. However, the number of walls remains more decisive than the pattern.
Do more walls also make a part stronger in the Z direction?
Only to a limited extent. Walls increase stiffness mainly in the print plane. If a part is loaded in tension across the layers, layer adhesion is decisive. A suitable part orientation, a higher print temperature and less part cooling help here.
Which wall order is better: Inside-Out or Outside-In?
Inside-Out delivers better overhang quality and good dimensional accuracy because the outer wall is supported. Outside-In produces the cleanest outer surface and exact outer dimensions but can sag on steep overhangs. OrcaSlicer and Bambu Studio offer Inner-Outer-Inner as a good compromise.
