"A hybrid approach could be to run your simulation asynchronously in another thread and have it constantly update a field in the scripting component. Parallel to this, expire the scripting component in regular intervals or whenever it can and have it…"
"Can you post your code? async and await do work in scripting components. You can't use await in the RunScript method since the signature is hardcoded and you need to add the async keyword, but you can use them in your methods…"
Join us for the AA Visiting School Madrid 2016. Applications are closing very soon. Info:Trans-computational membranes 4.0 will continue exploring computational design methods through the use of digital-analogue experimentation. With the focus on flexible materials, we have developed large scale pavilions and installations during the last three years of research, seamlessly integrating physical simulations into the design process. This has facilitated the development of Open Source generative…See More
"The attached script should work better and faster than the one posted in those threads.
The top viewport is set to IRay for Rhino, which doesn't support vertex colors. Uses the mapped bitmap that the script generates."