Better off using a mesh if you have a closed shape that you don’t want a seam. R6 has ngon meshes. You can use a plugin like ngon: https://www.food4rhino.com/app/ngon
Thanks for the quick reply Michael!
So I’ve got ngon installed and played around with the example files. Is there something wrong with my mesh? I don’t seem to be able to get any response from the definition. I’ve managed to connect the planarize definition to the bunny and it worked but when I connect it to my mesh, it doesn’t work. Is there something that I’m missing here? There is a red link that I can’t figure what’s wrong.
Looks like your initial mesh has no ngon mesh, hence the second component can’t extract polylines from it.
Thanks for the reply, Hyungsoo. Just bare with me here as I’m still quite new to gh. I have my hands on the AAD book though.
I did an addngonstomesh command to the mesh and this is what I’ve got. Seems like I need to somehow use that ngon mesh and map hexagons onto it first before planarizing it.
In your case, removing lunchbox hexagon cell seams and creating ngon cells out of them is not that difficult but that doesn’t mean the final hexagons are planar.
Planarization of hexagon cells on your shape is totally different topic which is difficult to achieve. You might need to use Kangroo2 for it.
ngon hex planarization_re.gh (68.1 KB)
You can try this K2 method linked bellow if you are willing to tolerate deformations of the Hexagon cells.
Yes, after planarization on a network surface, the shape will lose a bit of definition and will have a seam line (as per what I have on the original post). Will your definition result in planarized facets without the seamline after adding K2 and planarizing it?
I’ve tried linking up what you have there to the K2 planarization componets but I’m not sure how to link them up properly as you can see in the file.
ngon hex planarization_re2.gh (79.0 KB)
What do you mean by that? When you use Lunchbox hexagon cells, it won’t produce planar cells. Seems like you’ve misunderstood something…
Hex Planarization 2.gh (24.8 KB)
This is what I originally have. The K2 component relaxes the original form and then planarizes it.
As I already said, without any deformations of hexagons, you won’t be able to achieve planarization on your shape…
Whether you like it or not… This is what I’ve got so far…
I see that what I’ve got now is a seamless mesh. I then extract ngons from that mesh and tried to patch it without planarizing it first. I’m such a beginner that I don’t know how to patch those ngons in grasshopper… I know I can bake that second last component and just manually patch those ngons one by one in rhino, but there’s got to be a way to patch them in grasshopper…
As I already mentioned, It’s not possible with Boundary Surfaces, Maybe Patch would works(Don’t forget to “Graft” your input curves)
That did the trick.
Thought everything is perfect but realized that the resulting patched surfaces cannot be joined. I’ll post this as a new post as it seems to be a new topic.
[Solved, found answer here, thanks:
Eliminating a hexgrid tessellation seam on a cone (or cylinder)? - #5 by HS_Kim]
Thanks for the method to remove seams on this case. Any idea on how to do so for this other attached case?
Since flattening and then searching for and culling duplicate points don’t work as that will just create a large bounding polyline around the seam due to the nature of the tiling.
lunchBoxHexSeam_v1.gh (17.6 KB)
Have a look at the attachment.
lunchBoxHexSeam_rev1.gh (19.5 KB)
I hope you don’t mind me commenting.
I have seen some of your comments on an issue and you have been incredibly helpful and knowledgeable.
I am new to grasshopper and using Lunchbox hexagonal cells on a 3D brep but it is creating two seam lines, I have added your code into the file and it has taken one seam away but not the other.
Would you be willing to take a look for me at all please?
Thank you in advance!!
Try to use ngon plugin and MultiPipe.
unnamed2_reV1.gh (64.3 KB)
Thank you for your speedy response! That looks amazing! I did have a look at NGon, but I have Rhino 5 so it wont work for me unfortunately. I really appreciate your help though