Curtains help kangaroo

Hi there!

So I’ve been trying to use this really cool script from another thread for making curtain like meshes. The only problem is that the script dealt with a pretty small/simple curtain. I’m trying to create more detailed meshes to get nuanced folds but it runs incredibly slow which makes my process of iteration quite lengthy… is this problem unavoidable with more detailed meshes? or is there possibly something that I could try change in the script?

Any help would be much appreciated, Thanks!



Curtain trials.gh (51.0 KB)

Link to original thread: https://www.grasshopper3d.com/forum/topics/curtain-with-kangaroo?groupUrl=kangaroo&commentId=2985220%3AComment%3A1889391&groupId=2985220%3AGroup%3A120977