thanks for uploading this, great workaround!
I have one question: I setup my image with single colours via gradient and everything renders fine.
But now I would like to replace the single colours for textures (carpet tiles)
"I see, I just managed to make a static field change in a scripting component and watch it update in a copy of it.
I can understand why I've never seen this happen before. If the field is reassigned every time a script instance is run you…"
"No practical use of mouse input within Grasshopper? How do you reference geometry? :P
I would say Grasshopper not being more integrated with the viewport (and responding to things like selecting objects, moving the camera, etc.) is a feature…"
"Isn't the autogenerated Script_Instance class a singleton? Every time you edit the code it creates a new different type with a single instance.
Still I agree, the reason for using static fields was for laziness (not as in delaying…"
"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…"