Re: [Pythoncad-developer] Pushed many changes to the R38 branch
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: Gertwin G. <ger...@gm...> - 2010-01-11 21:07:56
|
Hi Yagnesh, > Was testing new code pushed in R38. I found > > 1. The CADing area turned grey. You are right, I have to change that. I used this grey color to make a difference between the old drawing methods and the new viewport drawing methods. > > 2. Realtime visibility of newly created entities > is poor. ie if I create a segment or a circle I need to > do some pan or change layers to see them. I did not notice this, I think this is a bug. Each object is drawn after it is added to the current layer. I think a event is not send or handled in your situation. > > 3. Tried changing color of the entity it throws > error and do not select the entity. further testing > found I cannot select the entity to move or copy > either. We are in the middle of a huge code restructuring. Do not expect PythonCAD to work as it should during this process. I pushed the code back to the repository as soon as possible. Entity drawing and creation of entities should work, all other must still be adjusted. In the previous version drawing and rubber banding was done anywhere in the code. It is now all concentrated in the viewport package. All drawing is done by cairo and is easier to maintain. It is not complete and I introduced a number of bugs, I am aware of that. > > I use CELERON laptop with 512 RAM. > > My suggestion is that python inherently would have > some speed issue. So dynamic zoom / pan may > be kept as user preference to switch on and off. > I am not good at understanding this performance > related problem and do not know if it is related > to python or gtk. I think the PythonCAD performance can be much better even with only python code. I noticed a issue in the Generic package where a large amount of memory is allocated even for a small drawing. For me it is a challenge to get the best performance out of python. The dynamic snap is very good at this point, now we have to streamline the rest of PythonCAD before adding new functionality. > > - - - - - - > Best regards > > Yagnesh Desai > Save a tree...please don't print this e-mail. Please continue posting your remarks. Regrads, Gertwin |