algorithmic modeling for Rhino
All,
I'm trying to get central lines between openings in a screen by using the voronoi component.
It seems to work relatively ok, although there are two errors occuring that i'm aware of that make my result go wrong.
1. The voronoi component creates additional lines see image:
2. The voronoi component seems to have a boundary too close the points and therefore not all lines are intersecting. see image 2
GH file attached. to check.
Hope the above makes sense.
Has someone else had similar problems, or if you know of a solution / work around that would be great.
Thanks a lot,
Tijl
Tags:
Hi Tijl,
the voronoi diagram is definitely wrong. In this particular case it's because you have so many co-circular points. They all generate cells that ought to terminate exactly in the centre of each circle, but due to the inaccurate nature of digital numbers, the algorithm gets confused and starts skipping some intersections. This is something I'll have to look into, but it doesn't look like a quick fix.
There are two ways around this bug:
I attached files for both ways.
Thanks David, that seems to solve it for now!
Tijl
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