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