MoI discussion forum
MoI discussion forum

Full Version: Voronoi Script or plugin

Show messages:  1-12  13-32  33-52  53-72  73-92  93-112  113-132  …  193-198

From: Michael Gibson
4 Apr 2016   [#53] In reply to [#51]
Hi GonzoRus, your outer curve there has difficulty with fillet because in one spot it contains a tiny little line, here:





Curve filleting on this shape will only work with a radius smaller than will fit on that little line. I found the little line by using Edit > Separate on your curve, then going around and clicking to select each large visible piece, then delete those or invert the selection.

If you want to fillet at a large radius you will need to remove little tiny pieces like this from your curve. I've attached an updated version of your file where I removed that tiny segment and moved the endpoints of the neighboring ones together to reclose it, and this one will now fillet up to a radius of 4.8 or so, that's when it runs into the next smallest piece. If you wanted to fillet at a radius larger than that you might try doing it in stages and selecting just some of the sharp corners to fillet at any one time until you find the areas where you would have to rework the small segments in order for a larger radius to fit.

- Michael

Attachments:
Voronoi_DelCorners_Fillet2.3dm

Image Attachments:
VoronoiFillet1.jpg  VoronoiFillet2.jpg 


From: glmr
8 Jul 2016   [#54]
what is polygons and curves in output menu of this script? are they not active or I'm doing something wrong?
From: Michael Gibson
8 Jul 2016   [#55] In reply to [#54]
Hi glmr,

re:
> what is polygons and curves in output menu of this script? are they not active
> or I'm doing something wrong?

Those items seem to be intentionally declared as disabled in the .htm file so I would guess that Max was thinking of having those options but didn't implement them as of yet.

- Michael
From: Lollo
28 Aug 2016   [#56] In reply to [#19]

Hi Oliver,
bin ebenfalls Deutsche und habe auch nicht gleich begriffen wie man die Plugins/ Scripte, so ohne weiteres in MoI benutzen kann.
Sehe gerade erst Deine Frage, weil auch ich Heute nach dem Voronoi Plugin gesucht habe. Also wie Brian es beschreibt, lade Dir das zip herunter schieb es irgendwo hin (z.B auf den Desctop) und entpacke es dort.
Du bekommst 2 Dateien, eine .js (javascript) und eine .html Datei, welche Du hierher kopieren musst:
C:/Programme (x86)/ MoI 3.0/commands.
Nur Mut, es funktioniert.
Ich habe mir das Voronoi Script/Plugin auch herunter geladen und darauf verzichtet, dafür einen shortcut einzurichten.
Und so funktioniert es auch ohne shortcut:
öffne MoI, zeichne etwas, zum Beispiel ein Rechteck (schau Dir das Video von Chipp Walters:Voronoi Chair) an, eine gute Hilfe,
gib in MoI, das Feld ganz unten, wo die Maße erscheinen (also zwischen right und Grid Snap folgenden Befehl ein:
_Voronoi
(Groß- oder Kleinschreibung egal), wichtig ist, dass Du es genau so eingibst wie in (C:/Programme (x86)/ MoI 3.0/commands)
wie das Plugin/ Script vor .js oder .html heißt, in diesem Falle mit dem Unterstrich vor
_voronoi.

Viel Spaß mit MoI wünscht Dir,
Lollo

 


From: Max Smirnov (SMIRNOV)
28 Feb 2018   [#57]
Today I rewrote the script. I switched from Ivan Kuckir's algorithm to Voronoi Javascript library written by Raymond Hill (https://github.com/gorhill/Javascript-Voronoi)
Now it works much better.
http://moi.maxsm.net/item/48
From: glmr
28 Feb 2018   [#58] In reply to [#57]
NICE!
thanks a lot!
From: mkdm
28 Feb 2018   [#59] In reply to [#57]
Thanks a lot Max.

I've made a little test.

Finally now when I chose "Polygon" mode all the polygons generated are "single polygon" and not line segments.

Thank you very much!
From: Frenchy Pilou (PILOU)
28 Feb 2018   [#60]
You are a perfectionist! :)
From: blindfoldjump
28 Feb 2018   [#61]
This is great fun to play around with, thanks alot Max for taking the time!

I was wondering though, is there a way to remove point during while creating the voronoi?

Cheers
Nick
From: Max Smirnov (SMIRNOV)
28 Feb 2018   [#62]
Voronoi.v.0.9.2018.03.01 ;)
http://moi.maxsm.net/item/48

I know about an overlapping bug. I'll fix it tomorrow.
From: glmr
1 Mar 2018   [#63] In reply to [#62]
will this fix also keep a similar distance between curves?
From: mkdm
1 Mar 2018   [#64] In reply to [#63]
:)
...you want the "moon" :)
From: glmr
1 Mar 2018   [#65] In reply to [#64]
less than one half =)
From: amur (STEFAN)
1 Mar 2018   [#66] In reply to [#63]
> will this fix also keep a similar distance between curves?

The usual trick is to have a distance between the edges was that one draws
a control point curve around the corners of each cells and offset then a little
bit inwards.

That's how i have done it in the past with my Voronoi Eggs.

https://www.behance.net/gallery/34247989/Voronoi-Egg-CVT

Regards
Stefan
From: Max Smirnov (SMIRNOV)
1 Mar 2018   [#67] In reply to [#63]
Hi glmr,
>>will this fix also keep a similar distance between curves?
yes.
between polygons
From: glmr
1 Mar 2018   [#68] In reply to [#66]
did you make these eggs in Moi3d??? I thought it is possible only with Paneling tools from Rhino
From: glmr
1 Mar 2018   [#69] In reply to [#67]
nice! looking forward for your update
From: amur (STEFAN)
1 Mar 2018   [#70] In reply to [#68]
> did you make these eggs in Moi3d??? I thought it is possible only with Paneling tools from Rhino

i used various tools to create the voronoi structure and finally used MoI to model the eggs, so no paneling
with Rhino etc.

Regards
Stefan
From: Max Smirnov (SMIRNOV)
3 Mar 2018   [#71]
Voronoi.v.0.98
http://moi.maxsm.net/item/48
From: Frenchy Pilou (PILOU)
3 Mar 2018   [#72] In reply to [#71]
French version! ;)
http://moiscript.weebly.com/scripts-de-max-smirnov.html

Show messages:  1-12  13-32  33-52  53-72  73-92  93-112  113-132  …  193-198