Hmm I see.
This works great on the python console in FreeCAD, and from my standalone script I can set it up so that your script works using:
Code: Select all
import FreeCADGui
FreeCADGui.showMainWindow()
import PointsGui
But then it is still necessary to input the interval into the pop-up manually and I would prefer to have it all run automatically, without the GUI. So I'm still looking for a workaround
I was thinking about just generating the points myself from the UV parameters of each face, but I would have to treat all face types differently since a uniform grid in the UV space would not lead to a uniform point distribution in 3D (for instance cones would have a lot more point density close to the apex than on the other side).
Another issue would be keeping the point spacing uniform on the boundaries between faces and from face to face, so I would prefer to reuse that "Points_Convert" code
It's funny that you answered, microelly, I'm a bit fan! I've been learning a lot from your website and your youtube videos