Skip to main content

SurfaceResult

Extends SceneObject

Inherited from SceneObject

name()​

name(value: string): this

Sets a custom display name for this object, overriding the default type-based name.

ParameterTypeDescription
valuestringThe display name to assign.

Methods​

faces()​

faces(...args: (number | FaceFilter)[]): ISelection

The faces of the surface. With no argument, all of them.

Returns: ISelection

ParameterTypeDescription
...args(number | FaceFilter)[]Face indices, or face filters to narrow the faces by. (optional)

boundaryEdges()​

boundaryEdges(...args: (number | EdgeFilter)[]): ISelection

The edges of the surface's open rim: those that bound one face only. With no argument, all of them.

Returns: ISelection

ParameterTypeDescription
...args(number | EdgeFilter)[]Edge indices, or edge filters to narrow the edges by. (optional)