Grasshopper

algorithmic modeling for Rhino

Novice- having trouble making Delaunay from PolyCenter results

Hi.  I'm trying to make Voronoi tiles that are held together by a Delaunay framework of struts, connecting them together with posts.

This is what I am aiming for:

I have the tiles done.  I wanted to attach the posts to the center of the tiles, and used 'Polygon Center.'  But I can't use the polygon center output to make a Delaunay mesh.  I tried sending the output through a 'point' component but that didn't work (to "fake" the images above, I exported the points and then imported them again as 'set many points' and that worked fine).

So, I'm really misunderstanding something here.

Also, I want all of the tiles, posts, and struts to be connected as one object which is something that I've always been sketchy on...the 'intersect' and 'difference' components work as I expect them to, but 'union' doesn't seem to work- is there a better way to do this?

Actually, if I can mention one more thing- the struts that are on the very edges, essentially making a square- is there an easy way to get rid of those?  Not a big deal, just mentioning it in case it's trivial.

Views: 511

Attachments:

Replies to This Discussion

You need to flatten the 'P' input of 'Delaunay Edges (Con)' (and/or 'Delaunay Mesh') and the 'B' input of 'SUnion'.  Unfortunately, 'SUnion' is notorious for failing to join "complex" solids with curved or co-planar surfaces and it fails here too, no matter what I tried.  I made a few changes...

Attachments:

Thank you so much for the help!

For whatever it's worth, each tile and the vertical pipe on it WILL join with 'SUnion' to form 15 'Closed Breps' (solids).  And the horizontal pipes will join with 'SUnion' to form a single 'Closed Brep', provided the 'E (Caps)' input is set to 1 (Flat), not 2 (Round):

Attachments:

Oh hey, that's worth a lot!  Thanks so much for your help!   Seems like maybe extending the posts a bit further might be worthwhile.

Seems like maybe extending the posts a bit further might be worthwhile.

No, not really.  Remember, they already join correctly with the tiles so there is no need to bury them deeper.  At the tops, they stop exactly at the same height as the piped curves, which is half way through the pipes; any more or less than that will cause bumps or gaps.

You might want to use rounded ends on the pipes anyway since it looks smoother and you won't know they aren't joined from a rendering.  I don't know what will happen if you try to 3D print them though?

You might want to use rounded ends on the pipes anyway since it looks smoother and you won't know they aren't joined from a rendering. I don't know what will happen if you try to 3D print them though?

Or make only the vertical posts have rounded ends...

Yeah, good idea.  I'll fiddle with it

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service