Moult wrote: ↑Tue Jun 29, 2021 10:01 am
Just wondering what the status is on these projects, and the work required to turn the under-the-hood calculations for (initially) swept path analysis into a FreeCAD agnostic library so that we can share the code for the BlenderBIM Add-on
Similarly, I'd like to integrate this with IfcOpenShell's API in generating valid IFC infrastructure objects, which will benefit both projects too and the wider AEC / OpenBIM community.
I'm more than happy to help. I really haven't done much with any of the Trails / Turns codebase recently. Life has gotten too busy. I hope I will start getting more time again soon to get back at it. IT also helps to have someone else who has a specific purpose to encourage me to spend time on it.
I think the code should be generalizable enough. I've worked to keep it as agnostic as possible, to the extent that I don't use any third-party libraries. I implemented my own Python vector math routines that work on tuples, rather than rely on FreeCAD.App.Vector(). It's definitely not as fast, but for the application, it's certainly fast enough. I imagine falling back on a 3rd-party open source Python math library is eventually going to be necessary, though.