Skip to main content

deform_face

Function deform_face 

Source
pub fn deform_face(
    solid: &BrepSolid,
    face_id: u64,
    spec: &FaceDeformSpec,
) -> Result<(BrepSolid, FaceDeformReport), KernelRefusal>
Expand description

Deform face face_id of solid as spec asks; every other record of the body is returned unchanged. Refuses by name: an unknown face, a pick whose anchor is off the face, a trim outside its carrier’s domain, any refusal of the carrier deformation (no free control point under a pick, dependent picks, a fold, …), a displacement larger than the face, and a result that does not validate or passes through itself.