Skip to main content

chamfer()

Chamfers selected edges with the given distance.

Returns: SceneObject

tip

See the guide for detailed usage examples.

Signatures

chamfer(distance?: number): SceneObject

Chamfers selected edges with the given distance.

ParameterTypeDescription
distancenumberThe chamfer distance (defaults to 1) (optional)

chamfer(distance: number, ...sceneObjects: SceneObject[]): SceneObject

Chamfers the given edge selections with the given distance.

ParameterTypeDescription
distancenumberThe chamfer distance
...sceneObjectsSceneObject[]The edge selections to chamfer (optional)

chamfer(distance: number, distance2: number, isAngle?: boolean): SceneObject

Chamfers selected edges with two distances or a distance and angle.

ParameterTypeDescription
distancenumberThe first chamfer distance
distance2numberThe second distance, or angle if isAngle is true
isAnglebooleanWhether distance2 is an angle (optional)

chamfer(distance: number, distance2: number, isAngle: boolean, ...sceneObjects: SceneObject[]): SceneObject

Chamfers the given edge selections with two distances or a distance and angle.

ParameterTypeDescription
distancenumberThe first chamfer distance
distance2numberThe second distance, or angle if isAngle is true
isAnglebooleanWhether distance2 is an angle
...sceneObjectsSceneObject[]The edge selections to chamfer (optional)