• 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
..
Cutters Loading commit data...
Exporters Loading commit data...
Geometry Loading commit data...
Gui Loading commit data...
Importers Loading commit data...
PathGenerators Loading commit data...
PathProcessors Loading commit data...
Physics Loading commit data...
Plugins Loading commit data...
Simulation Loading commit data...
Toolpath Loading commit data...
Utils Loading commit data...
__init__.py Loading commit data...