OpenOrienteering / mapper

OpenOrienteering Mapper is a software for creating maps for the orienteering sport.
https://www.openorienteering.org/apps/mapper/
GNU General Public License v3.0
399 stars 106 forks source link

DXF import fails on realworld CAD file #204

Closed dg0yt closed 9 years ago

dg0yt commented 11 years ago

dg0yt reported on Sourceforge [tickets:#204]:

Working with a real-world DXF file of 60 MB size, Mapper did not import any object. This is now fixed, resulting in app. 60000 objects being created by import.

In addition, I added support for properly closing paths which are marked as closed in the DXF file.

In the long term, I'm probably going to rewrite the DXF import from scratch.

dg0yt commented 11 years ago

02JanDal posted on Sourceforge:

Rewriting is probably a good idea, when I first wrote the importer I used it to import ONE (rather large) file, and most files that where not exported/created by the same program as that file will probably not work very well.

dg0yt commented 11 years ago

02JanDal posted on Sourceforge:

Just took a look again, and both DXF importers I looked at last time (when I decided to write my own) are now available (under usable license).

They are here: http://www.ribbonsoft.com/en/what-is-dxflib and here: https://bitbucket.org/Coin3D/coin/wiki/Home (part of bigger project, should be possible to extract the DXF part, documentation for the DXF part is here: http://doc.coin3d.org/dime/)

It's probably a better idea to use one of those than to try to write everything from scratch (DXF files are rather complicated)

Jan

dg0yt commented 11 years ago