Infill for my hollow 3D model

   3626   2   2
User Avatar
Member
7 posts
Joined: Nov. 2019
Offline
I watched a video [youtu.be] on how to fill a 3D mesh with itself. I just got the idea that it might be possible to use Houdini to fill my mesh with such infills:



The above infill is just a sample, any other form of infill would work too. Can anybody get me started on how to generate infills with Houdini OpenVDB modules? Thanks!
Edited by megiddgit - Oct. 25, 2020 11:07:10
User Avatar
Member
7 posts
Joined: Nov. 2019
Offline
One idea

In the referenced video [youtu.be] the workflow starts with:

1. Import 3D mesh
2. VDB-from-polygons tool is used to covert 3D polygon mesh to VDB voxel field
3. VDB-to-spheres tool is used to fill VDB voxel field with spheres
4. Change the sphere radius size
5. Increase the sphere max number
6. Remove the sphere overlap

At this point, this is the result:



Now, I'm looking for a Houdini OpenVDB functionality to go from spheres to an infill shape like blue lines below:



When the above spheres are generated, I need a tool to swap filled (active) voxels with empty (inactive) voxels. What OpenVDB tool would do the swapping for me? Thanks!
Edited by megiddgit - Oct. 25, 2020 05:27:37
User Avatar
Member
729 posts
Joined: Sept. 2013
Offline
Hi megiddgit,

the VDB combine-node does boolean operations.

Attachments:
vdb_subtract.jpg (64.6 KB)
inmesh.hipnc (243.6 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
  • Quick Links