Hello there,
I have a (presumed) edge that is described as a parametric curve, with 2 points, one at either end of the edge. I have no issue getting these end points, however, I would like to be able to get a series of points along this curve. From my understanding of FreeCAD, there are presently only the 2 aforementioned endpoints in the vertexes list; I would like to be able to get more, in order to plot a nice smooth representation of this curve, as opposed to the straight line between the endpoints that I currently have
Cheers,
Chris
Extracting points along a parametric curve
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Extracting points along a parametric curve
Code: Select all
points = my_edge.discretize(100)
Code: Select all
help(Part.Edge.discretize)