Hi guys, every now and then I run into my own forgetfullness and write scripts with out toggeling the redraw off, and then I have to wait for Rhino to redraw every frame for every operation. Which can take a looong time. So what I usually do when I want responsive scripts (I hate staring at blank screens ) is that I throw a if time.time() - startTime > 0.5 then redraw and reset startTime.
But I would really like for Rhino to bake this into the default redraw operation, could that be possible?
(That way we don’t need to care so much about screen refresh speed (rendered mode with heavy projects would run as fast as small projects in wireframe) and IF we need the script to redraw for each and every operation we can choose to throw a redraw() in there manually.
Oh, and I also wish that there was a default top level ESC feature we could use, say Ctrl-ESC to terminate the script too. Maybe a bad idea, but for newcomers to the scripting world it would be nice to not having to be too careful with putting the check for esc in every loop.
Hope you find this interesting and consider it. Cheers.
(@wim @pascal)