Gyroid structure with millipede

I think using Millipede then feeding that dense mesh into Dendro would be rather heavy, and also wouldn’t give you the sharp edges where it meets the cube.
Dendro unfortunately doesn’t support custom mathematical implicit functions, only the predefined distance functions from input geometry so you’d be going from scalar function>level set mesh>distance function from millions of vertices>mesh.

However, there is a way to take the different iso values of the implicit form of these mathematical surfaces to create thickened versions directly without these intermediate steps.

Isosurfacer_solid2.gh (17.9 KB)
Here’s an example not using any plugins like Millipede or Dendro, but a version of the script previously posted here.


I included examples of a few well known implicit surfaces, but there’s also a space where you can add custom ones.

To make the solid it uses a mesh boolean, but I think it should be possible with a bit more work to modify the level set code to make these faces directly for the regions on the boundary cube which are below the iso value, which would be quicker.

I’m also working on a new approach to isosurfacing with a different meshing algorithm and allowing scalar functions to be passed around, modified and combined with either components or scripts. It’s not ready yet though, so I thought I’d share this earlier version for now.

8 Likes