Functions | |
def | geompy.MakeArc |
Create an arc of circle, passing through three given points. | |
def | geompy.MakeArcCenter |
Create an arc of circle from a center and 2 points. | |
def | geompy.MakeArcOfEllipse |
Create an arc of ellipse, of center and two points. | |
def | geompy.MakeCircle |
Create a circle with given center, normal vector and radius. | |
def | geompy.MakeCircleR |
Create a circle with given radius. | |
def | geompy.MakeCircleThreePnt |
Create a circle, passing through three given points. | |
def | geompy.MakeCircleCenter2Pnt |
Create a circle, with given point1 as center, passing through the point2 as radius and laying in the plane, defined by all three given points. | |
def | geompy.MakeEllipse |
Create an ellipse with given center, normal vector and radiuses. | |
def | geompy.MakeEllipseRR |
Create an ellipse with given radiuses. | |
def | geompy.MakePolyline |
Create a polyline on the set of points. | |
def | geompy.MakeBezier |
Create bezier curve on the set of points. | |
def | geompy.MakeInterpol |
Create B-Spline curve on the set of points. |
def geompy.MakeArc | ( | self, | ||
thePnt1, | ||||
thePnt2, | ||||
thePnt3 | ||||
) |
Create an arc of circle, passing through three given points.
thePnt1 | Start point of the arc. | |
thePnt2 | Middle point of the arc. | |
thePnt3 | End point of the arc. |
def geompy.MakeArcCenter | ( | self, | ||
thePnt1, | ||||
thePnt2, | ||||
thePnt3, | ||||
theSense = False | ||||
) |
Create an arc of circle from a center and 2 points.
thePnt1 | Center of the arc | |
thePnt2 | Start point of the arc. (Gives also the radius of the arc) | |
thePnt3 | End point of the arc (Gives also a direction) | |
theSense | Orientation of the arc |
def geompy.MakeArcOfEllipse | ( | self, | ||
theCenter, | ||||
thePnt1, | ||||
thePnt2 | ||||
) |
Create an arc of ellipse, of center and two points.
theCenter | Center of the arc. | |
thePnt1 | defines major radius of the arc by distance from Pnt1 to Pnt2. | |
thePnt2 | defines plane of ellipse and minor radius as distance from Pnt3 to line from Pnt1 to Pnt2. |
def geompy.MakeCircle | ( | self, | ||
thePnt, | ||||
theVec, | ||||
theR | ||||
) |
Create a circle with given center, normal vector and radius.
thePnt | Circle center. | |
theVec | Vector, normal to the plane of the circle. | |
theR | Circle radius. |
def geompy.MakeCircleR | ( | self, | ||
theR | ||||
) |
Create a circle with given radius.
Center of the circle will be in the origin of global coordinate system and normal vector will be codirected with Z axis
theR | Circle radius. |
def geompy.MakeCircleThreePnt | ( | self, | ||
thePnt1, | ||||
thePnt2, | ||||
thePnt3 | ||||
) |
Create a circle, passing through three given points.
thePnt1,thePnt2,thePnt3 | Points, defining the circle. |
def geompy.MakeCircleCenter2Pnt | ( | self, | ||
thePnt1, | ||||
thePnt2, | ||||
thePnt3 | ||||
) |
Create a circle, with given point1 as center, passing through the point2 as radius and laying in the plane, defined by all three given points.
thePnt1,thePnt2,thePnt3 | Points, defining the circle. |
def geompy.MakeEllipse | ( | self, | ||
thePnt, | ||||
theVec, | ||||
theRMajor, | ||||
theRMinor, | ||||
theVecMaj = None | ||||
) |
Create an ellipse with given center, normal vector and radiuses.
thePnt | Ellipse center. | |
theVec | Vector, normal to the plane of the ellipse. | |
theRMajor | Major ellipse radius. | |
theRMinor | Minor ellipse radius. | |
theVecMaj | Vector, direction of the ellipse's main axis. |
def geompy.MakeEllipseRR | ( | self, | ||
theRMajor, | ||||
theRMinor | ||||
) |
Create an ellipse with given radiuses.
Center of the ellipse will be in the origin of global coordinate system and normal vector will be codirected with Z axis
theRMajor | Major ellipse radius. | |
theRMinor | Minor ellipse radius. |
def geompy.MakePolyline | ( | self, | ||
thePoints | ||||
) |
Create a polyline on the set of points.
thePoints | Sequence of points for the polyline. |
def geompy.MakeBezier | ( | self, | ||
thePoints | ||||
) |
Create bezier curve on the set of points.
thePoints | Sequence of points for the bezier curve. |
def geompy.MakeInterpol | ( | self, | ||
thePoints, | ||||
theIsClosed = False | ||||
) |
Create B-Spline curve on the set of points.
thePoints | Sequence of points for the B-Spline curve. | |
theIsClosed | If True, build a closed curve. |