Arc
An arc defined by a plane, start point, mid point and end point.
This class represents a circular arc in 3D space, defined by three points and a plane. The arc is a portion of a circle that lies on the specified plane.
Attributes:
| Name | Type | Description |
|---|---|---|
plane |
Plane
|
The plane on which the arc lies |
startPoint |
Point
|
The starting point of the arc |
midPoint |
Point
|
A point on the arc between the start and end points |
endPoint |
Point
|
The ending point of the arc. |
Example
from specklepy.objects.geometry.plane import Plane
from specklepy.objects.geometry.point import Point
plane = Plane(origin=Point(0, 0, 0), normal=Point(0, 0, 1))
start = Point(1, 0, 0)
mid = Point(0.7071, 0.7071, 0)
end = Point(0, 1, 0)
arc = Arc(plane=plane, startPoint=start, midPoint=mid, endPoint=end)