Geom.chamfer()¶
Description¶
Chamfer operation to take off the corner of a solid body. Unlike fillet, chamfer is applied only to volume solids.
The chamfer is defined by distance r taken from the edge to the line of chamfer and an array of nearby points refs.
Syntax¶
JS
Geom.chamfer(shp: Shape, r: Number) -> Shape
Geom.chamfer(shp: Shape, r: Number, refs: Array<Point3>) -> Shape
Parameters¶
| Parameter | Type | Description | 
|---|---|---|
| shp | Shape | Body to take the chamfer from. | 
| r | Number | Distance taken from the edge to the line of chamfer. | 
| refs | Array<Point3> | Array of nearby points refsto the edges, subject to chamfering. | 
Return value¶
| Type | Description | 
|---|---|
| Shape | The result of the operation with the chamfer. | 
Example¶
See also