Skip to main content

snapshot_solids

Function snapshot_solids 

Source
pub fn snapshot_solids(solids: &[(&str, &BrepSolid)]) -> Result<String, String>
Expand description

Serialize (name, solid) pairs into one base64 snapshot payload. Captures each entity’s OWN scene-metadata record (solid name + every face/edge name) alongside the geometry, so a stamped part restores with its metadata. The payload is byte-deterministic for identical input (solids in caller order, metadata sorted by name).