Skip to main content

move_faces

Function move_faces 

Source
pub fn move_faces(
    model: &mut Model,
    solid: &Shape,
    faces: &[Shape],
    transform: &Transform,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Move some faces of a solid rigidly by transform (a translation or a rotation), the faces around them following as in offset_faces: each moved face keeps its surface, carried by the transform, and each neighbour stays on its own.

ยงErrors

As offset_faces, and if transform is not a rigid motion: a scale or a reflection changes the faces themselves, not where they stand.