CGAL and OCC
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 7
- Joined: Sun Apr 05, 2015 6:05 am
CGAL and OCC
Why did the FreeCAD developers choose to use of OpenCascade as the base of FreeCAD? Does it have advantages over the more popular(?) library CGAL? (And other possibly related libraries, like OpenSceneGraph?)
Re: CGAL and OCC
CGAL is a mesh/triangle based solution, isn't it? If true, then it is useless for high precision CAD applications.
Re: CGAL and OCC
EDIT: CGAL is GPLed. Linking against it would apply the restrictions of the GPL on FreeCAD.
Re: CGAL and OCC
GPL in general is not incompatible to LGPL. See: http://www.gnu.org/licenses/gpl-faq.htm ... patibilityshoogen wrote:CGAL is GPLed and therefore not LGPL compatible.
But the point is that in the past CGAL was licensed under LGPL and QPL and the latter is known to be incompatible to the GPL. In the past FreeCAD linked against a GPL library and thus it was impossible to use CGAL. Now FreeCAD is completely GPL-free and this we absolutely want to keep for the future and thus CGAL isn't an option at all.