I am working with the Isopod plugin to infill an STL file with a lattice structure. Instead of using TSMP, I want to use a custom mesh cell for infill while applying an inside offset to the original mesh. I have already tried the standard Infill definition, but I am unsure how to replace TSMP with my custom mesh cell.
Has anyone successfully implemented this? What’s the best approach to use a custom mesh unit cell for infill in Isopod? Any guidance or example definitions would be appreciated.
While it would be possible to create a unit cell as an SDF of a mesh, it often makes more sense to define it from lines, equations, or combinations of other implicit primitives.
In this case it would definitely be better to use the line segment based approach shown in the second part of my last reply, as the infill is clearly line based. While you could use the mesh, it would likely be much slower.
Ah, thanks for spotting this.
I see that the way I used the % operator in Array3dField assumes the cell being arrayed has its lower corner at the world origin.
It would be possible to modify the Array field operator to allow arbitrary positions, but I think the simplest solution here is to move the cell to the origin, and if scaling, scale about the origin. custom_infill_rabbit_origin.gh (247.5 KB)