algorithmic modeling for Rhino
I am trying to build a tessellation within the structure of a triangular Grid.
My difficulty lies in trying to connect certain segments of each Hexagon to its nearest neighbors. I have pictured what I want to do in yellow on the screenshot... not all connections are draw... just a handful to illustrate the idea.
The Proximity 2d component is great and it gives me the correct "neighboring" hex or "cell". It also gives me the vectors which I am thinking could be used to identify which segments of each hexagon should be used to find groups of 4 points.
I think the data management of the next step is where I am having difficulty.
Maybe it's obvious to some of you out there. Any help or suggestions are welcome.
Tags:
Joseph,
Thank you. That makes much more sense than my strategy of using proximity from the center of the TriGrid.
Thanks again.
Hyungsoo Kim,
Thank you for showing me a totally different way. I had never used the BrepTopology component or the "Connect Curves" component. I was also pleased to see that the BoundarySurfaces component doesn't seem to slow things down much at all.
Thank you too.
Wow. Yes, simple and brilliant. First time I've ever seen 'Connect Curves'.
No reason for the 'Flip' between 'Connect' and 'Boundary' though, eh? Only one polyline per branch at that point so 'Flip' does nothing.
Way cool! Thank you.
P.S. I see now that 'Connect' => 'Flip' => 'Boundary' came from Hyungsoo Kim? I only glanced at his code yesterday, deferring a thorough analysis due to its complexity. Always worthwhile to study his expert solutions.
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