Skip to main content

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 Rampto 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).
A Simplex Noise 3D block in the Scalar Field input of a Ramp block. This modifies the Simplex Noise 3D field based on the input values.
  1. Add a Voronoi Volume Lattice.
  • Seed points: Random Points in a Body.
  • Thickness: Ramp created from the above step.
A Voronoi Volume Lattice block. This creates a voronoi lattice using points inside the body. The beam thickness is modified by the Ramp field created in step 2.
  1. Add a Trim Lattice.
  • Voronoi lattice: Voronoi Lattice.
  • Volume: Implicit Body.
  • Lattice to remain: Inside.
  • Feature tolerance: 0.1mm.
A Trim Lattice block. This block trims the voronoi lattice to remain only inside the defined body. The trimmed voronoi lattice. 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:

Keywords:

ramp Variable Lattice Thickness Simplex Noise texture offset lattices trim random stoichastic 3d