Thread: [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-10 07:43:15
|
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 |
From: Gertwin G. <ger...@gm...> - 2010-04-10 12:31:25
|
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 > |
From: Matteo B. <mat...@bo...> - 2010-04-10 15:56:42
|
Hi Gertwin, >But I am not all happy with the names in our new code. You are right.. >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. OK >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. Ok I can manage it it's difficult for me too .. I will do some modification .. >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 will follow your recommendation thanks in advance Regards, Matteo 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_descripti on#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 > |
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 > > > |
From: Gertwin G. <ger...@gm...> - 2010-04-11 07:53:49
|
Hi Matteo, Thank you. I will adjust the code of the Interface to the new names. Regards, Gertwin 2010/4/11 Matteo Boscolo <mat...@bo...>: > 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 >> > >> > > > |
From: Yagnesh D. <yn...@gm...> - 2010-04-11 13:03:54
|
This is cool . . . |