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?: number, removeOriginal?: boolean): Offset

Offsets the current sketch geometry by the given distance.

ParameterTypeDescription
distancenumberThe offset distance (defaults to 1) (optional)
removeOriginalbooleanWhether to remove the original geometry (optional)

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

Offsets source geometries onto a target plane.

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