How to warp the cell size of a Cell Map

Objective:

Warp the cell size of a Cell using the Ramp block. 

Applies to:

  • Lattices and TPMS
  • Beta Blocks: With the release of 2.15, the ability to use 'Beta Blocks' has launched. Beta blocks are blocks that are in development that are subject to change prior to transitioning into full production use. Beta blocks are generally not recommended for production use but are made available to users for early access to upcoming features. To turn on Beta blocks, go to File > Settings and check the 'Show Beta Blocks' box. 

Procedure:

1. Set-Up: Work backward from your Volume Lattice

    • Add a Periodic Lattice Body
    • Input a Unit Cell block and choose a Diamond Unit Cell
    • Input a Rectangular Cell Map block 
      • Add a Cube to use as the Volume in the Cell Map block
    • Set the Thickness to 1mm

2. Add a Ramp block and make it a variable

    • Add a Cylinder in the Scalar Field 
      • The Cylinder will be where the Ramp starts. Make sure it is taller than the Cube and has a small radius
    • Set the In and Out values
      • In min: 0mm In max: 30mm
      • Out min: 1 Out max: 3
        • The Out values represent the scale that will be applied to the lattice. Positive values will expand the lattice and negative values will shrink the lattice
    • Set the Continuity to Geometric

3. Add a Warp Cell block

The Warp Cell block has scale factor field inputs for U, V, and W, which stretch or squish the cells in a cell map. A factor of zero leaves the unit cell unchanged, a negative value squishes the cell, and a positive value stretches the cell. Use a ramp based on a planar field (or other geometry) to assign scaling factors throughout the cell map.

    • Input the Rectangular Cell Map from Step 1
    • Add the Ramp block to the U, V, and W scale factors (or leave it as 0 if you don't want it to ramp in that direction)

warp2.jpg

4. Add the Warp Cell block to the Periodic Lattice Body, replacing the original Cell Map. 

warp.jpg

Change out the Unit Cells to warp TPMS bodies as well.

gyroid_warp.jpg

And that’s it! You’ve successfully warped and ramped your Periodic Lattice Body

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 lattice volume ramping body edit scale cell periodic vary warp how-to graded warping U V W size 
Was this article helpful?

Comments

1 comment
  • Is great to have these off-the-shelf blocks

    1

Please sign in to leave a comment.