algorithmic modeling for Rhino
I am working on a masterplan project and I have two files for the site:
1. 2D plan that is made up of closed curves-- each curve has a unique object name in Rhino based on its lot ID
2. 3D model with closed polysurfaces that have no object names
I now need a way to transfer the lot ID's of the 2D curves to the 3D polysurfaces. I've already gotten very close to a solution by using Curve CP to find the closest cuve to the center point of each polysurface. Unfortunately, I've now discovered that my lot curves aren't perfectly clean and this solution fails whenever one of the lot curves slightly overlaps into an adjacent lot because it then becomes the closest curve.
The simplest solution I can think of would be to offset all of the curves by a small margin inward so that there is no longer any overlap, but I would need to do this in a way that preserves the object name of the original curve, so that the offset can then pass the name on to the polysurface. I imagine this is possible, but I am relatively new to grasshopper and so I am hitting a wall here.
If anyone knows an existing offset component out there that can do this on a large set of curves, or if there is an even easier solution to my original problem, I would be very grateful-- thanks!
Tags:
Wow, not so complicated after all-- that InCurve is exactly what I needed. Thanks Nikos!
Glad it works,
good luck with your project!
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by