pub fn make_compsolid(model: &mut Model, solids: &[Shape]) -> OgeomResult<Built>Expand description
Build a shell from faces.
§Errors
OgeomError::Construction if a child is not
a face, or the list is empty.
Build a compsolid: solids gluing along shared faces.
A compsolid is more than a bag of solids: its members must actually glue. Every pair connected through the whole is connected through shared face nodes: the same face entity bounding two solids, once from each side, which is the sharing a boolean or a sew produces. A set of solids that merely touch, faces coincident but distinct, is a compound, not a compsolid, and is refused as one.
§Errors
OgeomError::Construction if
fewer than two solids are given, a member is not a solid, or the members
do not glue into one connected whole through shared faces.