pub fn split_sheet(
model: &mut Model,
sheet: &Shape,
by: &Shape,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
A sheet split where another sheet crosses it: the pieces, with history.
sheet and by are each a face, a shell or a compound of those. Each
face of sheet is split along the curves where by’s faces cross it,
and along by’s edges where they lie in it. Only sheet is split: two
sheets are split by each other in two calls, each sheet by the other.
The pieces are sewn along the edges they share into one shell, or a
compound of shells where they fall apart. Each piece lies on its face’s
surface, and the history records each against the face it came from;
a face nothing crosses is its own copy. A piece reaching across the seam
of a face on a surface of revolution is one face, on that surface turned
about its axis so the chart’s join falls outside the piece.
§Errors
OgeomError::Construction where
either argument is not a sheet; a solid or a half space trims a sheet
through common and cut.
OgeomError::NotDone where the two
sheets overlap on one surface, and as fuse for configurations the
splitting refuses.