# Solid porous voronoi structure and porosity percentage

Hey Guys,

I need your help with creating a porous structure in Grasshopper based on Voronoi tessellation. The structure I have developed so far can be seen in the pictures below, including the corresponding Grasshopper file.

I have got 2 specific questions:

1. How can you determine the volume of the structure in order to calculate the percentage of porosity? I used the Volume and the Mass Addition components to determine the mass of the (bounding)box. However, I was unable to do this for the rod-like structure within the box.
2. Is it possible to make this structure fully solid in Grasshopper? As can been seen in the picture, the rods are defined by the surfaces but I would like a closed and solid structure in the end. This way I can directly export it as .stl and start 3D printing.

Looking forward to hear some suggestions.

Kind regards,
Sven

3D Voronoi Porous Structure.gh (24.4 KB)

2 Likes

Looks like questions 1 and 2 are solvable with the same action (closing the mesh)?

Some plug-ins out there that do ‘mesh capping’ or closing holes for a fast solution. Just search for that.

'Wanted to help but Rhino/gh crashed and closed immediately after I open your file so mission aborted

1 Like

Hello
it is doable to make the cuts, but at the moment Rhino/Grasshopper are not very good at that.
Here a solution using Dendro. There are many ways with Dendro to make smooth nodes/sponge.

See here for others sponge related geometry

3D Voronoi Porous Structure_LD.gh (23.5 KB)

2 Likes

Hi Laurent,

Finally had the chance to explore for a minute.

Thank you very much for your suggestions and your alternative approach also looks very nice!
However, my goal is to investigate the influence of the scaling factors on the percentage porosity. So I want to keep that method.

I was able to create a closed mesh, see the picture and file below. Unfortunately, calculating the volume of the structure (with Mesh Volume still results in the error: Mesh geometry is not solid!. So I tried the method of intersecting the skeletal mesh with a solid object using the Dendro plug-in, but was not successful…

Perhaps you have an idea what goes wrong?

Kind regards,

Sven E.

1 Like

Hi Corellaman,

Thank you for the suggestions! Indeed, I though closing the mesh would solve both problems.
In the end I was able to close the holes using a different method, resulting in the structure below. However, the calculation of the percentage porosity turns out to not work because I still have difficulties determining the volume of the structure (using Mesh Volume results in the error: Mesh geometry is not solid!).

Do you have an suggestion to end up with a solid geometry?
Hopefully, you can open the Grasshopper file.

Regards,

Sven E.

2 Likes

You still have a huge hole. Laurent’s polyline smoothing/dendro solution would give you a similar mesh that is closed.

The output mesh still has some naked boundaries out of your Weaverbird Subdivision component (aka, it is an open mesh).

There are a number of ways to close it but I just threw the Pufferfish “Close Mesh” component in and everything seems to work fine.

3 Likes

Nice fix charlie. Dendro solution: Closed 3D Voronoi Porous Structure DENDRO GB.gh (27.7 KB)

1 Like

Can you give me this source file? Thank you！！！

Thank you all for the contributions!

I tried this file given in this thread https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/b/c/bcb1803501f860bdb63cdb01ae0aab80da025afe.gh and it works perfectly for 50 seed points but for 25 points the pufferfish close mesh fails and returns an open mesh, and for 75 points the mesh intersection (of the voronoi mesh with the bounding box mesh) fails. The modified file is here: Closed 3D Voronoi Porous Structure DENDRO GB modified.gh (29.8 KB)

Do you have any suggestions how to fix this?