How to Blend TPMS Gyroid Lattice Types

Follow

This article will teach you how to blend different types of TPMS Gyroids together utilizing the Mix and the Ramp block. 

Gyroid_Blend.png

Blending Gyroids can be broken down into a few simple steps:

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)

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

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

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

Blended_Gyroid.png

Watch the video below to see these steps in action and download the companion file to test it out for yourself.

nTop Version 2.3.4 - Methods and interface may have changed in different versions

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.