[Pythoncad-developer] View application for the new kernel
CAD Application entire developed in Python
Status: Beta
Brought to you by:
matteoboscolo
From: Gertwin G. <ger...@gm...> - 2010-03-18 22:15:02
|
Hi all, I just added a view application for the new kernel to the repository. I is written in wxPython and is far from complete. In the end this application has to become version R38 (if performance tests succeed). Drawing is done with a standard wxPython drawing functions, no cairo, no OpenGL. Functionality: 1. open a database. 2. rebuild the spatial index (RTree) in the database. 3. regenerate the drawing = rebuild the display list. 4. redraw the display list. 5. zoom all = set up view translation and redraw the display list. Use zoom all after resizing the application window to get an idea of the performance. I did not yet optimize anything. After optimizing it will (should) be faster than it is now. Drawing is done directly to screen, I need to draw to a "in memory" bitmap and show this bitmap on screen. All entities are drawn, even if they are outside the viewport. If someone have some time to create a larger database I can do some performance tests. Maybe it is not so handy to have such a large database in git. Regards, Gertwin |