Skip to main content

SweptSurface

Extends SurfaceResult

Inherited from SurfaceResult

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)
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​

sideFaces()​

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

The swept faces: every face of the surface. One per edge of the profile, or one per stretch of a sweep's path each edge is carried along; a loft's, one per stretch of the profiles between the vertices that change them.

Returns: ISelection

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

startEdges()​

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

The edges at the profile's first position: on the sketch plane for an extrude in one direction, at the start angle for a revolve, at the start of the path for a sweep, the first profile as it lies on a loft's surface. A full turn has none, nor has a sweep along a closed path.

Returns: ISelection

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

endEdges()​

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

The edges at the profile's last position: at the distance for an extrude in one direction, at the end angle for a revolve, at the end of the path for a sweep, the last profile as it lies on a loft's surface. A full turn has none, nor has a sweep along a closed path.

Returns: ISelection

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

sideEdges()​

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

The edges the profile's vertices trace: the seams between the faces and, for an open profile, its two free sides (a revolve's arcs or circles); a loft's run from profile to profile. A vertex on a revolve's axis traces none.

Returns: ISelection

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