There's a direct link to the script in his website, so i guess he
won't mind it to be distributed. Here's the original file:
http://grasshopper3d.googlegroups.com/web/gabes_voronoi_script.rvb

It works the following way:
For every point, create one box per every other point, where one of
the faces of the box is the bisecting plane between the current point
and the other point. Then boolean intersects all the boxes together
plus the bounding volume. It's actually very simple but i guess very
inefficient too.
Maybe he wanted it to be slow to see how the cells are generated since
he doesn't disable redraw colors every intermediate geometry that gets
deleted.

I've changed many things around, omitted many of the functions he uses
and done them directly since it's easier in vb.net using the point and
vector classes. I used a completely different method of creating the
gigantic boxes and getting the box size and some other stuff. The
intersecting algorithm is pretty much the same.

On May 7, 4:43 pm, Evert <evertama...@yahoo.com> wrote:
> Hi Visose,
>
> I tried to follow the link to the smedresmania website to see the
> rinoscript and It did not work.
>
> have you got the original rhinoscript by any chance to have a look at
> it?  of course, if copyrights allow me.
>
> Many thanks
>
> Evert
>
> On May 7, 2:34 pm, visose <vic...@gmail.com> wrote:
>
> > Yet another method for creating 3d voronoi 
> > cells:http://grasshopper3d.googlegroups.com/web/yetanothervoronoi3d.gh
>
> > This creates 3d voronoi cells from scratch directly in a vb.net
> > component. It's based on a rhinoscript that can be found 
> > here:http://www.smedresmania.com/. There is no need for additional software
> > or plugins, but it's slower than the qhull method and probably less
> > reliable. It's much faster than the rhinoscript, though.
> > Differences with the qhull implementation posted above (besides being
> > less efficient) is that it creates closed breps for every cell and
> > asks for a boundary brep where the boundary cells will be trimmed to.
>
> > I've been 'translating' a couple of rhinoscripts to vb.net components,
> > so if anyone has a script that wants to be translated (and i feel like
> > it), i can try to recreate it in vb.net. My programming skill is still
> > less than amateurish so use at your own risk (and don't try to learn
> > too much from it).
>
> > On May 2, 3:33 pm, Dimitrie <didimit...@gmail.com> wrote:
>
> > > visose,
> > > it's possible - qhull outputs also the solid facets - which with some
> > > extra work on in the parse function you should be able to get out the
> > > solid volumes.
> > > it's all in the qhull documentation pages (after the vertices output
> > > there's a list of all the solid facets and after that come each
> > > individual face - as you guessed i just output these) - right now i'm
> > > focusing on something else but when i have a chance i'll look into it.
> > > take care,
> > > d.

Reply via email to