algorithmic modeling for Rhino
Hi, I'm looking to manipulate curves, using other curves as attrators.
Seems fairly simple but I've had trouble finding any tutorials for it, ive attached a screenshot below, showing red and black lines. I want to bend the black ones to follow the path of the red lines that are close to it.
Would be really grateful for any tips!
Thanks,
Holly
Tags:
One way would be to start to break it down into points - divide the black lines, use the curve closest point component to get the nearest point on a red line from each division, move each point on a vector from your division point towards the closest point, and then interpolate. Your issue will come if there are many red lines, as you'll first need to identify the closest red line and then the closest point on it.
The actual "bending" itself isn't super complicated once you've got those points, though. I've attached an example.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by