Published August 8, 2022 | Version v1
Software Open

MATLAB script for generating lattices based on triply periodic minimal surfaces (TPMS) in STL file format

  • 1. Institute of Material Science, TU Dresden
  • 2. Institute for Complex Material, Leibniz IFW Dresden
  • 3. Institute for Material and Beam Technology, Fraunhofer IWS

Description

MATLAB script for generating lattices based on triply periodic minimal surfaces (TPMS).

Seven different common TPMS can be selected for modeling. The corresponding level set equations are predefined. All lattice structures can be designed as network or sheet type. The number of unit cells, cell size and relative volume fraction can be individually set. For the latter, the required level constant is determined automatically using a while loop and bisection.

Finally, an STL surface mesh of triangular elements is created for the designed lattice. The mesh can be used for additive manufacturing (AM) as well as for simulations (CFD or FEM).

 

The script can be freely used for scientific purposes. In doing so, please cite the following publication where the script originated: https://doi.org/10.1016/j.jmbbm.2021.104871

Files

DesignTPMS.zip

Files (311.4 kB)

Name Size Download all
md5:76a45b6434fc00f8335e32f601236e41
310.2 kB Preview Download
md5:cb0d195892ba0fe18abfe77ab585f251
1.2 kB Preview Download

Additional details

Related works

Is published in
Journal article: 10.1016/j.jmbbm.2021.104871 (DOI)
Is supplement to
Journal article: 10.1016/j.matdes.2022.110516 (DOI)