Skip to main content

draft_face_qualifies

Function draft_face_qualifies 

Source
pub fn draft_face_qualifies(
    solid: &BrepSolid,
    face_id: u64,
    pull_direction: Vec3,
) -> bool
Expand description

Whether draft_faces can draft face face_id of solid for the pull pull_direction: a plane parallel to the pull, or a cylinder whose axis is parallel to it — the same two tests the draft classifies its selection by, so a caller that gathers faces for a draft (every face along the pull, the faces round a neutral face, the faces tangent to a pick) agrees with it. false for a face the solid does not have.