algorithmic modeling for Rhino

A minor update to the remeshing component (read about the earlier release here)

This adds the option to also scale the triangle size by distance from the boundaries:

download this new version here:


(replaces the previous version, no need to change any of the other files)

The 2 new inputs are BoundaryScale and BoundaryDistance

If BoundaryScale is set to 1 (the default) then it has no effect and everything else works as before.

If it is set to (for example) 0.2, then the mesh edges along the boundaries will have a target length of 0.2 multiplied by the Length input value.

The BoundaryDistance input controls the size of the transition zone from this reduced boundary edge length to the standard edge length. For example, in the image below, on the left the BoundaryDistance is 4.0, and on the right 10.0

and here's an example of a circle packing with boundary gradient (generated by using the CPMesh component from Kangaroo on the output of MeshMachine):

Views: 36066


You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by Bathsheba Grossman on January 1, 2018 at 4:15am

This has been a great tool, thanks for all you do.  And thanks-in-advance for anything you can say on this question: any chance of an interim MeshMachine update that works with current Rhino/Plankton? 

I can't keep old Plankton around anymore, other things need the new version, and in any case I can't find any combination of MM, Plankton, and current Rhino that now runs. 

I apologize if this is a sensitive question, or if MM is finished and I'm the last to know.  A more recent post in another thread gave me an impression that there was still a plan to integrate MM further into Kangaroo and/or Grasshopper.  Awesome if so, but right now I'd just like to mesh something....

Comment by Timothy Tai on March 4, 2017 at 4:22pm

Hi All,

Might there be an example of dynamic remshing based on an image (as a map)

For example, on a b/w image and the mesh density is based on the brightness?

Thanks a lot!

Comment by Daniel Piker on December 31, 2015 at 8:46am

@Benjamin - Nice! thanks for sharing

Comment by Ben on December 28, 2015 at 1:38pm

Hey Check out this project I worked on for school here

It was a quick semester project but the Meshmachine was defiantly a very helpful; intuitive and very fun. Kudos Daniel!

This was one of my first GH projects, any suggestions or pointers would be greatly appreciated.  

Comment by seghier khaled on August 30, 2015 at 4:24am

i see a command in kangaroo menu : sphere collide ; maybe it can do something :)

Comment by seghier khaled on August 30, 2015 at 3:55am

thanks Nik
the Algorithm very useful and i never heard about it ; i proposed this idea of using voronoi to create points than circles to a maxwell render developper to improve their scatter plugin and avoid intersection between scattered objects

can we use this algorithm with kangaroo to create realistic bubbles ? because in reality some every bubble pressed other bubbels or new small bubbles created between the biggest and that avoid pressing
and can we packed spheres inside 3d object ?

i will learn more how to use Hoopsnake

Comment by seghier khaled on August 30, 2015 at 2:59am

thank you Nik
i tried the script and it work fine i will try with better foam texture 
i installed Lloyd's algorithm with hoopsnake and download and example but i don't understand it 

MeshMachine more simple ; you made a nice example 

Comment by seghier khaled on August 30, 2015 at 2:32am

Many thanks Nik i will try them ; i used to lines to create bubbles but the circle and spheres need more relaxation like in reality
i also see an example how to fill space between big spheres by smallest spheres but i don't remember when
thanks again

Comment by seghier khaled on August 29, 2015 at 5:26pm

Thanks Nik
i see the intersection in circles and after baking 

i can't see the mesh but i see the circles animated when i activate timer

thanks for tip about tranpancy ; i want know it it's possible to use texture ( black and white ) to control the radius of spheres ? 

Comment by seghier khaled on August 29, 2015 at 4:57pm

Hello again

is it possible to use texture to control radius of spheres ?
and i see that many spheres intersected !





  • Add Photos
  • View All

© 2018   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service