nanoLogika / ACadSvg

C# library to convert AutoCAD drawings from DWG to SVG. AutoCAD files are read using ACadSharp.
GNU Lesser General Public License v3.0
9 stars 2 forks source link

Spline entity: Implement B-Spline with more than four control points. #9

Closed mme1950 closed 9 months ago

timmwille commented 9 months ago

You might find some hint here to solve this: https://wiki.freecad.org/B-Splines

or via LibreCAD.org

timmwille commented 9 months ago

Also further readings you can find via FreeCAD Forum: https://forum.freecad.org/viewtopic.php?f=9&t=71130

oder im Code: https://github.com/search?q=repo%3AAjinkyaDahale%2FFreeCAD%20b-spline&type=code

in the Opencascade CAD Kernel it is implemented as follows, not sure how that helps in this case: https://dev.opencascade.org/doc/occt-7.6.0/refman/html/class_geom___bezier_curve.html

mme1950 commented 9 months ago

Found simple C# example here: https://www.codeproject.com/Articles/1095142/Generate-and-understand-NURBS-curves