Skip to main content

draft_faces_parted

Function draft_faces_parted 

Source
pub fn draft_faces_parted(
    solid: &BrepSolid,
    face_ids: &[u64],
    pull_direction: Vec3,
    parting_point: Vec3,
    angle_radians: f64,
) -> Result<BrepSolid, KernelRefusal>
Expand description

A PARTING-LINE draft: the body is split by the neutral plane through parting_point square to pull_direction, the pieces of the selected faces on the +pull side are drafted for +pull and those on the other side for −pull — each leaning angle_radians away from the parting line, as the two halves of a two-piece mould pull apart — and the two sides are united again along the parting plane. The selected faces must each be a plane parallel to the pull or a cylinder about it, as for draft_faces.