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: Implement "real" SVG spline #5

Closed mme1950 closed 10 months ago

mme1950 commented 10 months ago

Currently Splines are approximated with a polygone.

The AutoCAD SPLINE entitiy uses two alternative concepts to define a arbitraty smoth curve see:

mme1950 commented 10 months ago

The interpolation of fit points was implemeted. Thanks to S. W. Harden.

mme1950 commented 10 months ago

SWG supports to create a quadratic or cubic Bezier curve, i. e. using up to four control points. New issue: #9.