This is a follow-on to the question posted in this thread:
https://forum.freecadweb.org/viewtopic.php?f=3&t=75508
Firstly:
Code: Select all
OS: Linux Mint 21 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31700 (Git)
Build type: Unknown
Branch: master
Hash: 0a8ea55509c2a03c18ec7d95100b765c59b19560
Python 3.10.6, Qt 5.15.3, Coin 4.0.1, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods:
* toSketch 1.0.1
My end goal is to use the endpoints on the generated cross-sections as inputs to a bspline. I can manually edit the sketch, identify a couple of points and select the spline feature in Sketcher. I can then extrude it in each direction along the edge going in the Y-direction of the bottom-most sketch/shape.
But I would like to do this programmatically (as I also can't seem to figure out how to lock the endpoints but move around the control points on the bezier). As can be seen in the created sketch ("cs_plane_sketch") I have objects with endpoints. But for the life of me I can't find an example of how to collect, say, all the ones with positive X-values and feed them to a Bspline routine. I thought the topic on Bsplines and point clouds
https://forum.freecadweb.org/viewtopic. ... 66#p656266
would get me there, but I can't figure out how to get these endpoints to be, well, Points.
Can anyone point me to a tutorial or approach that will get me going?
TIA,
mconsidine