|
Part = lz.LazyLoader("Part", globals(), "Part") | |
|
◆ arcFrom2Pts()
def draftgeoutils.arcs.arcFrom2Pts |
( |
|
firstPt, |
|
|
|
lastPt, |
|
|
|
center, |
|
|
|
axis = None |
|
) |
| |
Build an arc with center and 2 points, can be oriented with axis.
◆ arcFromSpline()
def draftgeoutils.arcs.arcFromSpline |
( |
|
edge | ) |
|
Turn given edge into a circular arc from three points.
Takes its first point, midpoint and endpoint. It works best with bspline
segments such as those from imported svg files. Use this only
if you are sure your edge is really an arc.
It returns None if there is a problem, including passing straight edges.
◆ isClockwise()
◆ isWideAngle()
def draftgeoutils.arcs.isWideAngle |
( |
|
edge | ) |
|
Return True if the given edge is an arc with angle > 180 degrees.
◆ Part
draftgeoutils.arcs.Part = lz.LazyLoader("Part", globals(), "Part") |