Modeling / Simulating an explosion (GH script)

For my M.Arch thesis, I made a GH script that simulates a destroyed building, specifically from an explosion or airstrike (Adapting destroyed buildings in Ukraine). The plugins required are Grasshopper (naturally), Weaverbird (Weaverbird’s Mesh Mesh Icosahedron), Heteroptera (Random Vectors), and Lunchbox (Mesh to Nurbs). This script runs pretty well, and I’ll show you what you’ll need to run my script!

  • Your target building (MUST be closed polysurfaces from Rhino, it can be any amount as long as they are closed)
  • A point (placed wherever you want the blast to occur. I haven’t tried using multiple, but I’m sure it works regardless.)

You can customize the blast radius, change the complexity of the blast, its random shape seed, the complexity of the debris, also able to be randomized by seed, as well as the spread of the debris.

This is my first GH project, so let me know if there’s anything I can do to refine this script!

Explosion Simulation.gh (1.7 MB)