Re: [Pythoncad-developer] New R38 PythonCAD Class structure ready on docuwiki
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: Matteo B. <mat...@bo...> - 2010-04-11 07:26:21
|
Hi Gertwin, I update all the name of the Kernel file.. I made some test an it seems to work .. but please make some more test. ..And of course .. update your code call.. Regards, Matteo On Sat, 2010-04-10 at 14:31 +0200, Gertwin Groen wrote: > Hi Matteo, > > Looks nice! > > But I am not all happy with the names in our new code. > > For example in PyCadApplication.openDocument, it seams that a document > is a instance of a PyCadDbKernel class. > I think it is better to rename the class PyCadDbKernel into > PyCadDocument, getting a instance of a PyCadDocument class is more > what I expect. > > And I find it a little hard to recognize the modules in a list if the > filename all begin with 'pycad'. > Personally I find it easier to find modules/files if the first few > characters of the name differs. > > All the files reside in the package 'PythonCAD.Generic.Kernel', why do > we need to repeat the name 'pycad' in the module and class names? > > Instead of: > from Generic.Kernel.pycadkernel import PyCadDbKernel > > something like: > from Generic.kernel import Kernel > > I think it is easier to read and less characters to type. > > Regards, > Gertwin > > > > > > 2010/4/10 Matteo Boscolo <mat...@bo...>: > > Hi all, > > It's now possible from docuwiki to navigate into the class stracture of > > the new kernel of PythonCAD .. > > > > you can find it at: > > http://pythoncad.sourceforge.net/dokuwiki/doku.php?id=program_code_description#object_hierarchy > > > > I will update the structure each time we made some big improvements. > > > > Regards, > > Matteo > > > > > > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Pythoncad-developer mailing list > > Pyt...@li... > > https://lists.sourceforge.net/lists/listinfo/pythoncad-developer > > > |