[cad-linux] Re: First hack at DWG reading for PythonCAD

hi ya art

On Wed, 27 Aug 2003, Art Haas wrote:

> Hi.
> 
> I've posted this to the PythonCAD mailing list and it was suggested to
> me to send this here as well. So, without any further ado ...
> 
> ----- Begin forwarded message -----
> 
> I've finished up the first shot at reading DWG files. I downloaded the spec
> from the OpenDWG group and have coded up a beastly little thing that does
> nothing other than print out what it finds in the DWG file it is reading.

i'll go and check it later ...

> The script will only work on R13/R14 version files as those versions are
> what the spec describes. I've run this thing on the sample files that

there's tons of sample R14 autocad files ( real drawings )
        http://custom-chassis.com/drawings.gwif.html

        more sample autocad drawings..
        http://linux-cae.net/CAD/

c ya
alvin

> The script will run like this ...
> 
> $ python dwg.py /path/to/the/dwg/file/you/will/test.dwg

...
> 
> 
> For those who want to get the OpenDWG spec, go to
> 
> http://www.opendwg.org
> 
> Another valuable bit of info is the code here ...
> 
> http://www.geocities.com/kuyunjik
> 


Other related posts: