DeleteFace
Extends SceneObject
Inherited from SceneObject
name()
name(value: string): this
Sets a custom display name for this object, overriding the default type-based name.
| Parameter | Type | Description |
|---|---|---|
value | string | The display name to assign. |
Methods
mode()
mode(value: "heal" | "cap" | "open"): this
What happens to the gap the faces leave:
'heal'(the default): the faces around it are extended until they close it, and the body is what it would have been without the feature. Select the whole feature — every face of the fillet, hole, boss or pocket — or the neighbours cannot meet and the statement is refused, naming how many faces could not be removed. Solids only.'cap': each opening is closed with one new face through its rim: its plane where the rim is flat, else a surface fitted to it. A solid stays a solid, a surface a surface.'open': nothing replaces the faces. A solid becomes a surface; a surface may fall into several.
| Parameter | Type | Description |
|---|---|---|
value | "heal" | "cap" | "open" | 'heal', 'cap' or 'open'. |
capFaces()
capFaces(...args: (number | FaceFilter)[]): ISelection
Selects the new faces closing the openings, one per opening, in
'cap' mode; nothing in the other modes.
Returns: ISelection
| Parameter | Type | Description |
|---|---|---|
...args | (number | FaceFilter)[] | Numeric indices or FaceFilterBuilder instances to filter the selection. (optional) |
boundaryEdges()
boundaryEdges(...args: (number | EdgeFilter)[]): ISelection
Selects the rim the deleted faces leave, in 'open' mode: every edge
of the result that bounded a deleted face. Nothing in the other modes.
Returns: ISelection
| Parameter | Type | Description |
|---|---|---|
...args | (number | EdgeFilter)[] | Numeric indices or EdgeFilterBuilder instances to filter the selection. (optional) |