pub fn make_revolution_until(
model: &mut Model,
profile: &Shape,
axis: Axis,
limit: &Shape,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Revolve profile (a planar face) about axis, each point turning the
right-handed way about it until its circle first meets the surface of
limit, a face taken as its whole surface the way
make_half_space takes it: the revolution
“up to face”, stopping on the target at a different angle for each
point.
Built as the half turn of the profile kept on the profile’s side of the limit: exact wherever every circle meets the surface within that half turn and does not come back to the profile’s side before it ends.
§Errors
OgeomError::Construction if the
profile is not a planar face whose plane holds the axis, a point’s
circle never meets the surface, or one meets it only past half a turn or
crosses it back within the half turn; as the revolution, the half space
and the boolean otherwise.