pub fn write_3mf(
solids: &[ThreeMfSolid],
document_name: &str,
) -> Result<(Vec<u8>, ThreeMfWriteReport), String>Expand description
Write solids as one 3MF package in millimetres.
document_name becomes the model’s Title metadata. Solids with no
triangles — before or after welding — are SKIPPED (a model object must
enclose volume); a set in which nothing has a triangle is refused, as the
OBJ, STL and GLB lanes refuse an empty scene.