Exporting / importing splines of any degrees

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
francoas
Posts: 10
Joined: 26 Jun 2007, 18:22

Exporting / importing splines of any degrees

Post by francoas » 10 Feb 2009, 13:37

Hi

I am using cadimport.net to import and export draw from/to dxf files.
Everything is ok but the splines.

Actually I can CORRECTLY import/export ONLY splines of DEGREE 3.

All other kind of splines are wrongly converted (and it looks like they are managed as if 3rd degree).

For instance when i export the splines, i set control points and knots.
The degree should be authomatically inferred from the knots. But it is not.

For instance a spline with 8 points and 10 knots (0, 0 ...6 values... 1, 1) is a spline of degree 1
but when i export it, it writes a dxf with degree 3 (!) and 12 knots (0, 0, 6 values, 1, 1, 1, 1)
that by the way is not correct even for a 3rd degree

Any help would be very appreciated.

Franco Andrea

support
Posts: 3253
Joined: 30 Mar 2005, 11:36
Contact:

Re: Exporting / importing splines of any degrees

Post by support » 11 Feb 2009, 10:15

Dear Franco Andrea,

Our libraries support splines of DEGREE 3 only. If you have file examples with some other splines, please send them us to support@cadsofttools.com with a reference to this topic.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply