Skip to main content

cut()

Cuts through all using the last sketch

Returns: Cut

tip

See the guide for detailed usage examples.

Signatures

cut(): Cut

Cuts through all using the last sketch


cut(target: SceneObject): Cut

Cuts using the given sketch with a default distance.

ParameterTypeDescription
targetSceneObjectThe sketch to cut with

cut(distance: number, target?: SceneObject): Cut

Cuts using the given sketch by a given distance.

ParameterTypeDescription
distancenumberThe cut depth
targetSceneObjectThe sketch to cut with (optional)

cut(distance1: number, distance2: number): Cut

Cuts by two distances using the last sketch.

ParameterTypeDescription
distance1numberThe first cut distance
distance2numberThe second cut distance

cut(distance1: number, distance2: number, target: SceneObject): Cut

Cuts by two distances using the given sketch.

ParameterTypeDescription
distance1numberThe first cut distance
distance2numberThe second cut distance
targetSceneObjectThe sketch to cut with

cut(face: SceneObject): Cut

Cuts up to a specific face using the last sketch.

ParameterTypeDescription
faceSceneObjectA face selection to cut up to

cut(face: "first-face"): Cut

Cuts up to the first intersecting face using the last sketch.

ParameterTypeDescription
face"first-face"The literal 'first-face'

cut(face: "last-face"): Cut

Cuts up to the last intersecting face using the last sketch.

ParameterTypeDescription
face"last-face"The literal 'last-face'

cut(face: SceneObject, target: SceneObject): Cut

Cuts up to a specific face using the given sketch.

ParameterTypeDescription
faceSceneObjectA face selection to cut up to
targetSceneObjectThe sketch to cut with

cut(face: "first-face", target: SceneObject): Cut

Cuts up to the first intersecting face using the given sketch.

ParameterTypeDescription
face"first-face"The literal 'first-face'
targetSceneObjectThe sketch to cut with

cut(face: "last-face", target: SceneObject): Cut

Cuts up to the last intersecting face using the given sketch.

ParameterTypeDescription
face"last-face"The literal 'last-face'
targetSceneObjectThe sketch to cut with