Gyroid infill

On this page 7

Gyroid infill is an internal fill pattern based on the gyroid minimal surface, a continuous, wavy three-dimensional structure that a slicer approximates layer by layer inside a printed part. Among slicers & print settings, it is valued because it delivers nearly isotropic strength, no self-intersections within a layer and good performance at low infill densities.

The gyroid belongs to the family of triply periodic minimal surfaces, described mathematically by Alan Schoen in 1970. Major slicers such as UltiMaker Cura, PrusaSlicer, OrcaSlicer and Bambu Studio offer it as a standard infill option, and many experienced users treat it as the default choice for functional parts.

How the gyroid pattern is generated in a slicer

A slicer creates gyroid infill by sampling an implicit surface equation at the height of each layer. The common approximation is sin x cos y + sin y cos z + sin z cos x = 0, and the intersection of this surface with a horizontal plane produces a set of smooth wavy curves that the nozzle traces as infill lines.

Because the z coordinate changes with every layer, the curves gradually shift and rotate through the height of the part. Over one full period the wave direction alternates between two orthogonal orientations, so stacked layers form an interconnected 3D lattice instead of a pile of identical 2D patterns. The slicer scales the period to reach the requested infill density: a higher percentage means a shorter period and more closely spaced walls.

The main slicer parameters that influence gyroid infill are summarized below.

ParameterTypical rangeEffect
Infill density5-40%Spacing of the wave walls, part weight and strength
Infill line width100-150% of nozzle diameterWall thickness and bonding between layers
Infill layer thickness1-2 times the layer heightPrint time versus layer adhesion
Infill speed40-80% of outer wall speed on slower machinesRinging and extrusion consistency on curves
Gyroid resolutionSlicer-dependent toleranceSmoothness of curves versus slicing time and G-code size
Parameters that shape gyroid infill

Why gyroid infill behaves differently from straight-line patterns

Gyroid infill avoids the crossing points that straight-line patterns create inside a single layer. Patterns such as grid and triangles lay intersecting lines in the same layer, so the nozzle passes over material it has just deposited; this causes nozzle scraping, local over-extrusion and vibration. Gyroid curves never cross within a layer, which keeps extrusion steady.

The structure also distributes load in all three axes. Its walls are continuous surfaces rather than stacked lines, so it resists compression, shear and torsion more evenly. This near-isotropic behavior makes it predictable for parts whose loading direction is unknown or variable.

Finally, each layer is largely self-supporting: every curve overlaps the curve below at a shallow angle, so the pattern prints without long unsupported spans. Top surfaces still need enough top layers to bridge the openings, typically four to six layers at 0.2 mm.

Gyroid compared with other infill patterns

Gyroid is one of several infill patterns, and the best choice depends on loading, print speed and appearance. The table compares it with patterns commonly offered next to it.

PatternStrength profileMain drawback
GyroidNearly isotropic, good shear and torsion resistanceSlower on curves, larger G-code
GridStrong in two horizontal directionsCrossings cause nozzle collisions
CubicGood 3D strength with tilted cubesCrossing points at line intersections
Lines or rectilinearWeak between directions per layerLow torsion resistance
HoneycombVery stiff in compressionSlow, many direction changes
LightningSupports only top surfacesAlmost no structural strength
Infill pattern comparison

In practice, cubic and gyroid perform similarly in many tensile tests at equal density, while gyroid tends to win on torsion and impact resistance and on print reliability. Lightning infill saves far more material but is meant only for visual models that carry no load.

Choosing density and settings for gyroid infill

Infill density should follow the function of the part, not habit. Outer walls usually carry most of the load, so raising the wall count often strengthens a part more efficiently than increasing infill. The decision table below gives practical starting points.

Part typeSuggested densityReason
Display model5-10%Supports top surfaces with minimal material
General functional part15-25%Balanced weight, time and stiffness
Load-bearing bracket30-50% with extra wallsHigher stiffness and screw retention
Flexible TPU part10-20%Uniform, springy compression
Part to be filled with resin10-15%Open channels let liquid flow through
Recommended gyroid densities by use

Gyroid is especially useful with flexible filaments such as TPU, because its continuous curves compress evenly and give a cushion-like response. Its fully interconnected open volume also lets air escape and lets epoxy or foam fill the part after printing, which closed-cell patterns such as honeycomb prevent.

Limitations and common mistakes

Gyroid infill has trade-offs that matter on certain printers and models. The most frequent problems and their remedies are listed below.

SymptomCauseFix
Longer print timeCurved paths limit acceleration on bed-slinger printersRaise acceleration limits or use cubic for speed
Stuttering or blobsToo many short G-code segmentsLower gyroid resolution or enable arc fitting
Pillowing on top surfaceToo few top layers over open cellsAdd top layers or raise density slightly
Slow slicingFine curve tolerance on large modelsUse a coarser resolution setting
Typical gyroid issues and fixes
  • Do not assume more infill always helps: beyond about 50%, wall count and material choice usually matter more.
  • Do not judge strength by appearance: gyroid looks sparse but often outperforms denser line patterns in torsion.
  • Check firmware throughput: older controllers may struggle with dense curved G-code at high speed.

Understanding it simply

When a 3D printer makes an object, it usually does not fill the inside completely, because that would waste plastic and time. Instead, it prints a light internal skeleton. Gyroid infill is one shape for that skeleton: a set of smooth, wavy walls that twist slowly as the print grows taller.

Picture the inside of a sea sponge or a loaf of bread: the holes all connect, and the walls bend in every direction. That is why a gyroid-filled part feels equally sturdy whichever way you press it, while still using only a small amount of material.

Applied in practice

A maker designs a wall-mounted bracket in PETG to hold a heavy shelf-mounted speaker. The bracket will be pulled downward and twisted slightly whenever the speaker is adjusted, so its loading is not limited to one direction. The first version, printed with 20% grid infill, cracks along a layer line during a twisting test.

The maker reprints it with 25% gyroid infill, four walls and six top layers at a 0.2 mm layer height. Print time increases by about 10% and material use stays almost the same. The new bracket survives repeated twisting and a static load well above the speaker weight, showing that pattern choice changed durability more than density did.