make_lattice
Create signed distance field lattices, porous structures, and implicit surfaces, with options to hollow or lattice-fill 3D parts for CAD.
Instructions
Model free-form geometry with signed distance fields: lattices, porous structures, implicit surfaces.
primitive: sphere / box / rounded_box / gyroid / schwarz_p. size_mm: the part's bounding box in mm. A single number means a cube with that edge length, [x, y, z] an arbitrary box; omit it to use cell_mm as a cube. res: samples per axis -- a precision knob, not a dimension. Start at 64; 128 is fine but 8x slower. The resulting voxel edge (size/res) is reported back. wall_mm: wall thickness for shells and lattices; period_mm: lattice period (defaults to cell_mm). lattice: shell (hollow it out) / gyroid_grading (fill the interior with lattice). subtract: corner_notch / corner_notch2 (cut a corner away to expose the interior).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| res | No | ||
| name | No | ||
| cell_mm | No | ||
| lattice | No | ||
| size_mm | No | ||
| wall_mm | No | ||
| subtract | No | ||
| period_mm | No | ||
| primitive | No | gyroid |