realthunder / FreeCAD_assembly3

Experimental attempt for the next generation assembly workbench for FreeCAD
GNU General Public License v3.0
884 stars 74 forks source link

python-solvespace #5

Open ghost opened 6 years ago

ghost commented 6 years ago

There is no official python binding of SolveSpace at the moment.

Did you know about Python3 binding for libslvs/SolveSpace provided by @KmolYuan?

Additionaly there is GUI for this binding

P.S.: https://github.com/KmolYuan/python-solvespace/issues/2

realthunder commented 6 years ago

Well, I am not aware of this. But I did find some other implementation that has a similar Python interface design as this one. My implementation is kept simple and flat, somewhat mimicking the C API of libslvs, which makes it more flexible for user to build his own class hierarchy on top of it.

Besides, I also exposed one crucial functionality for assembling purpose, which is missing in the official libslvs, that is, a transformation entity for representing some geometry entity as a transformation of others.