Re: [Pythoncad-developer] Pythoncad-developer Digest, Vol 4, Issue 2
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: Matteo B. <mat...@bo...> - 2010-02-03 08:30:55
|
Hi all, I think the some of Yagnesg, openGl is a big effort even if for pakege the program, I'm get some truble with py2exe and gtk on windows pc .. so i do not want to add more layer of pakege at the solution. We have spend a lot of time to migrate to cairo so now i want to go on with the develop ... We can work together to really understand witch is the best way to get the cairo work. There are a lot of picture program that use gtk and to manipulate the picture so we can do the some .. So for my point of view i prefer to go on with cairo and gtk. Regards Matteo Hi Gertwin; Thanks for your effort on identifying and issue with the performance in PythonCAD. My vote is for cairo + homebrew for near future, As the interface modules will be kept separate people should be able to add other renderer in case they need I have these reasons: 1. We are PYTHONCAD and so bringing in non python related modules is not very good idea. Also staying cross platform is MUST. Currently our packaging is having issues with installation on LINUX as well as Windows. 2. Having said that we will stay 2D and more complete then attempting a 3D. We can leave the 3D to other successful projects (like FreeCAD which is NOT completely in python). WE MUST DECIDE ON THIS BEFORE ADDING MUCH OF FURTHER EFFORTS, ALSO SHOULD GIVE PROVISION AT VARIOUS LEVELS IF WE GO FOR 3D. Infact we should also clearly say how different we are from QCAD, and focus our efforts to exploit the difference. 3. Real time PAN and ZOOM is is more like a wish then necessity (Well with Python people should not expect ALL the bells and whistles). 4. With OpenGL there is a learning curve for the team. As you had pointed out rightly, first issue with performance is in the GENERIC. Hence solving the issue of DOM should be our first priority. - - - - - - Best regards Yagnesh Desai Save a tree...please don't print this e-mail. On Wed, Feb 3, 2010 at 1:42 AM, <gertwin.groen@gm...> wrote: > Hi All, > > Starting a new thread about the renderer to choose. > For the user interface we have chosen pygtk but the renderer is still > unclear to me. > > A remainder from our emails: > > OpenGL: > Pros: > * very fast > * in case we want to go on 3d no change of the way we show the entity > > Cons: > * we need to learn how it works (personally i never use it) > * installation problem we need more pakage to make it works > * as gertwin say on mac we get some trouble. > > > Cairo + homebrew display list: > Pros: > * no need to change the way that we draw the entity > * it's no so slow if we build some smart algorithm > > Cons: > * No real time zooming and panning possible, only on small parts of the > drawing. > > > Personally I would like to use OpenGL, realtime zooming and panning is a > must have feature I think. > Op OSX the cairo 3 second redraw time for 100000 elements is too much for > such a feature. > On linux we can use the gtkglext but on OSX I have to take a different > approach. > > What are the opinions? > If OpenGL is a no go I will let it rest, otherwise I am going to test > gtk+opengl on OSX. > > Regards, > Gertwin |