Cube parameters
Cube solid
Create a 3D cylinder shape
Cylinder parameters
Cylinder solid
Create a Manifold from a set of polygon points describing triangles.
Polygon points
Manifold
Convert a Mesh into a Manifold, retaining its properties and merging only the positions according to the merge vectors. Will throw an error if the result is not an oriented 2-manifold. Will collapse degenerate triangles and unnecessary vertices.
All fields are read, making this structure suitable for a lossless round-trip of data from manifoldToMesh(). For multi-material input, use reserveIDs() to set a unique originalID for each material, and sort the materials into triangle runs.
mesh definition
manifold
Create a 3D sphere shape
Sphere parameters
Sphere solid
Create a 3D tetrahedron shape
Tetrahedron solid
Generated using TypeDoc
Create a 3D cube shape
primitives
cube
true