algorithmic modeling for Rhino
Hey,
i'm trying to get a voronoi structure on an asymmetrical 4-Pt-Srf created in GH from a Rhino Curve. Everything works fine (even the voronoi) untill I get to the RInt part, which destroys the voronoi (adds cells without points, goes past the bounary etc.).
Been on it for hours and can't figure it out, does anyone know whats going wrong?
Thank you,
Randy R
Tags:
Yeah something fishy is going on with the Region Intersection component.
I'm trying to find the bug now, in the meantime I've simplified your file a bit.
No wait! Region Intersection operates on two collections of curves. If all the curves in one collection have no shared overlaps, then obviously the end result will also be empty.
First of all, thank you very much for the quick replies!
I tried a lot of options already to, thats why at the end the definition was so unnecessarily complex, cause I thought the voronoi or RInt would work better in smaller parts - but as soon as i set the number of points higher (even with your definition) cells appear that are not like voronoi cells
Is that still a problem with the logic or the program?
I think that's a problem with your tolerance settings. The voronoi component assumes that edges shorter than the Rhino document tolerance were never meant to be edges, so it collapses them. Furthermore the RInt component also uses the absolute tolerance settings to determine whether some resulting shape is 'too small to matter'. If you increase your tolerances (i.e. use smaller numbers) then press F5 to force GH to recompute I think it will work better.
A good rule of thumb is that your absolute tolerance setting should be roughly ten times smaller than the smallest detail in your geometry.
Great, works perfectly, thank you very much!
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by