algorithmic modeling for Rhino
It's a different topology (connectivity), so the intermediate forms won't make a closed pattern. (see attached). Though you could fix that by defining two deformations:
1) 0.0 -> 0.5 Move the columns up and down without deforming the square cells
2) 0.5 -> 1.0 Deform the vertices of the rectangles to match the hexagons.
At the moment I do both at the same time, which results in gaps.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Here's another formula that separates the two motions.
(got it right the first time, wooo!)
Though I should mention this second approach is based on the assumption the grid is aligned exactly the way it is now, whereas the first formula doesn't care about orientation.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Thanks a lot David, really cool!
Trying to think how I could adapt the definition but I guess I should have started with a more basic question:
Would there be a way to get an organized rectangular or hexagonal grid with cells as output from points imported from Rhino?
In the definition you have sent, the hexagons do not touch the original grid, I was hoping the hexagonal grid could still be "constrained" to these lines as they are important construction lines. Marten's first technique would have been good for that as it shifts points on a line...
Thanks again,
Amazing help so late at night!
Arthur
It doesn't matter where the hexagons are located, or if they are indeed exact hexagons. You can place them where ever you want.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
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