pub fn offset_ruled_face(
solid: &BrepSolid,
face_id: u64,
distance: f64,
) -> Result<BrepSolid, KernelRefusal>Expand description
Push a CYLINDER or CONE face along its outward normal by distance (positive
grows the solid) by OFFSETTING its carrier surface and re-deriving the trim as
the intersection of that offset surface with the neighbour carriers.
Slice-1 scope (honest refusal, never a bad solid): a full-revolution
cylinder/cone SIDE face whose neighbour across every non-seam boundary edge is
PLANAR (its end caps). The pushed face’s own periodic SEAM edge rides the
offset carrier’s meridian; each rim edge re-intersects its cap
(intersect_analytic_pair, exact circle); the caps re-trim as planar faces.
Ruled/curved neighbours and non-full-revolution ruled faces are deferred.
The offset re-trims the pushed face against the faces it borders only, so a
push that carries it into a face it does not border (two holes widened until
they run into each other) closes incidence-clean on a body that passes
through itself. crate::accept_sound is the floor on the way out of this
entry, as it is for crate::move_faces: it repairs where the crossing can
be proved and refuses by name where it cannot. offset_ruled_face_unchecked
is the offset alone, for a caller that runs its own acceptance on the
result (several pushes in a row, accepted once).