OpenStreetMap 로고 OpenStreetMap

Working on libredwg

h4ck3rm1k3님이 English로 2010년 1월 6일에 게시함.

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

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2010년 1월 7일 14:26h4ck3rm1k3님의 의견

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

2010년 1월 7일 17:33h4ck3rm1k3님의 의견

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

2010년 9월 10일 07:05Rallaz님의 의견

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

댓글을 남기려면 로그인하세요