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?: NumberParam): SceneObject

Chamfers selected edges with the given distance.

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

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

Chamfers the given edge selections with the given distance.

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

chamfer(distance: NumberParam, distance2: NumberParam, isAngle?: BooleanParam): SceneObject

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

ParameterTypeDescription
distanceNumberParamThe first chamfer distance
distance2NumberParamThe second distance, or angle if isAngle is true
isAngleBooleanParamWhether distance2 is an angle (optional)

chamfer(distance: NumberParam, distance2: NumberParam, isAngle: BooleanParam, ...sceneObjects: SceneObject[]): SceneObject

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

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