algorithmic modeling for Rhino
For many plugins, like kangeroo or quelea, we can apply a timer to the engine. I want to process datas like those plugins, but in python component.
What I want to do is to store the data into RAM or something else which has fast speed to save & load. I know I can use a .txt file to do this but I am not satisfied with the efficiency.
At the beginning of the scipts, I will check if there's data available in the RAM. If there is data, then use that data, or I will initialize the data. After a series of processing, I will save the processed data into RAM for next interation.
In this way, I can observe what is going on during the process instead of obtaining the final result directly without timer.
Or, if there are some methods to put timer into the script directly, it will be fine. The 'sleep' function can be very slow and I don't want to use that.
Any ideas? Thank you!
Tags:
Hello,
This discussion covers a lot of your questions. Using timers and python's sticky.
http://www.grasshopper3d.com/forum/topics/c-timer-to-python-timer
Ta,
M.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by