Skip to main content

offset_faces

Function offset_faces 

Source
pub fn offset_faces(
    part: &mut NamedModel,
    namer: &Namer,
    faces: &[FaceId],
    distance: Scalar,
) -> GeopResult<BuiltBody>
Expand description

Copies the faces faces of part — of a solid or of a sheet — into a sheet distance along their normals (against them for a negative distance), and returns it: the inner side of the faces shelled (see the module docs), sharing nothing with them, which stay as they are.

The copy of each face, edge and vertex X is named N(X), with N the operation.