Login  Register

Re: Spline through points

Posted by dxli on Jul 22, 2014; 3:23am
URL: https://forum.librecad.org/Spline-through-points-tp5710167p5710197.html

I haven't tested your latest code yet, but I can see you are doing very interesting stuff there.

one DXF support, I need more understanding here. Using "Degree 2" seems to be risky to me.

http://www.autodesk.com/techpubs/autocad/acad2000/dxf/spline_dxf_06.htm

Let's try to understand the group codes:

74 Number of fit points (if any)
11 Fit points (in WCS), one entry per fit point DXF: X value; APP: 3D point

pavel wrote
reading/writing into DXF is now implemented. It stores the data as spline of degree 2. When reading, it reads the spline when degree is 2, even if the spline has been created by the original spline tool.