Skip to main content

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.

ParameterTypeDescription
distanceNumberParamThe offset distance (defaults to 1) (optional)
removeOriginalBooleanParamWhether to remove the original geometry (optional)

offset(targetPlane: SceneObject | PlaneLike, distance: NumberParam, removeOriginal: BooleanParam, ...sourceGeometries: Extrudable[]): Offset

Offsets source geometries onto a target plane.

ParameterTypeDescription
targetPlaneSceneObject | PlaneLikeThe plane to offset onto
distanceNumberParamThe offset distance
removeOriginalBooleanParamWhether to remove the original geometry
...sourceGeometriesExtrudable[]The geometries to offset (optional)