I generated a list of points on curve and an array of curves, Now I would like to move each point independently for galapagos optamization, I am trying to generate an optimized facade for minimizing solar radiation. could someone please help with how I can move each point independently? I have attached a screenshot for better understanding.
Thanks!
Hi @Ayush_Garg,
Please attach your .GH script with internalized geometry if applicable.
But looking at your script… currently you move all points by a fixed value of 1500 units on the positive Z axis.
Instead of 1500 you should replace the input to Unit Z with the output of the Random component OR a DataTree matching the structure of your Points DataTree. This second DataTree would be the values of your points generated from Random or Galapagos or whatever other method of control you intend to use. You can have those be a few values that get repeated across the data tree or a unique value for every single point… Lots of ways to skin the
If you go the random route you can specify values in the random component and set a range aka domain and such.
The count of random numbers should be your list length from your DataTree.
Hope that helps, if you’d like more help please upload the .GH, and for good measure, upload the .GH even if you don’t need more help
Cheers!