Hi Harmanpreet, On Apr 5, 2013, at 2:02 PM, Harmanpreet Singh wrote:
> Tried in AutoCAD 2010, got message: > > Invalid or incomplete DXF input -- drawing discarded. The other failures were suspect, but this indicates a clear problem. DXF is their spec. So either they changed it or, more likely, now interpret it differently than they did in the past. That has happened before. I think they do that just to mess with the competition. > Test made in win XP latest code: > > File->open, select l.dxf > result: file are correct opened and 3dface converted to polylines > > File->close, then reopened from recent files list > result: file are opened, layer are present but 3dface are not imported > > Conclusion: > This seems a very strange bug, I need more time to investigate. This is interesting. Sounds like their latest version actually reads our file fine. I wouldn't be surprised if the failure is a regression. > Layer definition is incomplete, do not have code 70 (flags) and 62 (linetype) > And layer name contains invalid chars "/" & "." This is certainly actionable and should be easy. Care to give it try (since you have access to AutoCAD)? First test is probably to change the layer name in the dxf file manually and see if that alone makes it work. If it does, someone should write a function that sanitizes the layer names (or rework one of the ones we use in one of the other converters). Cheers! Sean ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
