chamfer#
- VertexPrimitive.chamfer(left_distance: float = 1, right_distance: float | None = None, angle: float = 45, chamfer_type: int = 0) bool#
Add a chamfer to the selected edges in 3D/vertices in 2D.
- Parameters:
- left_distance
float,optional Left distance from the edge. The default is
1.- right_distance
float,optional Right distance from the edge. The default is
None.- angle
float, optional. Angle value for chamfer types 2 and 3. The default is
0.- chamfer_type
int,optional - Type of the chamfer. Options are:
0 - Symmetric
1 - Left Distance-Right Distance
2 - Left Distance-Angle
3 - Right Distance-Angle
The default is
0.
- left_distance
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oEditor.Chamfer