Loft
Extends Fuseable
Inherited from Fuseable
add()
add(...objects: SceneObject[]): this
Additive boolean operation — fuses the result with existing shapes. When called with no arguments, fuses with all intersecting scene objects. When called with specific objects, fuses only with those objects.
| Parameter | Type | Description |
|---|---|---|
...objects | SceneObject[] | Optional target objects to fuse with. (optional) |
'new'()
'new'(): this
No boolean operation — keeps the result as a standalone shape, separate from all other scene objects.
remove()
remove(...objects: SceneObject[]): this
Subtractive boolean operation — cuts the result from existing shapes. When called with no arguments, cuts from all intersecting scene objects. When called with specific objects, cuts only from those objects.
| Parameter | Type | Description |
|---|---|---|
...objects | SceneObject[] | Optional target objects to cut from. (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. |
guide()
guide(): this
Marks this object as construction geometry. Guide objects are excluded from final geometry output unless explicitly included.
reusable()
reusable(): this
Marks this object as reusable. Reusable objects retain their shapes when
consumed by features (e.g., extrude, revolve), allowing multiple features
to reference the same source geometry. Use remove(obj) to force-remove
shapes from a reusable object.
Methods
startFaces()
startFaces(...args: (number | FaceFilterBuilder)[]): SceneObject
Selects faces on the first profile plane of the loft.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | FaceFilterBuilder)[] | Numeric indices or FaceFilterBuilder instances to filter the selection. (optional) |
endFaces()
endFaces(...args: (number | FaceFilterBuilder)[]): SceneObject
Selects faces on the last profile plane of the loft.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | FaceFilterBuilder)[] | Numeric indices or FaceFilterBuilder instances to filter the selection. (optional) |
sideFaces()
sideFaces(...args: (number | FaceFilterBuilder)[]): SceneObject
Selects the lateral faces generated between loft profiles.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | FaceFilterBuilder)[] | Numeric indices or FaceFilterBuilder instances to filter the selection. (optional) |
startEdges()
startEdges(...args: (number | EdgeFilterBuilder)[]): SceneObject
Selects edges on the first profile plane of the loft.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | EdgeFilterBuilder)[] | Numeric indices or EdgeFilterBuilder instances to filter the selection. (optional) |
endEdges()
endEdges(...args: (number | EdgeFilterBuilder)[]): SceneObject
Selects edges on the last profile plane of the loft.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | EdgeFilterBuilder)[] | Numeric indices or EdgeFilterBuilder instances to filter the selection. (optional) |
sideEdges()
sideEdges(...args: (number | EdgeFilterBuilder)[]): SceneObject
Selects edges on the side faces, excluding edges shared with start/end faces.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | EdgeFilterBuilder)[] | Numeric indices or EdgeFilterBuilder instances to filter the selection. (optional) |
thin()
thin(offset: number): this
Enables thin loft mode — offsets the profile edges of each section to create a thin-walled shell instead of lofting filled faces. All profiles must be sketches and share the same topology. Positive values offset outward, negative offsets inward.
| Parameter | Type | Description |
|---|---|---|
offset | number | The wall offset distance. Positive = outward, negative = inward. |
thin()
thin(offset1: number, offset2: number): this
Enables thin loft mode with two offset directions. The two offsets must go in opposite directions. If both have the same sign, the second offset is automatically flipped.
| Parameter | Type | Description |
|---|---|---|
offset1 | number | The first wall offset distance. Positive = outward, negative = inward. |
offset2 | number | The second wall offset distance, in the opposite direction of offset1. |
internalFaces()
internalFaces(...args: (number | FaceFilterBuilder)[]): SceneObject
Selects faces created inside the solid during loft (e.g., the inner wall of a thin-walled loft from closed profiles).
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | FaceFilterBuilder)[] | Numeric indices or FaceFilterBuilder instances to filter the selection. (optional) |
internalEdges()
internalEdges(...args: (number | EdgeFilterBuilder)[]): SceneObject
Selects edges bounding the internal geometry created during loft.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | EdgeFilterBuilder)[] | Numeric indices or EdgeFilterBuilder instances to filter the selection. (optional) |
capFaces()
capFaces(...args: (number | FaceFilterBuilder)[]): SceneObject
Selects the cap faces at the open ends of a thin-walled loft from open profiles. These are the small faces connecting the inner and outer walls at the profile endpoints.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | FaceFilterBuilder)[] | Numeric indices or FaceFilterBuilder instances to filter the selection. (optional) |
capEdges()
capEdges(...args: (number | EdgeFilterBuilder)[]): SceneObject
Selects edges on the cap faces of a thin-walled loft from open profiles.
Returns: SceneObject
| Parameter | Type | Description |
|---|---|---|
...args | (number | EdgeFilterBuilder)[] | Numeric indices or EdgeFilterBuilder instances to filter the selection. (optional) |