lattice-inverse-design
Installation
SKILL.md
Lattice inverse design (GLU3D)
GLU3D (Jadhav et al., Adv. Funct. Mater. 34 (2024) 2404165) works like this:
- It builds a dataset of unit cells from implicit equations: 22 TPMS families, plus hybrids that blend 2–4 families (Eqs. 3–7).
- It homogenises each cell to its 6 × 6 stiffness matrix.
- It trains a 3D conditional DDPM that turns a target stiffness into a new cell's implicit field. A tanh scaling (Eq. 9) keeps the surface at level set 0, which raised mesh yield from 33–51% to 100%.
- Printed PLA cells followed the requested modulus.
scripts/glu3d.py covers the whole loop. Everything except the neural models runs on numpy and
scipy; scikit-image and trimesh are needed for meshes, pyamg is optional for speed, and PyTorch is
needed for the models. Paper numbers and the interpretation choices are in
references/paper-notes.md.
Stiffness is relative to the solid (E/Es) unless you pass --Es. The cell is one period of
side 1; choose its printed size at export.