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