by amelius · 4y ago · 0 comments
Shouldn't this be a separate project?
> Shouldn't this be a separate project?
Maybe. Not right now, I think. Not much of a point, as long as I'm the one doing most of the work.
The kernel is available now as a separate library though, that can be used independently. If it attracts its own set of users and contributors, it might make sense to have a separate website and repository.
[1] https://en.wikipedia.org/wiki/Robust_geometric_computation
For example, you're not allowed to define a point that happens to lie on a surface. You must instead explicitly define the point in terms of the surface. By extruding from a sketch that lies in the surface, or by saying "extrude until the shape hits the surface", or by specifying some kind of constraint.
I hope that it is practical to design CAD models in a way, such that these relationships are always explicit, and I hope that this will enable the CAD kernel to not have to rely on messy floating point stuff comparisons. But as I said, not no idea if it's going to work out like that.
Another direction you could take is to define just the API, and use the opencascade kernel (like FreeCAD) until the rest of your code is ready.