chamfer#
- Polyline.chamfer(vertices=None, edges=None, 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:
- vertices
list
,optional
List of vertices to chamfer.
- edges
list
,optional
List of edges to chamfer.
- 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
.
- vertices
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.Chamfer