extrude()
Extrudes the last sketch with a default distance.
Returns: Extrude
tip
See the guide for detailed usage examples.
Signatures
extrude(target?: SceneObject): Extrude
Extrudes the last sketch with a default distance.
| Parameter | Type | Description |
|---|---|---|
target | SceneObject | The sketch to extrude (optional) |
extrude(distance: number, target?: SceneObject): Extrude
Extrudes the last sketch by a given distance.
| Parameter | Type | Description |
|---|---|---|
distance | number | The extrusion distance |
target | SceneObject | The sketch to extrude (optional) |
extrude(distance1: number, distance2: number): Extrude
Extrudes the last sketch between two distances.
| Parameter | Type | Description |
|---|---|---|
distance1 | number | The first extrusion distance |
distance2 | number | The second extrusion distance |
extrude(distance1: number, distance2: number, target: SceneObject): Extrude
Extrudes the given sketch between two distances.
| Parameter | Type | Description |
|---|---|---|
distance1 | number | The first extrusion distance |
distance2 | number | The second extrusion distance |
target | SceneObject | The sketch to extrude |
extrude(face: SceneObject, target?: SceneObject): Extrude
Extrudes the last sketch up to a specific face.
| Parameter | Type | Description |
|---|---|---|
face | SceneObject | A face selection to extrude up to |
target | SceneObject | The sketch to extrude (optional) |
extrude(face: "first-face", target?: SceneObject): Extrude
Extrudes the last sketch up to the first intersecting face.
| Parameter | Type | Description |
|---|---|---|
face | "first-face" | The literal 'first-face' |
target | SceneObject | The sketch to extrude (optional) |
extrude(face: "last-face", target?: SceneObject): Extrude
Extrudes the last sketch up to the last intersecting face.
| Parameter | Type | Description |
|---|---|---|
face | "last-face" | The literal 'last-face' |
target | SceneObject | The sketch to extrude (optional) |