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