• Whitham D. Reeve II's avatar
    Fixed a sluggish opengl window when a tool path is displayed. · 6d9954cd
    Whitham D. Reeve II authored
    Profiler suggests that the min/max functions for x/y/z of the Toolpath object were the main bottleneck. They iterate through all the points in each path every time they are accessed. These values are now cached which provides a huge speed boost. Originally I thought the problem was the opengl drawing code so I created a new code path that converts moves into an arrays of vertices and indices. The vertices array particularly is stored in video memory. While faster, I don't think it is all that much faster.
    
    Whitham D. Reeve II
    6d9954cd
Name
Last commit
Last update
Tests Loading commit data...
debian Loading commit data...
doc Loading commit data...
man Loading commit data...
pycam Loading commit data...
pyinstaller Loading commit data...
samples Loading commit data...
scripts Loading commit data...
share Loading commit data...
.gitignore Loading commit data...
COPYING.TXT Loading commit data...
Changelog Loading commit data...
INSTALL.TXT Loading commit data...
LICENSE.TXT Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
README.TXT Loading commit data...
pylint.sh Loading commit data...
release_info.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
technical_details.txt Loading commit data...