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 Manifold from a set of polygon points describing triangles.
Polygon points
Manifold
Create a 3D cylinder shape
Cylinder parameters
Cylinder solid
Contains various functions for Solid meshes from Manifold library https://github.com/elalish/manifold Thanks Manifold community for developing this kernel