Objective:
Learn how to blend TPMS (and lattices) without using the Mix block.Applies to:
- ModelIng
- Lattices
Procedure:
Using a Sine Wave transition
.png?fit=max&auto=format&n=S7HfSZGs81kdIYjB&q=85&s=726a958a663b92af8a383496b71329da)
- For the Field input:
- Create the equation sin (x/10) using Math blocks.
- Add an Absolute (Abs) block and insert your equation so only the absolute values are returned.
- Set the In min to 0
- Set the In max to 1
- Set the Out min to your TPMS body
- Set the Out max to your second TPMS body
.png?fit=max&auto=format&n=S7HfSZGs81kdIYjB&q=85&s=ab7fc66c10151019897b9e542b03a21f)
Inverse Distance Weighting
This method uses inverse distance weighting. You provide points (corresponding to the interpolation centers) and an exponent which controls the decay. As the exponents go to minus infinity, one gets a sharp Boolean Union of the Voronoi regions of the points. In the gif, you can see how the wiggling of the exponents changes the transition regions.
- Interpolation Point input: the interpolation center for that TPMS.
- Decay Exponent input: the decay exponent. (These values can be the same for each body or vary, depending on the blend you want).
To create this method in nTop:
1. Create three bodies with the TPMS or Lattice of your choice. Make these the same size. 2. Create a Point for each interpolation center. We are using a Polygon to create three points on the same plane, but any method for creating points works. 3. Import the Shepard Equation custom block.- Right-click on the Decay Exponent to create a variable (we are going to use the same value for each body)

Advanced - Using Equations
You can use TPMS equations with an interpolator to create a blend. We want to interpolate from “x” to “a * x + b”. Therefore, we introduce a parameter t in [0, 1] and produce:
- How to blend TPMS types together
- How to create a TPMS from an equation
- What equations are used to create the TPMS types?

