mymesh.implicit#
Implicit function meshing tools
An implicit function f(x,y,z) describes a surface in 3D where the surface is located on the f(x,y,z) = 0 isosurface. The default convention used in this module is that values less than zero are considered “inside” the surface, and values above zero are considered “outside”.
Mesh Generation#
|
Generate voxel mesh of an implicit function |
|
Generate a surface mesh of an implicit function |
|
Generate a tetrahedral mesh of an implicit function |
|
Optimize the placement of surface node to lie on the "true" surface. |
Implicit Functions#
|
Implicit function approximation of the gyroid triply periodic minimal surface (TPMS). |
|
Implicit function approximation of the lidinoid triply periodic minimal surface (TPMS). |
|
Implicit function approximation of the primitive (Schwarz P) triply periodic minimal surface (TPMS). |
|
Implicit function approximation of the neovius triply periodic minimal surface (TPMS). |
|
Implicit function approximation of the diamond (Schwarz D) triply periodic minimal surface (TPMS). |
|
Implicit function of a cylinder. |
|
Implicit function of a box. |
|
Implicit function of a plane whose normal direction is along the x axis. |
|
Implicit function of a plane whose normal direction is along the y axis. |
|
Implicit function of a plane whose normal direction is along the z axis. |
|
Implicit function of a sphere. |
|
Implicit function of a torus oriented about the z-axis. |
Implicit Function Operators#
|
Offset function values by a prescribed amount. |
|
Boolean union of two values or sets of values. |
|
Boolean difference of two values or sets of values. |
|
Thicken an isosurface by offsetting in both directions. |
|
Boolean intersection of two values or sets of values. |
|
Boolean union of two functions. |
|
Boolean difference of two functions. |
|
Boolean intersection of two functions. |
|
Thicken an implicit function by offsetting in both directions. |
|
Boolean union of two symbolic functions. |
|
Boolean difference of two symbolic functions. |
|
Boolean intersection of two symbolic functions. |
|
|
|
|
|
Other Implicit Mesh Utilities#
|
Generates a signed distance field for a mesh. |
|
Generates an unsigned distance field for a mesh. |
|
Converts a voxel grid mesh into a function that can be evaluated at any point within the bounds of the grid. |
|
Converts a voxel grid mesh into a function. |