MoI discussion forum
MoI discussion forum

Full Version: Voronoi Script or plugin

Show messages:  1-20  21-40  41-60  61-80  81-100  101-120  …  181-198

From: Karsten (KMRQUS)
11 Feb 2016   [#41] In reply to [#40]
p.s.: with a second tappered stage:-)



From: Karsten (KMRQUS)
11 Feb 2016   [#42] In reply to [#41]
and a quick rendering with other parameters tap-angle/hight:-)


Image Attachments:
vororend.jpg 


From: Karsten (KMRQUS)
16 Feb 2016   [#43]
And another try:-)
Voronoi -> Split base plane -> select naked edges -> copy - paste -join - delCorners - explodemove (thanks Pilou:-))- extrude tapered with negative angle - select solids - union - substract from a cube | 5min fun!!! Then try to blend/fillet erverthing -> a nightmare - not only in Moi3D;-)





Have a nice day!
Karsten

Image Attachments:
voro.png 


From: TpwUK
16 Feb 2016   [#44] In reply to [#43]
I'd say that's a cool result :)

Martin
(TpwUK)
From: Frenchy Pilou (PILOU)
16 Feb 2016   [#45]
Nice try!

Maybe there is also something with Pile of Sand theory!

Don't know if a such program exist and if there an output volume mesh?

here in 2 D ;)

From: Michael Gibson
16 Feb 2016   [#46] In reply to [#43]
Hi Karsten, that has turned out well! But yes I would expect it to be very difficult to fillet something like that.

- Michael
From: Frenchy Pilou (PILOU)
18 Feb 2016   [#47]
Even you don't buy! ;)
All the site is marvelous!

http://n-e-r-v-o-u-s.com/radiolaria/

Build one line!



growing a hyphae pendant lamp from Nervous System on Vimeo.
From: GonzoRus
2 Apr 2016   [#48] In reply to [#47]
Hello everybody.

With the command "fillet" possibly rounded corners after "Voronoi - FatLines"?

I have error "Calculation Failed"

Command "DelCorners" rounds the corners, BUT! configure rounding impossible.





Image Attachments:
01_Voronoi - FatLines-Fillet.png  02_Voronoi - FatLines-DelCorners.png 


From: Karsten (KMRQUS)
2 Apr 2016   [#49] In reply to [#48]
Hello GonzoRus,

in the first picture upper right, there is a line that seem shorter than 5mm - typically that makes an fillet impossible. The fillet operation has to left a segment of the input lines - that may cause the problem.

Have a nice day
Karsten
From: Michael Gibson
2 Apr 2016   [#50] In reply to [#48]
Hi GonzoRus, re: filleting failing - like Karsten mentions above it's probably because of the large fillet radius that you were trying to use there. In many areas it looks like you don't have enough space for a radius=5 arc to fit. The fillet will fail if you have that situation.

You would need to try a lower radius value for Fillet to have a chance there.

If you need more help or information about the areas where radius=5 does not fit, please post the 3DM model file with your curves in it so others can take a look at your actual model instead of only a screenshot.

Try using much smaller radius values like 0.1 , 0.2, 0.5, or 1.0 to see if those succeed ok or not, that's what I would be trying if you had posted the 3DM file. Or for a larger radius you might be able to make it work if you only select areas where there is space rather than trying to do the whole thing.

- Michael
From: GonzoRus
4 Apr 2016   [#51] In reply to [#50]
How to round corners quickly and easily? And with the ability to influence the "rounding diameter" parameter?

Rounding means "DelCorners" I understand how, but "DelCorners" does not support parameterization.




Attachments:
Voronoi_DelCorners_Fillet.3dm

Image Attachments:
Voronoi_DelCorners_Fillet.png 


From: Frenchy Pilou (PILOU)
4 Apr 2016   [#52]
All your segments have aligned Control Points!
Kill them and all will works fine! ;)


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! :)

Show messages:  1-20  21-40  41-60  61-80  81-100  101-120  …  181-198