Hi all,
I’m having trouble moving points away from the geometry. Currently I’m using SolidPointCollide in Kangaroo to help me solve this problem. However I’m still stuck and not sure if it’s the correct way of tackling this because although the points move out of the geometry, they are uneven and too messy when converting to nurb curve again.
I’m looking for any solution that could give smooth distribution of the points to construct the curve that will not hit the geometry.
I also think about using “PointsinBreps” but then I am not sure how to get the direction in which points is to be move forward not to hit the geometry and its neighbor.
Any suggestion is highly appreciated. Thank you so much!
Img.1. the points distribution before using kangaroo
Img.2. the points after usig some function from kangaroo
Img.3. the roungh script
Img.4. Rough sketch of what I would like to achieve.
moveptssmoothly.gh (25.9 KB)
n