3dSynth

Docs / Node Sculptor

Open in the interactive docs reader

SDF · Gyroid

Triply-periodic minimal surface (TPMS) implicit field — the Schoen Gyroid. Great for lightweight infill lattices, lamp shades and acoustic panels:

g(p) = sin(s·x)·cos(s·y) + sin(s·y)·cos(s·z) + sin(s·z)·cos(s·x)
d(p) = |g(p)| - thickness

where s = 2π / scale. The output is a pseudo-distance field, not a true Euclidean SDF, but it polygonises cleanly with Marching Cubes.

Node

Interactive preview is available in the interactive reader.

Sockets

scale (in)
Float. Optional — overrides the parameter when connected.
thickness (in)
Float. Optional override.
sdf (out)
SDF.

Parameters

Scale
Spatial period of the lattice (mm). Smaller value = finer lattice. Default: 5.
Thickness
Wall thickness of the gyroid. 0 = a thin shell (the classic minimal surface), ~1 = nearly filled. Default: 0.5.

Usage Pattern

The gyroid on its own is infinite. To get a finite lattice, intersect it with a bounded primitive:

SDF · Gyroid    ─┐
                 ├─→ SDF · Intersect → Marching Cubes → Output
SDF · Sphere    ─┘

Replace the sphere with any shape you want "filled" with the lattice — box, torus, even a lofted vessel rasterised through another pipeline.

Tips