I want to create an object with a sponge/bubble-like porous structure on the outside. It should be a solid.
What could be an elegant solution?
I’m a newbie to Grasshopper. What I tried so far:
Created a sphere and linked it into Grasshopper: Brep
Created random points in the bounding box of the sphere: Pop3D
From the random points, created a 3D Voronoi diagram: Voronoi³
What happens here is that around each point, a cell is constructed. The surfaces of neighboring cells coincide.
Intersected the sphere with the Voronoi diagram: SInt
The result still is a sphere. Only it is assembled of irregular cells, and there is no structure on the outside. Steps that would make it work:
After creating the Voronoi diagram, give a wall thickness to the cells.
Intersect the walled Voronoi diagram with the sphere.
I don’t know how to do that with Grasshopper, and I don’t know if it would be a smart solution. Because: There would be unnecessary complexity on the inside, the walled cells that are invisible.
Ok, I got it.
Switch between the “constant radius wholes” and “tapered holes”.
Increase the “holes number” for better effect. moonlike_shape2.gh (19.1 KB)
@djordje thanks - it’s great to see a different approach! However, it is not yet quite what I’m looking for.
What I tried in the meantime: Applying Facet Dome on a set of points on the surface. This looks like a 2D Voronoi mapped to the surface. I then played with Extrude Point, but got no good result.
Update: I tried the Voronoi³ approach again. Now, I have the individual cells scaled around their center, then subtracted from the sphere, also scaled down slightly. This does the trick: see attachments
Only the methods shown seem to create more complex surfaces than the ones I get with my method. So I’m worried about computation time, even on a fast machine.
Yes, these kinds of operations can get heavy Felix. Although you would be working with meshes using these tools, and meshes are lighter to work with than polysurfaces. There are things you can do to keep the number of mesh faces and sub-divisions manageable.
Your booleaned polysurface looks good so far, but I think you will find it difficult/impossible to fillet all of those edges if your aim is an ‘organic’ finish.
@DavidWood My plan is to 3D print the structure. Compared to the size of the pores, the resolution of the printer isn’t very high. So, there is no need for filleting.
Hello guys! I’m new here and was wondering if any of you could share one of files from this thread? They are all unavailable by now. I’m desrately looking to create a foam-like surface in grasshopper for Rhino.
Thanks for reporting.
Discourse tells us that there are approximately 6000 very old posts that are impacted by a different bug and that attachments in these can’t be restored by them. This only applies to “very old posts”. Sorry for the inconvenience.