A python package to read .dwg files.
It follows dwg file specifications from Open Design Specification for .dwg files version 5.4.1 prepared by Open Design Alliance.
Main aim of the project is to understand the file structure of dwg files.
Part of the code of the library is static while the rest of the code is dynamically generated by code generator/python/code-generator.py
. Static code is written in files named part1.py
, part2.py
, etc in code generator/python
folder. Where as dynamic code is generated from the csv file in csv spec
folder. By running ./code\ generator/python/code-generator.py
a fresh code is created in src/python .
Refer bin/trial.py
for basic usage. This will read a dwg file and dump the data. Example of dump file created.
Following open source projects were referred while working on gpdwg.