a vertical row of modules as I highlighted here, they don’t have to be planar with each other, as it stacks I would like it to rotate it so that it stays as close as possible to the curved surface:
Here’s one approach to it. My attached definition follows the steps below
Combined points and culled duplicate points
Organized points into branches corresponding to each individual surface. Achieved this using ‘Relative Item’
Found the average plane between the point sets using ‘Plane Fit’
Projected points to their corresponding plane
Created a closed polyline then a surface from that set
There are a few different ways to create planar surfaces from the point sets depending on how you want the surfaces to connect to each other. For example, setting the 4th point as a function of the other three… dividetoplanar.gh (20.3 KB)