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 emits InvalidConstruction when attempting a Boolean operation (such as union, intersection, or difference) where one or more input operands are in an error state. This occurs to prevent evaluating broken geometry and producing inconsistent states.

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.