Skip to main content

draft_faces_parted_sided

Function draft_faces_parted_sided 

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

draft_faces_parted with its own angle on each side of the parting plane: angle_along for the pieces on the +pull side (drafted for +pull) and angle_against for those on the other side (drafted for −pull). Each leans its pieces away from the parting line by that angle (a negative one leans them toward it), as the two halves of a mould whose cores ask for different drafts. Equal angles are draft_faces_parted.