Marching cubes for grasshopper?

I’m trying to remesh a brep in grasshopper using marching cubes. Is there a good marching cubes component available in grasshopper? I couldn’t find anything.

1 Like

You can give these threads a look:

Is there a reason you could not use Convex hull, Delauney under mesh Triangulation?

There is another interesting blog about it here: “which uses the marching-cubes algorithm and which is now also available in Grasshopper thanks to Tudor Cosmat.” - http://arquitecturadevoltereta.wordpress.com/grasshopper/ I cannot find that, can anyone else?

http://www.grasshopper3d.com/forum/topics/marching-cubes-in-grasshopper?commentId=2985220%3AComment%3A586710

2 Likes

Does Mesh From points fro UTo do what you want: http://www.food4rhino.com/project/meshedittools

1 Like

Thanks Scott. I was trying to go from a brep to an ugly mesh. The Delaunay triangulation goes from a point cloud to a mesh. They look useful, but I would probably need to randomly sample the brep into a point cloud first.

I went ahead and coded up marching cubes in c#, as a grasshopper definition. It’s not the fastest in the world, but did what I needed to… :smile: marching_cubes.gh(12.6 KB)

1 Like