開放街圖標誌 OpenStreetMap 開放街圖

Working on libredwg

於 2010年一月 6日 由 h4ck3rm1k3English發表。

The libredwg is the reader tool for reading dwg files.
http://www.gnu.org/software/libredwg/

I have a patch for it to make it c++
https://savannah.gnu.org/patch/index.php?7057

am going to fix it to work with the dwg files I have.

And now I am working on getting this tool to run the dwg files

Here are my tests:
https://savannah.gnu.org/bugs/?28504
https://savannah.gnu.org/bugs/?28503

https://savannah.gnu.org/bugs/?28502
for that file, you can find the dxf here :
http://www.openstreetmap.pl/balrog/Planimetria_de_Vitoria.zip

So we have the input and the output, maybe that will help.

here is my patch :
https://savannah.gnu.org/patch/?7057

mike

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

h4ck3rm1k32010年01月 7日 14時26分 發表的評論

Does anyone have any test cases in DWG format? We need to collect very many for development of the software.
mike

h4ck3rm1k32010年01月 7日 17時33分 發表的評論

Hi all,

I am just starting to work on the libredwg project that can read DWG without the restrictions of the "open design thing" that means you can download it and use it.

The DWG format is a jealousy guarded binary format that changes with every release of Autocad.
http://en.wikipedia.org/wiki/.dwg

Unfortunately we are missing a specification of all the formats, and most importantly, a test case. I guess the spec from OpenDesign is good, but I heard it was buggy. Also Is it complete? I want to have test data to work with that I can understand.

The GNU project has declared creating an Autocad reader is high priority project.

My plan is follows :

1. create a set of files to use as test case.
Reuse existing test suites for SVG, Blender and other tools. I have posted links to them on the other mails that I reference at the bottom.

2. convert those test cases into DWG and DXF files and to SVG/pdf so we can understand them.

3. do that in batch for each version of autocad.

Given a large body of tests cases, inputs and outputs, it should be easier to work on the decoding of this data.

See also :
http://mail.python.org/pipermail/pythoncad/2010-January/000974.html
http://lists.gnu.org/archive/html/libredwg/2010-01/msg00013.html
osm.org/user/h4ck3rm1k3/diary/9160

Rallaz2010年09月10日 07時05分 發表的評論

If you want more dwg files, in this web you can get many:
http://www.cben.net/

登入 來留下評論