Grasshopper

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:

MeshMachine.gha

(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: 70238

Comment

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

Comment by Narizon on May 10, 2019 at 2:31pm

Thank´s a lor Bathsheba...it works...

Comment by philip pappas on November 2, 2018 at 4:02pm

thanks Bathsheba! i will try the static one to see if there is a difference!

Comment by Bathsheba Grossman on November 1, 2018 at 12:48pm

I don't know about meshmachine regular, my data point here is that mmstatic is currently working in Rhino 6 (Windows).  I downloaded it last night and saw it run.

IMO mmstatic is simply an improvement over the original: there's no reason to run meshmachine on a timer other than "it's cool to watch", and for me that wore off pretty hard after the first 100 tries.  And the mmstatic download in that thread is packaged with all the dependencies, that saves some hunting.

I certainly agree that Rhino's native mesher is weak.  If you're just looking for better meshes and don't need the fancy adaptive stuff, maybe try Gopher?  It's more actively supported and I've seen it work on a pretty good variety of cases.  (Its output meshes are sometimes kinda defective, but culling degenerate and duplicate faces generally fixes them.)

Comment by philip pappas on November 1, 2018 at 2:28am

no this is not working in rhino 6, i dont even have this component, meshmachine static, i only have mesh machine. Anymway my problem was that meshing from a brep isnt doing much good in terms of quality and performance and i was hoping mesh machine could fix that. at least producing polygons were needed which is something you cannot do otherwise as far as i know

Comment by Bathsheba Grossman on November 1, 2018 at 2:20am

This seems to be the last heard of MeshMachine:

https://www.grasshopper3d.com/forum/topics/re-meshing-mesh-achievin...

I do see the "mmstatic" version in this thread working in current Rhino 6.  It comes packaged with old Kangaroo, from which we may infer that it still hasn't been updated to work with current Kangaroo.   An example: mmstatic%20example.gh

It was a brilliant idea, but maybe be careful about depending very much on it, as it was never really finished and it's not clear that it will ever be updated.

Comment by philip pappas on October 31, 2018 at 6:30pm

hello,

does this component work in grasshopper 1.0 rhino6? because i does load and it does output a mesh but i cannot get it to work like the example you have here with the polygon reduction following the curvature. am i doing something wrong? i didnt work in 0.97 either. i change the settings but the effect is always a homogenous poylgon reduction. the gh is unblocked also plankton.dll etc.

Comment by Galiaf Velikiy on October 29, 2018 at 7:34am
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

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service