How to blend TPMS types together

Objective:

Learn how to use the Mix and Ramp block to blend two different types of TPMS together.

Procedure:

1. Set up the part and variables

    • Start with any Implicit Body and name it "Body Shape"
    • Open the Properties of the Implicit Body, and drag the Bounding Box chip into the Notebook to create a Variable of this parameter (this will be used in the final step)

2. Set up the Gyroid details

    • Add a TPMS block, name it "First Gyroid"
      • Insert "Body Shape" into the Body input
      • Choose Cell size as 5 x 5 x 5 and Fill type as Gyroid
    • Add a TPMS block, name it "Second Gyroid"
      • Insert "Body Shape" into the Body input
      • Choose Cell size as 5 x 5 x 5 and Fill type as Schwarz

3. Set up the mixing parameters

    • Add a Ramp 
      • Create a Plane from Normal for the Real Field input
        • Use the Min Point property from the Implicit Body "Body Shape" for the plane origin to place it at the bottom of the part
      • Set In min: 0 mm, In max: 40 mm, Out min: 0, Out max: 1
    • Add a Mix
      • Set Real Field A to the TPMS "First Gyroid"
      • Set Real Field B to the TPMS "Second Gyroid"
      • Set Factor to the Ramp

4. Clean it up

    • Add a Set Field Bounding Box
      • Set the Real Field to the Mix block
      • Set the Bounding Box to the bounding box variable made at the beginning

And that’s it! You’ve successfully mixed two TPMS types together

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 TPMS ramping gyroid blend variable Mix smooth blending 
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.