Arc#
- class ansys.motorcad.core.geometry.Arc(start, end, centre, radius)#
Python representation of Motor-CAD arc entity based upon start, end, centre and radius.
- Parameters:
- start
Coordinate
Start coordinate.
- end
Coordinate
End coordinate.
- centre :Coordinate
Centre coordinate.
- radius
float
Arc radius
- start
Methods
Arc.coordinate_on_entity
(coordinate)Get if a coordinate exists on this Arc.
Arc.coordinate_within_arc_radius
(coordinate)Check if coordinate exists within arc radius.
Arc.from_coordinates
(start_point, ...)Take three coordinates and converts to an arc.
Get the coordinate at the specified distance along the arc from the reference coordinate.
Get the coordinate at the percentage distance along the arc from the reference coord.
Arc.mirror
(mirror_line)Mirror arc about a line.
Reverse Arc entity.
Attributes
Get angle of end point from centre point coordinates.
Get length of arc from start to end along circumference.
Get midpoint of arc.
Get angle of start point from centre point coordinates.
Get arc sweep angle.