# How to Close the Open Beams of a Trimmed Lattice

## Goal:

Close the open beams of a trimmed lattice.

## Useful for:

• Creating neat and orderly lattices after they are trimmed.

## Steps:

1. Extract all of the vertices of your trimmed lattice.

• Go to the Properties tab of your lattice body and locate the lattice property. The lattice property contains information about the graph of your lattice.
• Expand this property and drag the vertices into your notebook.
• Convert the thickness value of your lattice into a design variable called "Lattice Beam Thickness" to reuse in other steps throughout the workflow. In this example, the Lattice Beam Thickness value is constant.

2. Use these vertices to create a volume mesh using the Delaunay Volume Mesh block. This function creates a mesh composed of tetrahedral elements based on all of the vertices of the trimmed lattice.

• Extract the exterior mesh faces of this volume mesh using the Extract Volume Mesh Boundary block in order to derive a new exterior network of beams to join to our trimmed lattice.

3. Use the Lattice Body from Surface Mesh block to extract the edges of each mesh face and convert them into beams in a new lattice body.

• Change the Method parameter to arrive at different arrangements of lattice beams.
• Use the Lattice Thickness variable to apply the same thickness to this lattice body as your original trimmed lattice body.

4. The resulting lattice from this operation may require some additional fine-tuning in order to get the desired outcome you're looking for. We have a handful of super useful Lattice Beams filters currently available under Beta > Lattices - Utilities. In this specific example, we'll use the Filter Beams by Containment block to remove the top and bottom beams of our cylindrical lattice. If filtering beams by a volume isn't the best approach for your application, you can also filter by a beam's angle, length, connectivity (closed, floating, open), and thickness.

5. Now that we have a network of beams to fully close off our original trimmed lattice, use the Merge Lattice Bodies block to arrive at one single lattice body.

• Input the original trimmed lattice and the new exterior lattice into the Lattices input and use the same "Lattice Beam Thickness" variable to apply the sample thickness to both lattices.

And that’s it! You’ve successfully closed the open beams of a trimmed lattice

Are you still having issues? Reach out to the support team, and we’ll be happy to help!