Re: [Pythoncad-developer] Module structure
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: Yagnesh D. <yn...@gm...> - 2010-02-04 03:20:11
|
Yes Gertwin; OpwnGL & PyQT are kept only for future use (just to indicate the level at which any other GUI renderer might be sitting) GENERIC - Entities - Exchange - Tools - Core I think we can also look at interface. INTERFACE - GUI_Common - command - preference - menu - viewport - Cairo -"renderer specific modules" - GTK -"renderer specific modules" -Cocoa - "renderer specific modules" (any existing codes) - OpenGL - "renderer specific modules" (Future) - PyQT - "renderer specific modules" (Future) - - - - - - Best regards Yagnesh Desai Save a tree...please don't print this e-mail. > > > > > > Yes you are right about the Generic structure. And you are right about the Interface structure it also need some improvement. Is it right to say that the GUI_Common package contains no pygtk related/dependent code? Maybe put the Cairo on the same level as OpenGL? INTERFACE - GUI_Common - command - preference - menu - GTK -"renderer specific modules" - OpenGL - "viewport render specific modules" - Cairo - "viewport render specific modules" - PyQT - "render specific modules" The packages OpenGL and PyQt are ment for future use I think? Gertwin On Wed, Feb 3, 2010 at 2:05 AM, <ger...@gm...> wrote: > 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 > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Pythoncad-developer mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncad-developer > > |