Triply Periodic Minimal Surfaces
Triply Periodic Minimal Surfaces (TPMS)
are a class of 3D minimal surfaces that are used for modeling various porous structures.
Some of them can be described using level-set equations
(similar to the ones accepted by the mask_from_function() function)
and because of their usefulness, have been implemented in the library.
Similar to Geometric Shapes, an abstract base class
has been implemented that outlines the necessary properties that must be defined in a subclass.
These include a number of cosmetic properties used for representing the surface in the GUI,
and the func method which is a static function that has to be passed to
the mask_from_function() function for use.
Also, a number of additional parameters are necessary which must be passed as well.
An example of a model created based on a Gyroid TPMS is shown in Example C-5.
Currently, the following surfaces have been implemented:
The Schwarz Primitive (P) TPMSThe Schwarz Diamond (D) TPMSThe Schwarz Gyroid (G) TPMS
If you would like to add more surfaces to VCAMS, check out our contributing guidelines.