libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libredwg] [bug #28502] help


From: address@hidden
Subject: Re: [libredwg] [bug #28502] help
Date: Thu, 7 Jan 2010 17:49:19 +0100

Yes,
I have talked to some people on pycad.

http://mail.python.org/pipermail/pythoncad/2010-January/000974.html

We can also convert well known files into dwg with different versions.

I would like to see svg, blender and other test cases that are well
known converted.

All those files I linked to are public domain.

We just need a big set of files and some tool for autocad to batch
convert them, then we would have a corpus to work with.
It could be shared between all FLOSS cad programs.

I have been making progress today on the testing with 2004 version of
autocad. I recompiled my changes with the c compiler and they work.
Would like to check the code in somewhere.... should I start a github
branch?


mike

On Thu, Jan 7, 2010 at 5:41 PM, Rodrigo Rodrigues da Silva
<address@hidden> wrote:
> That would be very helpful. First of all we need free (as in free speech)
> DWG files, so that we can ship the files with the test suites. Then we need
> to write down some testing instructions, so that users can post their
> results (like you did) easily.
>
> 2010/1/7 address@hidden <address@hidden>
>>
>> I have a suggestion :
>>
>> 1. we should develop a standard set of tests, one per feature type. We
>> would know exactly what is in each test case.
>> we can use the svg test cases as well or other tests.
>>
>> 2. We would produce a dwg file, and dxf file with each version of
>> autocad for each test case.
>>
>> 3. Then we would create a markup tool to dump out the dwg into some
>> ascii representation and markup each part of the file, how it is
>> decoded, what the content is, where it came from.
>>
>> Does anyone have autocad and can help with this?
>>
>> mike
>>
>> On Wed, Jan 6, 2010 at 9:27 PM, address@hidden
>> <address@hidden> wrote:
>> > http://parchive.sourceforge.net/
>> > The technology is based on a 'Reed-Solomon Code' implementation that
>> > allows for recovery of any 'X' real data-blocks for 'X' parity
>> > data-blocks present. (Data-blocks referring to files OR much smaller
>> > virtual slices of files).
>> >
>> > On Wed, Jan 6, 2010 at 9:10 PM, address@hidden
>> > <address@hidden> wrote:
>> >> I found three libs,
>> >>
>> >> https://sourceforge.net/projects/rscode/develop
>> >> http://www.ka9q.net/code/fec/
>> >> http://www.schifra.com/
>> >>
>> >> What about first a tool to just extract the RS blocks into a  file
>> >> that can be processed externally?
>> >>
>> >>
>> >> On Wed, Jan 6, 2010 at 8:58 PM, Felipe Sanches <address@hidden>
>> >> wrote:
>> >>> we would ideally use a reed-solomon library to do that.
>> >>>
>> >>> On Wed, Jan 6, 2010 at 5:57 PM, Felipe Sanches <address@hidden>
>> >>> wrote:
>> >>>>
>> >>>> I asked myself this question when I reached this part of the DWG
>> >>>> R2007
>> >>>> header parsing. At that time I concluded that the answer was: learn
>> >>>> how
>> >>>> ReedSolomon encoding works. I tried. I understood it partially, but I
>> >>>> havent
>> >>>> yet been able to properly decode it. Be welcome to try!
>> >>>>
>> >>>> Felipe
>> >>>>
>> >>>> On Wed, Jan 6, 2010 at 5:27 PM, James Michael DuPont
>> >>>> <address@hidden> wrote:
>> >>>>>
>> >>>>> URL:
>> >>>>>  <http://savannah.gnu.org/bugs/?28502>
>> >>>>>
>> >>>>>                 Summary: help
>> >>>>>                 Project: LibreDWG
>> >>>>>            Submitted by: mdupont
>> >>>>>            Submitted on: Wed 06 Jan 2010 08:27:50 PM CET
>> >>>>>                Category: None
>> >>>>>                Severity: 3 - Normal
>> >>>>>              Item Group: None
>> >>>>>                  Status: None
>> >>>>>                 Privacy: Public
>> >>>>>             Assigned to: None
>> >>>>>             Open/Closed: Open
>> >>>>>         Discussion Lock: Any
>> >>>>>
>> >>>>>    _______________________________________________________
>> >>>>>
>> >>>>> Details:
>> >>>>>
>> >>>>> here is a file we want to convert :
>> >>>>> http://www.gimnechiske.org/files/Planimetria_de_Vitoria.dwg
>> >>>>>
>> >>>>>
>> >>>>> Here is the output :
>> >>>>> This file's version code is: AC1021
>> >>>>> WARNING: This version of LibreDWG is only capable of properly
>> >>>>> decoding
>> >>>>> version R2000 (code: AC1015) dwg-files.
>> >>>>> This file's version code is: AC1021
>> >>>>>  This version is not yet actively developed.
>> >>>>> It will probably crash and/or give you invalid output.
>> >>>>> 5 bytes of 0x00: 0x00 0x00 0x00 0x00 0x00
>> >>>>> Unknown: 0x19
>> >>>>> Byte 0x00, 0x01, or 0x03: 0x03
>> >>>>> Preview Address: 0x00000D20
>> >>>>> DwgVer: 27
>> >>>>> MaintRelease: 25
>> >>>>> Codepage: 30
>> >>>>> Unknown: 0x00 0x1B 0x19
>> >>>>> SecurityType: 0x00000000
>> >>>>> Unknown long: 0x00000000
>> >>>>> DWG Property Addr: 0x00000C80
>> >>>>> VBA Project Addr: 0x00000000
>> >>>>> 0x00000080: 0x00000080
>> >>>>> Application Info Address: 0x0000A380
>> >>>>> Reed-Solomon(255,239) encoded section:
>> >>>>>
>> >>>>> dc  0  0 d5 20 85  1  0  8 85  0  5 44  2 81 e5  0 40 f6 70 c7 45 60
>> >>>>> 6f
>> >>>>> 4f  4
>> >>>>>  a  a 60  3 5f 8c 82 43 67 68 30  2  b 49 49 66 53  0 92 d4  1 a0 62
>> >>>>> b5
>> >>>>> 5f 6f
>> >>>>> c7 11  6 3a 81 92 30 7f 1d 36  2 db 4b 83 83 45 e0 35  5 6f ac d3  a
>> >>>>>  0
>> >>>>> 77 14
>> >>>>> 0  8 52  0  2 78  0  b 19  0  5 38  0  d 67  0  0  1 20 85 80  0  8
>> >>>>> 7f  0
>> >>>>>  5
>> >>>>> 8  2 81 87  0 40 19 70 c7 20 60 6f 7e  4  a  9 60  3 40 8c 82 77 67
>> >>>>> 68  0
>> >>>>>  2
>> >>>>> b  2 49 66 f8  0 92 37  1 a0 8c b5 5f 50 c7 11 6d 3a 81 d2 30 7f a4
>> >>>>> 36  2
>> >>>>> 17
>> >>>>> 4b 83  0 45 e0 a6  5 6f 60 d3  a  9 77 14  4  8 52 77  2 78  9  b 19
>> >>>>>  1
>> >>>>>  5 38
>> >>>>> 77  d 67  1  0  1  e 85 80 77  8 7f  0  5  8  2 81 87 72 40 19 64 c7
>> >>>>> 20
>> >>>>> 7b 6f
>> >>>>> 7e c2  a  9 d9  3 40 d5 82 77 96 68  0 da  b  2 45 66 f8 f0 92 37 60
>> >>>>> a0
>> >>>>> 8c  9
>> >>>>> 5f 50 7f 11 6d 77 81 d2 29 7f a4 7e  2 17 77 83  0  2 e0 a6 c7 6f 60
>> >>>>> f4
>> >>>>>  a  9
>> >>>>> 67 14  4  8 52 77  0 78  9 13 19  1 9d 38 77 ef 67  1 f9  1  e e5 80
>> >>>>> 77
>> >>>>> 11 7f
>> >>>>> 0 b6  8  2 10 87 72 76 19 64  8 20 7b  4 7e c2  2  9 d9 91 40 d5  8
>> >>>>> 77 96
>> >>>>>  3
>> >>>>> 0 da 93  2 45  0 f8 f0  1 37 60  6 8c  9  0 50 7f 4f 6d 77 87 d2 29
>> >>>>> 10 a4
>> >>>>> 7e
>> >>>>> 79 17 77 20  0  2 66 a6 c7  0 60 f4  f  9 67  1  4  8 62 77  0 df  9
>> >>>>> 13
>> >>>>> a0  1
>> >>>>> 9d bf 77 ef  d  1 f9 ff  e e5 db 77 11 36  0 b6 9e  2 10 b7 72 76  5
>> >>>>> 64
>> >>>>>  8 75
>> >>>>> 7b  4 5b c2  2 77 d9 91 55 d5  8 bb 96  3 19 da 93 c5 45  0  c f0  1
>> >>>>> 42
>> >>>>> 60  6
>> >>>>> 46  9  0 6d 7f 4f 58 77 87 c7 29 10  0 7e 79  0 77 20  0  2 66  0 c7
>> >>>>>  0
>> >>>>> e9 f4
>> >>>>> f 6f 67  1 b5  8 62 4c  0 df b2 13 a0 64 9d bf eb ef  d e7 f9 ff d7
>> >>>>> e5 db
>> >>>>> 72
>> >>>>> 11 36 98 b6 9e e5 10 b7 a7 76  5 c1  8 75 64  4 5b be  2 77 1d 91 55
>> >>>>> b3
>> >>>>>  8 bb
>> >>>>> e4  3 19 f0 93 c5 db  0  c b8  1 42 e7  6 46 fb  0 6d 3e 4f 58 85 87
>> >>>>> c7
>> >>>>> 3f 10
>> >>>>> 0 92 79  0 b3 20  0 ac 66  0  0  0 dc a6  f d5 dd  1  1 da 62 85 85
>> >>>>> df 44
>> >>>>> 3f
>> >>>>> a0 e5 3a bf f6 9e  d 45 fa ff 4f e9 db  a 87 36 5f ed 9e 43 1b b7 30
>> >>>>> ce
>> >>>>>  5 49
>> >>>>> 1f 75 53 59 5b d4 bc 77 62 71 55 6f e2 bb  6 36 19 92 d2 c5 1d c2  c
>> >>>>> db
>> >>>>> d2 42
>> >>>>> 83  f 46 35 75 6d ac c8 58  0 83 c7  0 16  0  0 5d  0  0 56  0  0 59
>> >>>>>  0
>> >>>>>  0 73
>> >>>>> dc  0 53 d5 20 59  1  0 c8 85  0 99 44  2  e e5  0 2e f6 70 f9 45 60
>> >>>>> b3
>> >>>>> 4f  4
>> >>>>> 86  a 60 90 5f 8c 19 43 67 55 30  2 53 49 49 eb 53  0 55 d4  1 7d 62
>> >>>>> b5
>> >>>>> 21 6f
>> >>>>> c7 bc  6 3a 67 92 30  2 1d 36 ab db 4b 46 83 45 53 35  5 88 ac d3 8a
>> >>>>>  0
>> >>>>> 77 7e
>> >>>>> 0  8 70  0  2 aa  0  b d9  0  5 61  0  d ac e5 f5 56 57 fc 17 de da
>> >>>>> 31 6b
>> >>>>> 55
>> >>>>> 5d 9c b8 92 35  9 d2 7c a9 ff 3d 34 8a fb 92  7 ef 88  7 21 47 3a 11
>> >>>>> 31
>> >>>>> 64 6c
>> >>>>> 27 21 d0 f9 44 c8 4a 91 87 6e f9 e9 6f b5 4c b2 64 eb e7 d7 72 98 e5
>> >>>>> a7
>> >>>>> c1 64
>> >>>>> be 1d b3 e4 f0 db b8 e7 fb 3e 85 3f 92 b3 ac  0 a6 dd da 85 3f 3a 9e
>> >>>>> fa
>> >>>>> e9 87
>> >>>>> ed 1b ce 1f 59 bc 71 e2 36 d2 c2 d2  f 75 c8 83 16 5d 56 59 73 53 59
>> >>>>> c8
>> >>>>> 99  e
>> >>>>> 2e f9 b3 86 90 19 55 53 eb 55 7d 21 bc 67  2 ab 46 53 88 8a 7e 70 aa
>> >>>>> d9
>> >>>>> 61 ac
>> >>>>> b7 2d 6c 59  c 10 27 36 80 5f e2  3 f2 bc 48 e5 8c 1c 46 10 9a e5 fa
>> >>>>> 9c
>> >>>>> f4 8e
>> >>>>> 16 aa fd 91 e7 cc 84 f7 b8 66 a3 5b f9 fa 83 5b 7f 29 65 99 b8 1a ed
>> >>>>> d5
>> >>>>> d3  1
>> >>>>> ec f7 16 8a a5 23 9d ce 16 5e f9  8 b4 ed d7 7f eb 6e f6 15 44 2c 56
>> >>>>>  e
>> >>>>> 90 71
>> >>>>> fc 4c ca 3f cb 57 18 98 2f 80 29 69 8a 78 f2 41 dd b6 7d 25 1b fe fe
>> >>>>>  a
>> >>>>> fe  2
>> >>>>> ff b6 d1 97 24 b1 10 c6 3e 99 16 52 ba 77 2c 8f 64 30 4e 3c aa c9
>> >>>>>
>> >>>>> Decoding of DWG version R2007 header is not fully implemented yet.
>> >>>>> Failed to decode file:
>> >>>>> ../../openstreetmap/brazil/Planimetria_de_Vitoria.dwg
>> >>>>>
>> >>>>>
>> >>>>> please help.
>> >>>>> What do I have to do to get this working?
>> >>>>>
>> >>>>> mike
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>    _______________________________________________________
>> >>>>>
>> >>>>> Reply to this item at:
>> >>>>>
>> >>>>>  <http://savannah.gnu.org/bugs/?28502>
>> >>>>>
>> >>>>> _______________________________________________
>> >>>>>  Message sent via/by Savannah
>> >>>>>  http://savannah.gnu.org/
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >
>>
>>
>
>
>
> --
> Rodrigo Rodrigues da Silva
> PoliGNU - Grupo de Estudos de Software Livre da Poli/USP
> FSF Associate Member #7788
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]