Expanding ( NOT Scaling! ) a Mesh with GeometryNodes?

Greetings!

I want to make myself a 3D Scan Pipeline to create formfitting, 3D Printable Tool “Foam” Inserts which, unlike with actual Foam, will obviously require some Clearances all around the Mesh.

I was already assisted in solving another Problem on how to generate a Sweep Extrude to avoid Overhangs but in my initial request forgot to address the issue that I’d be also be needing those Clearances and just messing around with the Nodes wouldn’t get me any results thanks to my practically nonexistent knowledge in them ( or Blender in general :smirk: ).

What I essentially need is for the Mesh to be Expanded ( NOT Scaled ! ):

In the above Example both the :red_circle: and :green_circle: Parts act as stand-ins for a Tool with their surrounding transparent Doubles acting as a Foam Cutout - While the Expanded one to the right fits, the Scaled one to the left does not.

My question thus is whether it is possible to add a Node ( or more? ) to the so far provided GeometryNode Workflow to automatically perform said Expansion before performing the Sweep:

[ missing Image because I’m not allowed to post more than one Image :anger: ]

Link to the File with the GeometryNodes Workflow.

Thanks in advance! :grin:

this is a task that would almost certainly be best accomplished with the new SDF nodes in blender 5.0, but here is a legacy solution that should get it done.

The easiest solution is probably to inflate the mesh before it goes through the volume to mesh conversions.

You want to displace all the points along the surface normal to expand the mesh:

Adjust the scale factor as needed for your application.

This will cause some degenerate geometry in a lot of cases, but since you are essentially doing a voxel remesh already, that will clean up any issues.

Not GN, but using even thickness option on the Solidify modifier should give you the results you want for some cases with “simple” geometry.
Good luck.

Also, not GN use the Shrink-Fatten tool in edit mode.

Thanks! That’s EXACLTY what I was lookin for! Much appreciated! :grin:
Had some trouble figuring out where to place the new Nodes but eventually figured it out:

But just in case… Is there a way to search for Nodes in Blender? I tried to look for that Scale Node in your example and was going NUTZ™️ finding it buried inside the Utilities > Vector > Vector Math one on top of being inside a Dropdown Menu :anger:

Yeah, the title changing when you change a setting in the node isn’t great for discoverability, but I’m glad you found it!

When you press Shift+A to add a new node you can start typing the name of the node you’re looking for, it’ll show any node or node group with a similar name.
image