In this grasshopper definition, you can model a Schwartz minimal surface by using the Jellyfish plugin.
In this grasshopper definition, you can use the Jellyfish plugin to combine a series of spheres and a box and smooth them at the end.
Jellyfish by Smei is an Implicit modeling plugin for Rhino Grasshopper. It utilized Ryan Schmidt(author of Autodesk Meshmixer)’s brilliant open-source geometry3Sharp library. The goal of the plugin is to provide an intuitive and fast way to model, manipulate and visualize implicit geometries.