Gyroid Generator
Pick a surface (gyroid, Schwarz P or diamond), set the outer size, cell size and wall thickness, and download a closed STL. The lattice is built in your browser, so it is free, unlimited and nothing is uploaded.
How to make a gyroid STL
- 1
Pick the lattice
Choose Gyroid, Schwarz P or Diamond, then Sheet for thin curved walls or Solid network for thick struts.
- 2
Set the size
Pick a box or a cylinder and type its size in millimetres. Set the cell size (how big one repeat of the pattern is) and the wall thickness.
- 3
Check the preview
The 3D preview updates as you type. Fill shows how much of the volume is plastic, and STL size shows how big the file will be.
- 4
Download
Press Download STL and open the file in your slicer. Add an outer skin if you want closed sides.
Gyroid generator settings
What each setting does and the range it accepts.
| Surfaces | Gyroid, Schwarz P (primitive) and diamond (Schwarz D). All three are triply periodic minimal surfaces (TPMS): one smooth surface that repeats in X, Y and Z. |
|---|---|
| Type | Sheet: a curved wall of the thickness you set, with two separate channels on either side. Solid network: one side of the surface is filled, so you get thick connected struts. |
| Outer shape | Box (width, depth, height) or cylinder (diameter, height), each from 5 to 250 mm. |
| Cell size | 2 to 60 mm. One cell is one full repeat of the pattern. Smaller cells give a denser, stiffer lattice and a bigger file. |
| Wall thickness | From 0.3 mm up to half the cell size (sheet type only). Use at least two line widths of your nozzle, about 0.8 mm for a 0.4 mm nozzle. |
| Outer skin | 0 to 10 mm. Adds solid sides, top and bottom around the lattice. 0 leaves the lattice open on every face. |
| Mesh quality | Draft, Normal or Fine. Higher quality gives smoother walls and a bigger STL. Very large parts are made coarser on their own so the file stays usable, and the tool says when that happens. |
| Output | Binary STL in millimetres, closed and watertight with outward normals. Built on your device; nothing is uploaded. |
What is a gyroid?
A gyroid is a smooth surface that repeats in all three directions without ever crossing itself. It was described by NASA scientist Alan Schoen in 1970 and is a triply periodic minimal surface (TPMS), like the Schwarz P and diamond surfaces in this tool.
The surface splits space into two connected channels that never meet. That makes it strong for its weight, the same in every direction, and easy for air or liquid to flow through, which is why gyroids are used for lightweight parts, heat exchangers, filters, bone scaffolds and decorative prints.
Gyroid vs Schwarz P vs diamond
Gyroid: twisting channels with no flat faces and no straight lines. It is the usual choice for lightweight parts and it prints well because its overhangs stay moderate.
Schwarz P: round holes along X, Y and Z joined by rounded nodes. It looks like a stack of hollow spheres connected at six points and has more open, straight channels.
Diamond: the densest pattern of the three for the same cell size, with four-way joints like a diamond crystal. It is stiff and has more, smaller channels.
Sheet or solid network?
A sheet gyroid is a thin wall following the surface. It is light, keeps both channel systems open and is what most people mean by a gyroid part. Its weight depends mainly on the wall thickness.
A solid network fills one side of the surface, so it looks like smooth thick struts. It is heavier and easier to print with small cells, since there are no thin walls.
Printing tips
Your slicer already has a gyroid infill pattern. Use this tool when you want the lattice to be the part itself and visible, or when you need a lattice block to combine with another model in a CAD or mesh tool.
Print the STL with 100% infill, or with enough perimeters to fill each wall, so the slicer does not try to put infill inside thin walls. Gyroid walls are self-supporting at normal cell sizes, so supports are rarely needed. For resin printing, a sheet gyroid drains well because both channels stay open.
Need a model to print?
Turn a photo or a short text prompt into a 3D model with AI, then hollow, scale or repair it with the free tools.