[Pythoncad-developer] Module structure
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: <ger...@gm...> - 2010-02-02 20:35:20
|
Hi All, For me the current package structure is not all satisfying. The package "Generic" contain to much code with different purposes. I would like to see modules that have some of a relationship with each other in one package. My proposal to replace the package "Generic" by several other packages: * Entities. * Exchange. * Tools. * Core. Tools have already been separated from the rest of Generic but is still to large I think. Entities: This package contain all entity definitions. For instance the modules point, segment, circle, polyline, arc, etc. Exchange: This package contain all the import and export to other formats (maybe split exchange into import and export). Tools: This package contain the entity creation and modification tools (maybe split tools into create and modify). Core: This package contain the interface to the database. Quad tree tables, snap functionality etc. Regards, Gertwin |