Grasshopper

algorithmic modeling for Rhino

Hi folks, im trying to populate a geometry and contain ( use as boundary ) the voronoi in the offset of the same geometry. I get data conversion failed to convert curve to rectangle.

Thanks

Views: 1908

Attachments:

Replies to This Discussion

Sorry, my bad. I have updated the thread

The boundary for a voronoi diagram can only be a rectangle (technically the algorithm can handle any convex polyline, but since Rectangles are the only curve type in GH that are always convex it is limited to that).

You'll have to use Region components to clip your diagram with the boundary after calculating it.

Thanks David.

On a followop question, here im using populate3d since populate2d wont accept any other shape thats note a rectangle, is there any way arround that?

You can create a boundary surface from the curve and then use "Populate Geometry".

And since you can only use rectangular boundary for Voronoi, you can trim the curves after that, with any trimming/splitting/etc component. "Region Intersection" in this case:

Thanks Michael, this works nice also

Yes, using the offset to to use it as boundary dosent work as it expects a rectangle. 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service