algorithmic modeling for Rhino
Hu,
first I thought that should be quite easy, maybe it is, but I didn't get.
As you can see in the image, there a bunch of cells and a 'shortestWalk' path in between.
I want to push the closest points of each cell in the direction of the cell center.
I tried to work with the closestpoint- component, but I get in trouble with the amount of closest point, sometimes there a four per cell, sometimes just three, so my list get disordered.
Hope you can help me :), I think there must be a quite simple solution...
Tags:
It should be easy to measure the distance from your cell vertices to your shortestwalk path curve using a Curve CP component...then you just set a distance threshold...any point that is less than x away from the path gets drawn to its cell center. Just make sure that your cell vertices and cell centers share the same data structure.
yeah, that works brilliant!
Thank you so much.
Hi all,
hi David.
The solution you gave me works fine with one polyline (created from shortest walk). But if I use a bunch of polylines it doesn't :/ Hope you can help me again :)
Thank you.
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