Fill
Extends SurfaceResult
Inherited from SurfaceResult
faces()
faces(...args: (number | FaceFilter)[]): ISelection
The faces of the surface. With no argument, all of them.
Returns: ISelection
| Parameter | Type | Description |
|---|---|---|
...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
| Parameter | Type | Description |
|---|---|---|
...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.
| Parameter | Type | Description |
|---|---|---|
value | string | The display name to assign. |
Methods
continuity()
continuity(value: "g0" | "g1" | "g2"): this
How the fill meets the faces beside its boundary: 'g0' position (the
default), 'g1' tangent, 'g2' curvature. One level holds for every
boundary edge that is matched to a face: a rim edge of a surface is
matched to the surface's face beside it; an edge of a solid, which
lies between two faces, only to the one listed in .adjacent(); a
free curve — a sketch, a curve — never. Where the surface cannot reach
the level asked, it is built all the same and the statement carries a
warning saying so.
| Parameter | Type | Description |
|---|---|---|
value | "g0" | "g1" | "g2" | 'g0', 'g1' or 'g2'. |
adjacent()
adjacent(...faces: (SceneObject | SceneObject[])[]): this
The faces to be continuous with. Left out, the fill is matched to the face beside every rim edge of a surface. Given, a boundary edge is matched only to a face beside it that is listed — which is how an edge of a solid is matched at all: list the one of its two faces to continue. Listing both is refused. A listed face that lies beside no edge of the boundary is told as a warning. It has no effect with position continuity.
| Parameter | Type | Description |
|---|---|---|
...faces | (SceneObject | SceneObject[])[] | Selections of faces, or a surface or a solid for all of its faces; lists of those are taken too. (optional) |
guides()
guides(...guides: (SceneObject | SceneObject[])[]): this
Points and curves the fill must pass through, inside its boundary: a peak, a crown line.
| Parameter | Type | Description |
|---|---|---|
...guides | (SceneObject | SceneObject[])[] | Vertices and sketch points; sketches, curves and selections of edges; lists of those are taken too. (optional) |
'new'()
'new'(): this
Keeps the fill a surface of its own: it is not joined to the surfaces whose rim its boundary runs along, which stay as they are.