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