Question:
How to curve a gyroid?
Applies to:
- Remap Field
- Gyroid
- Lattice
Answer:
This article uses a Remap Field to create our desired outcome. If you are new to using Remap, start with the following resources:
- Learning Center course:
- Articles:
1. Start with the Centerline which you would like the gyroid to follow.

You can use a combination of Line Segments and Arcs to create your centerline or import it from CAD software as well. We will be using the Remap Field block later, so it's important to make sure that one of the ends is centered at the origin [0,0,0].
2. We would now need to generate the Gyroid structure that we will use to Remap to follow the Centerline. We recommend creating an infinite length (50x of what is needed) gyroid structure. Ensure the gyroid is centered at the origin so that it correctly follows the Centerline path.

3. We will use the Remap Field block to remap the TPMS's direction.
We will be Remapping the Gyroid in two directions:
X: We will use the distance to extrusion property of the path profile we created to ensure the x-direction is filled based on the Path generated using the Profile from Curves block.

Y: We will use the curve's arc length field property to determine the periodicity of the gyroid.

Z: As our normal direction, the Z can remain unbounded
The resulting field shows the gyroid following our defined path. Notice how the field continues beyond the path because we haven't applied bounds yet.
7. Finally, Boolean Intersect the obtained lattice structure with the channel plate. Intersecting the field with the channel plate creates an implicit body where they overlap. You will also notice that the bounding box of the plate correctly limits the curved gyroid to not extend past the plate bounds.

The Add block in the Y input of the Remap Field block controls the shift of the gyroid. In the gif below, you can see how changing the value of Operand B of the Add block changes the positioning of the fins. In the included example file, this is a variable named Fin Shift. If you don't need to shift your design positioning, you don't need the Add block, and can just use the Centerline Arc Length property as shown in the Remap Field image.
