pyboxbuilder.export.geometry.mesh_geometry

pyboxbuilder.export.geometry.mesh_geometry(payload: Bosl2Solid | list[Bosl2Solid] | None) → Geometry | None[source]

Mesh a payload and measure its bounding box and volume.

A payload of several solids (an mmu piece keeps its inserts separate) is unioned first, matching what the 3MF export writes.