manifold errors

Canonical explanations and fixes for manifold toolchain error signatures.

FaceIDWrongLength in Manifold-3D MeshGL Construction

The Manifold-3D kernel emits a FaceIDWrongLength error when a supplied MeshGL object provides a faceID array whose length does not match the exact number of triangles in the mesh.

Manifold Error: InvalidConstruction

The Manifold geometry kernel sets the InvalidConstruction error status when a primitive constructor or procedural solid builder receives invalid, degenerate, or contradictory parameters that prevent the generation of a valid 2-manifold solid mesh.

MergeIndexOutOfBounds

The Manifold geometry library emits MergeIndexOutOfBounds when a provided MeshGL structure specifies merge indices that exceed the declared number of property vertices (numProp).

MergeVectorsDifferentLengths

The Manifold library emits this error when the mergeFromVert and mergeToVert arrays in a MeshGL structure have different lengths, preventing valid vertex merging.

Manifold MissingPositionProperties Error

The MissingPositionProperties diagnostic in Manifold indicates that an input mesh lacks the mandatory three leading property channels needed to define spatial vertex positions. It is emitted when constructing geometry from a mesh wrapper containing insufficient coordinate data.

manifold::Error::PropertiesWrongLength

The Manifold geometry kernel rejects a MeshGL object because its flattened `vertProperties` array length is not evenly divisible by the specified `numProp` stride.