chamfer#
- VertexPrimitive.chamfer(left_distance=1, right_distance=None, angle=45, chamfer_type=0)[source]#
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
True
when successful,False
when failed.
References
>>> oEditor.Chamfer