How to generate randomized lattice thickness

Objective:

Learn how to create a variable lattice thickness driven by 3D Simplex Noise in a Ramp. This technique is useful for creating Stochastic foam. 

Procedure:

1. Start with any Implicit Body.

2. Add a Voronoi Volume Lattice 

3. Add a Trim Lattice and use the Voronoi Lattice and the Implicit Body as the inputs

    • Choose lattice to remain: Inside

stoich_1.jpg

4. Add a Ramp to use as a thickness modifier

    • In the Scalar Field of the Ramp, add Simplex Noise 3D
      • Change the frequency to vary the thickness
    • Set the Ramp values:
      • In Min: -0.5, In Max: 0.75
      • Out Min: 0.17 mm, Out Max: 0.8 mm (right-click on the Out Min and Out Max input names to turn them into variables, allowing you to easily change the beam thickness)

5. Add an Offset Body to thicken the lattice

    • Use the Volume Lattice for the Body and the Ramp for the Distance

stoich_2.jpg

And that’s it! You’ve successfully created a lattice with a randomized beam thickness

Are you still having issues? Contact the support team, and we’ll be happy to help!

Download the Example file:

More on this topic:

Keywords:

 ramp Variable Lattice Thickness Simplex Noise texture offset lattices trim random stoichastic 3d 
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.