offset()
Offsets the current sketch geometry by the given distance.
Returns: Offset
tip
See the guide for detailed usage examples.
Signatures
offset(distance?: number, removeOriginal?: boolean): Offset
Offsets the current sketch geometry by the given distance.
| Parameter | Type | Description |
|---|---|---|
distance | number | The offset distance (defaults to 1) (optional) |
removeOriginal | boolean | Whether to remove the original geometry (optional) |
offset(targetPlane: SceneObject | PlaneLike, distance: number, removeOriginal: boolean, ...sourceGeometries: Extrudable[]): Offset
Offsets source geometries onto a target plane.
| Parameter | Type | Description |
|---|---|---|
targetPlane | SceneObject | PlaneLike | The plane to offset onto |
distance | number | The offset distance |
removeOriginal | boolean | Whether to remove the original geometry |
...sourceGeometries | Extrudable[] | The geometries to offset (optional) |