Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4148

Redraw Freeze in Scripting

$
0
0

Bert Gay wrote:

I have some scripts where I'm moving objects iteratively in a loop and I want to see the movement by leaving redraw enabled. Problem is, the object will appear to move for a second or two, and then the redraws will stop until the object has reached its final position. It seems like Rhino is putting a limit on the number of redraws it allows you to do in the script. At first I thought that maybe the loop was exceeding the framerate rhino could achieve and I have tried using _testmaxspeed to get a rough idea of the framerate my machine is capable of, and then putting the script to sleep for an appropriate amount of time, but even large pauses of 0.1s dont seem to make a difference. I've tried loops both with and without explicit redraw() calls and nothing changes. Can anyone enlighten me as to what's going on?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4148

Trending Articles