Comment 8 for bug 892496

Revision history for this message
Alvin Penner (apenner) wrote :

three separate problems were encountered when loading the file.

1. The crash was caused by a new type of spline which is a subset of the multispline introduced in bzr rev 10183. The new type of spline contains knot points which are triply degenerate which caused the crash.
2. After fixing that, the file loaded without incident. However, a number of circular objects were missing. These were actually splines as well, in which the 'closed' attribute of Group Code 70 had been set, which caused the program to ignore these objects. It was not necessary to ignore these objects so the restriction was removed.
3. After fixing that, there were still a number of objects missing. These were objects of the type POLYLINE which contained VERTEX objects. Both of these types of objects are typical of AutoCad Release 12 files and they have been replaced by the LWPOLYLINE entity in Release 13. The dxf_input.py routine does not support AutoCad Release 12 features. To get around this, the file was loaded into QCad 2.1.3.2 and then re-saved, which automatically converts it to Release 13.
     When loaded into Inkscape, the svg file is attached here. As far as I can tell, it is complete.