Hi Stefano, the DXF files above have problems being used directly for NURBS calculations because they have control points where several points are stacked up right on top of each other on the exact same spot. (And the one from WN has another problem with the curve structure in addition to that as well).
That degrades some of the mathematical continuity properties of the curve which is not really a big deal when they're being used only in a 2D vector environment but it is a problem when trying to do much more elaborate mathematical calculations on it as a 3D model.
There is some processing that happens in MoI's AI/PDF import that moves stacked up points apart from one another a little bit and so avoids this problem when using those formats.
That same processing does not happen for DXF imports because in the past I've generally assumed that people using 2D vector drawing formats would transfer data over into MoI using AI or PDF format and not DXF format. I expected that DXF format would be coming mostly from 2D CAD programs, not 2D Illustration programs. So obviously that's not really correct and there are people using DXF format for transfer out of 2D illustration programs too.
So for the next beta I will set the same processing to happen on curves imported through DXF format as well. That has solved the problems with all the example files posted here in this thread, if you have other files which are also exhibiting this same problem please post them here or e-mail them to me at moi@moi3d.com so I can test the updated DXF curve processing to see if it fixes those too or whether those are some other problem.
There are other kinds of problematic geometry like closed curves that have little self-intersecting loops in them that are also not much of a problem for 2D illustration calculations but cause difficulty when used with more elaborate calculations in CAD. But those are not so easy to automatically remove as the stacked control point problem. Those can require manual cleanup to remove the self intersections before the curves will be suitable for use in 3D CAD.
I have no way of knowing which of these things you're running into without being able to test the files though.
- Michael
|