pub fn place_on_spine(
model: &mut Model,
profile: &Shape,
spine: &Shape,
placement: PipePlacement,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
A planar profile (a face, or a closed wire) moved rigidly onto the start
of spine as placement asks: turned about its centroid until it
stands square to the spine’s start tangent where correction, and
moved so its centroid is the spine’s start point where contact. The
result is a fresh profile, ready for make_pipe_shell
and the sweeps like it; the history records it as the profile
modified.
§Errors
OgeomError::Construction if
the profile is not a planar face or closed wire, or the spine is not an
edge or a wire with a tangent at its start.