Skip to main content

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.

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

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

Offsets source geometries onto a target plane.

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