Rotate along Curve and Point Attractor

Hey guys,
How can I rotate the extruded rectangles along the curve, as in the first image? My second question would be how I can replace the Graph Mapper with Point Attractor? I don’t want the wooden panels to protrude over the windows and doors. That’s why I wanted to put Point Attractor at the windows, so that the wood is shorter there.
Wood.gh (38.3 KB)


Aspects of your code make no sense, including a huge duplicate block of code off to the right. :frowning:

missing


Wood_2024May6a.gh (15.6 KB)

1 Like

I agree with @Joseph_Oster, your GH is a bit messy. I would look for ways to make it simpler. I have changed your script to replace the graph mapper with point attractors, but the form isn’t as smooth as using a graph mapper, but you can play around with the points to get something smoother. I might tweak it later so its more fluid.



Wood_Noambdr.gh (44.5 KB)

1 Like