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.
| Parameter | Type | Description |
|---|---|---|
distance | NumberParam | The chamfer distance (defaults to 1) (optional) |
chamfer(distance: NumberParam, ...sceneObjects: SceneObject[]): SceneObject
Chamfers the given edge selections with the given distance.
| Parameter | Type | Description |
|---|---|---|
distance | NumberParam | The chamfer distance |
...sceneObjects | SceneObject[] | 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.
| Parameter | Type | Description |
|---|---|---|
distance | NumberParam | The first chamfer distance |
distance2 | NumberParam | The second distance, or angle if isAngle is true |
isAngle | BooleanParam | Whether 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.
| Parameter | Type | Description |
|---|---|---|
distance | NumberParam | The first chamfer distance |
distance2 | NumberParam | The second distance, or angle if isAngle is true |
isAngle | BooleanParam | Whether distance2 is an angle |
...sceneObjects | SceneObject[] | The edge selections to chamfer (optional) |