deleteFace()
Removes faces from a body. By default the faces around the gap are extended until they close it, so the body is what it would be without the feature: a fillet, a hole, a boss or a pocket goes and the history before it stays as it is. Select the whole feature — every face of it — or the neighbours cannot meet and the statement is refused, naming how many faces could not be removed. Healing works on solids.
Chain .mode('cap') to close each opening with one new face through
its rim instead (its plane where the rim is flat), or .mode('open')
to leave it open: a solid then becomes a surface, its rim answered by
boundaryEdges(), ready to be filled or thickened.
The faces may belong to several bodies; each is treated on its own,
changed in place in the model's history as a fillet changes it.
Selecting every face of a body is refused: remove the body with
remove(). With no faces given, the preceding select(…) is used.
Returns: DeleteFace
Signatures
deleteFace(...faces: (SceneObject | SceneObject[])[]): DeleteFace
Removes faces from a body. By default the faces around the gap are extended until they close it, so the body is what it would be without the feature: a fillet, a hole, a boss or a pocket goes and the history before it stays as it is. Select the whole feature — every face of it — or the neighbours cannot meet and the statement is refused, naming how many faces could not be removed. Healing works on solids.
Chain .mode('cap') to close each opening with one new face through
its rim instead (its plane where the rim is flat), or .mode('open')
to leave it open: a solid then becomes a surface, its rim answered by
boundaryEdges(), ready to be filled or thickened.
The faces may belong to several bodies; each is treated on its own,
changed in place in the model's history as a fillet changes it.
Selecting every face of a body is refused: remove the body with
remove(). With no faces given, the preceding select(…) is used.
| Parameter | Type | Description |
|---|---|---|
...faces | (SceneObject | SceneObject[])[] | Selections of faces of solids or surfaces, or lists of them. (optional) |