The abstract class GeometryCurve is the root class of all curve objects. Return the shape for the geometry. Discretizes the curve and returns a list of points. The function accepts keywords as argument: discretize(Number=n) => gives a list of 'n' equidistant points discretize(QuasiNumber=n) => gives a list of 'n' quasi equidistant points (is faster than the method above) discretize(Distance=d) => gives a list of equidistant points with distance 'd' discretize(Deflection=d) => gives a list of points with a maximum deflection 'd' to the curve discretize(QuasiDeflection=d) => gives a list of points with a maximum deflection 'd' to the curve (faster) discretize(Angular=a,Curvature=c,[Minimum=m]) => gives a list of points with an angular deflection of 'a' and a curvature deflection of 'c'. Optionally a minimum number of points can be set which by default is set to 2. Optionally you can set the keywords 'First' and 'Last' to define a sub-range of the parameter range of the curve. If no keyword is given then it depends on whether the argument is an int or float. If it's an int then the behaviour is as if using the keyword 'Number', if it's float then the behaviour is as if using the keyword 'Distance'. Example: import Part c=Part.Circle() c.Radius=5 p=c.discretize(Number=50,First=3.14) s=Part.Compound([Part.Vertex(i) for i in p]) Part.show(s) p=c.discretize(Angular=0.09,Curvature=0.01,Last=3.14,Minimum=100) s=Part.Compound([Part.Vertex(i) for i in p]) Part.show(s) Returns the point of given parameter Returns the point and first derivative of given parameter Returns the point, first and second derivatives Returns the point, first, second and third derivatives Returns the n-th derivative Computes the length of a curve length([uMin,uMax,Tol]) -> Float Returns the parameter on the curve of a point at the given distance from a starting parameter. parameterAtDistance([abscissa, startingParameter]) -> Float the Computes the point of parameter u on this curve Computes the tangent of parameter u on this curve Make a ruled surface of this and the given curves Get intersection points with another curve lying on a plane. Computes the continuity of two curves Returns the parameter on the curve of the nearest orthogonal projection of the point. Vector = normal(pos) - Get the normal vector at the given parameter [First|Last] if defined Computes the projection of a point on the curve projectPoint(Point=Vector,[Method="NearestPoint"]) projectPoint(Vector,"NearestPoint") -> Vector projectPoint(Vector,"LowerDistance") -> float projectPoint(Vector,"LowerDistanceParameter") -> float projectPoint(Vector,"Distance") -> list of floats projectPoint(Vector,"Parameter") -> list of floats projectPoint(Vector,"Point") -> list of points Float = curvature(pos) - Get the curvature at the given parameter [First|Last] if defined Vector = centerOfCurvature(float pos) - Get the center of curvature at the given parameter [First|Last] if defined Returns all intersection points and curve segments between the curve and the curve/surface. arguments: curve/surface (for the intersection), precision (float) Returns all intersection points and curve segments between the curve and the surface. Returns all intersection points between this curve and the given curve. Converts a curve of any type (only part from First to Last) toBSpline([Float=First, Float=Last]) -> B-Spline curve Converts a curve of any type (only part from First to Last) toNurbs([Float=First, Float=Last]) -> NURBS curve Returns a trimmed curve defined in the given parameter range trim([Float=First, Float=Last]) -> trimmed curve Approximates a curve of any type to a B-Spline curve approximateBSpline(Tolerance, MaxSegments, MaxDegree, [Order='C2']) -> B-Spline curve Changes the direction of parametrization of the curve. Returns the parameter on the reversed curve for the point of parameter U on this curve. Returns true if this curve is periodic. Returns the period of this curve or raises an exception if it is not periodic. Returns true if the curve is closed. Returns the global continuity of the curve. Returns the value of the first parameter. Returns the value of the last parameter. Returns a rotation object to describe the orientation for curve that supports it