Merging 3D Voronoi Network into one unified object


I am trying to create a network of 3D Voronoi branches to model a collagen fibers within a matrix. As I create the structure in Grasshopper and bake it in Rhino, I export it to either SolidWorks or Ansys Space Claim to finally export it to Ansys workbench for finite element analysis. The problem is that when I export the file (Parasolid), it is not read as a unified objects, but as the assembly of lots parts. I would appreciate if somebody help me to export it the 3D Voronoi network as a unified solid object. Also, I prefer not to create meshes to avoid further possible complications (if any) in Ansys mechanical, and create the meshes in Ansys it self. The image of the baked network as well as the GH file are uploaded.

Reza (8.2 KB)

Hi I’m having a same problem with this

Did you find any solutions about this problem? It would really help my work if you did

Below is a definition which uses the Multipipe component to create a closed SubD around the edges of the voronoi structure. This definition also removes short line segments. You can bake the result and use ToNurbs to turn it into a polysurface. Converting into a Brep in Grasshopper is also possible but it might take some time. (21.2 KB)


Hi Martin,

I like your model a lot! Im trying to alter it a bit to get it working for my model, but I was wondering if it is possible to remove lines that are too close together (as seen in the figure below). I am really new to grashopper and rhino.
Many thanks in advance!

Kind regards,


There are a few situations that make this optimization a little complicated. Especially when three lines are almost colinear and form a very narrow triangle. The least significant point should be eliminated. The optimization can be done with Kangaroo.

A final optimization could be to pull the closest vertices to the box surface and its edges. This step is not implemented yet in the definition below. (31.5 KB)


Thank you for sharing! I will need to improve my grasshopper skills before I can implement it! I will followup if I succeed!

1 Like

I added the optimization mentioned above where points are pulled towards a bounding box: Points within a threshold of 5 mm were first pulled to the bounding box, then to the closest edge and finally to the closest corner.

You can check out a 3D model on my server by clicking on the screenshot below.

image (37.8 KB)


That Google model viewer is nice and clean.

Yes, I’ve been using it for a few things recently. Unfortunately the source files cannot be protected.

Oh and it would be really neat if discourse would allow iframes. I found some results on google but couldn’t get it to work.

I managed to embed a Sketchfab link like you did but this is on my server and it doesn’t display the animation.

I see that discourse does allow sketchfab embedding

Not sure if that already works here, or if there’s some setting that needs to be enabled.


Oh neat, it works already!

(Once you’ve uploaded a model there, just click the Share button below the model and paste onto discourse the direct link)

I think embeds from different domains would need to be whitelisted for security reasons.