MoI discussion forum
MoI discussion forum

Full Version: Voronoi generator

Show messages:  1-20  21-30

From: Roni
12 Aug 2020   [#1]
Hi Michael and MoI forum,
I've seen this video a few years ago, this fellow has an algorithm to make voronoi wheels.
https://youtu.be/gxkYTWuf0t8



Is there anything similar plug-in for MoI3D ? I would only need the 2D voronoi to be adjustable and easily modifiable . I would pay to use this plugin.
From: bemfarmer
12 Aug 2020   [#2] In reply to [#1]
http://moi.maxsm.net/

It would be interesting to apply Max's script to points in various spiral scripts.

Wondering what conformal 2d shrinking hex point patterns are available?

- Brian

I would like to try a voronoi of center points of a Doyle spiral.
From: Michael Gibson
12 Aug 2020   [#3] In reply to [#1]
Hi Roni, the algorithm is implemented there using the "Grasshopper" node system in Rhino.

There is a similar node system for MoI called "Elephant", there are some details on it at http://moi3d.com/wiki/nodeeditor .

But that is a separate thing than the actual implementation of the Voronoi generator itself though, that looks like a quite extensive node structure. I am not aware of an existing implementation of that in the MoI node editor.

- Michael
From: wayne hill (WAYNEHILL5202)
12 Aug 2020   [#4] In reply to [#3]
Hi Roni,

Are you familiar with the MoI Node Editor?

I converted Max's Voronoi script to the Node Editor. From there just create the point locations and it is close to what you are looking for.

http://moi3d.com/forum/index.php?webtag=MOI&msg=9581.111

Wayne
From: wayne hill (WAYNEHILL5202)
12 Aug 2020   [#5]
Generate the points. Select the points. Start Max's voronoi script and it will use the selected points.

Node Editor not required.

Wayne

Message 9916.6 was deleted


From: Roni
13 Aug 2020   [#7]
Thanks for the ideas, I'm going to look into this as I get some time to focus on nodes and node editing.
From: bemfarmer
13 Aug 2020   [#8] In reply to [#2]
The voronoi node does not like the points from the Doyle spiral node.
Will investigate...

- Brian
From: Roni
18 Aug 2020   [#9] In reply to [#6]
Any news ? I looked into node editing and it looks like this takes plenty of time to learn.
I design wheel spokes for my (scooter) bikes and I have plenty of physical labor to do besides the design process.
Any help would be appreciated :)

Image Attachments:
Screenshot (106).jpg  Screenshot (9dsadasdas3).jpg 


From: bemfarmer
18 Aug 2020   [#10] In reply to [#9]
A quick DoyleSpiral node, with centers feeding Voronoi node.
Patterns vary with changing p and q and minMode and maxMode.
There would be a center zone to delete, and lines to delete outside of an outer circumference.
I'm out of posting memory, or would show a png :-(

- Brian


Geometrical study of phyllotactic patterns by Bernoulli
spiral lattices:
https://onlinelibrary.wiley.com/doi/pdf/10.1111/dgd.12378
This paper has voronoi spiral tilings, etc.

https://arxiv.org/abs/2006.16757

http://archive.bridgesmathart.org/2014/bridges2014-397.pdf

Attachments:
DoyleCellVoronoi1.nod


From: Frenchy Pilou (PILOU)
19 Aug 2020   [#11]
Not an electric bicycle ?
From: Roni
19 Aug 2020   [#12] In reply to [#11]
Hi Frenchy Pilou. I am making these scooter bikes with and without electric motors.
I am really just learning how to convert bikes to electric. There is mid motor and hub motor solution, I made one with mid motor and I was not happy with the result.
Now I started a hub motor version, but my problem with wheels that have hub motors that those are tremendously ugly and has just boring good old spokes. So I came up with the idea of making my own custom wheels with custom laser cut or CNC'd wheel spokes. The one you see on the photos is the learner prototype, it's a MoI design that got laser cut from 4mm AlMg sheet then hand bent and assembled with a regular fixie bike wheel hub and rim. I am not sure what's the ToS about outside links, but I will post about it at ... you can google NIORbikes :)

I am getting some good results with Radial Pattern script, using it on a point and then Voronoi pattern, fat lines, extrude . (I only need the 2d lines for laser cutting though)

Image Attachments:
Screenshot (160).png 


From: Roni
19 Aug 2020   [#13] In reply to [#10]
Thanks Brian, I still haven't figured out how to use nodeediting in MoI3d. I can add and use scripts , but I just need a day or two to sit down and keep doing it until I figure it out. I keep this thread open to come back to it .
From: bemfarmer
19 Aug 2020   [#14] In reply to [#13]
Pilou from 2015:

http://moi3d.com/forum/index.php?webtag=MOI&msg=7356.13

Similar fibonacci voronoi from fibonacciSeed script points renamed fiboPts, and run through a simple node.

- Brian


Attachments:
FibonacciVoronoi.nod

Image Attachments:
FibonacciVoronoi2.png 


From: Frenchy Pilou (PILOU)
19 Aug 2020   [#15] In reply to [#12]
Thx for the Infos!
From: Roni
21 Aug 2020   [#16] In reply to [#15]
I've got to this node editing today. Very interesting stuff. Now I want to figure out how to: Create a set of radial or random points that can be adjusted (like as with _radialpattern.js) then turn it to voronoi, then fat lines then round corners. Maybe it would be too much and it should stop at voronoi?
From: chippwalters
21 Aug 2020   [#17]
Old, but maybe still viable:


From: bemfarmer
21 Aug 2020   [#18] In reply to [#16]
So last month Tudor and Larry did some "get the centers of circles (or arcs)" work:

https://moi3d.com/forum/index.php?webtag=MOI&msg=9875.4
https://moi3d.com/forum/index.php?webtag=MOI&msg=9885.1

_radialPattern script is lacking circle centers.

Larry's CenterPoints script has checkbox option to create the centerpoints of the circles (arcs), say of the _radialPattern script.
Then select the points, and run voronoi script.



So which to pursue? circleCenter script, or circleCenter node and/or radialPattern node, with center output?

- Brian

Is there an old "get circle centers script" somewhere?

ps, A Doyle spiral with p=1, and q = ~24+, with voronoi applied to centerpoints, makes hexes which are only a little irregular.
From: Larry Fahnoe (FAHNOE)
22 Aug 2020   [#19] In reply to [#18]
Neat to see that the CenterPoints script might be helpful in an entirely unrelated context! The problem I was intending to solve with it is now being better dealt with by a more general Coordinates script that I'm almost done with, so I'll be happy to simplify the CenterPoints script to make it a more general tool for creating the center points and make the export of the coordinates optional. I will also remove the adjustment of the origin and axes as that isn't necessary in this context. When finished, I'll post it here.

--Larry
From: bemfarmer
22 Aug 2020   [#20] In reply to [#19]
Hi Larry,
Your modified script will be much appreciated. Thank you

- Brian

Show messages:  1-20  21-30