Design Engine
Tools and Features

Hex Mesh

23min

Every lattice begins with a mesh, which is the underlying 3-dimensional scaffold upon which your lattice is built. The mesh is comprised of unit cells upon which the strut lattice is applied.

Design Engine offers two mesh types: Hexahedron Mesh (Hex) and Tetrahedron Mesh (Tet).

A hex mesh is composed of polyhedrons with 6 faces and is best used when a regular pattern and aesthetics of the lattice are most important. This lesson walks through all the options to create a hexahedron mesh (hex) for the lattice's 3-dimensional scaffold.

If you have not yet read about hexahedron vs tetrahedron meshes or the hex lattice types available for each, please do so before proceeding.

Jump to Section:

How to Create a Hex Mesh

Both mesh types require use of the Strut Lattice operation to populate the unit cell with struts. The difference between using tet vs hex mesh in Design Engine is in the steps needed to generate the strut lattice.



Hex Mesh Population Type

There are two methods for generating a hex mesh:

  • Gridded - Constructed from rectangular cuboids, tiled to overlap the design space.
  • Loft - Constructed by filling the design space between two parallel surfaces on the boundary of the input model. There are four methods available to construct the lofted hex mesh.

A general rule of thumb is to select the population type that most closely matches your geometry, but any method can be used to obtain desired results.



Note that hex meshes are adjustable; the examples here are just one way to fill the design space. These examples use the Grid lattice type; more options are available for hex lattice types.

Gridded

Hex gridded is the simplest mesh structure that uses a cube, or rectangular cuboid, tiled to fully overlap the design space.

All hexahedrons on the boundary of the design are cropped to the intersecting shape, meaning that all boundary unit cells are a different size and shape than any full unit cells in the interior.


  1. Select Gridded • Select Gridded hexahedron population type • Select preview to visualize
  2. Adjust cell size • Rectangular cuboid is adjustable in X-Y-Z dimensions • Preview regenerates after a few seconds of inactivity
  3. Adjust alignment • Adjust view to assess alignment • Align the mesh as desired - centered by default
  4. Generate Mesh
  5. Generate Strut Lattice

Alignment Tip - Best results divide the design space as evenly as possible. Hexahedrons that are cropped to less than half their original size will require shortened connections to conform to the design space, which can create an irregular pattern in those areas.

Results of a gridded mesh not aligned with design space
Results of a gridded mesh not aligned with design space

Results of a gridded mesh aligned with design space
Results of a gridded mesh aligned with design space


Complex compound curves may not properly conform to the design space with the gridded mesh structure. In these cases, the loft options are better solutions.

Loft

There are four types of loft hexahedral meshes, but the core concept behind them is the same. Lofted hex meshes are constructed by filling the design space between two parallel surfaces on the boundary of the input model. All hexahedrons throughout the mesh are morphed to fit into the design space. This creates a very regular pattern but results in unit cells that vary in size and shape throughout the design space.

Loft Patches

This method requires additional inputs of parallel surface patches on your design space.

Reference the Extract Patch lesson for details on selecting the surface patches.

Example Surface Patches
Example Surface Patches


Loft Workflow Shown with the triangular pattern, but all methods follow these basic steps.



Loft Population Patterns

The loft methods are distinguished by their options, which are driven by their underlying shapes.

Sectioned

Number of cells between stated points also applies to the mirror opposite points along the same axis (noted here in purple)
Number of cells between stated points also applies to the mirror opposite points along the same axis (noted here in purple)


Rectangular

Number of cells between stated points also applies to the mirror opposite points along the same axis (noted here in purple)
Number of cells between stated points also applies to the mirror opposite points along the same axis (noted here in purple)


Triangular

Number of cells between stated points (noted here in purple)
Number of cells between stated points (noted here in purple)


Annular

Design space must contain a hole.

The center of the hole serves as the center axis around which the annular array revolves.
The center of the hole serves as the center axis around which the annular array revolves.


Notes for All Loft Methods

Surface Patches

Surface patches cannot intersect.
Surface patches cannot intersect.


Hourglass Shapes

Hourglass shapes may experience errors and are best suited to a different mesh type or patches that better match the longitudinal shape (shown here with a circular top and bottom patch). (Applies to similarly bulging shapes where the patch surfaces are substantially different than the shape in between)
Hourglass shapes may experience errors and are best suited to a different mesh type or patches that better match the longitudinal shape (shown here with a circular top and bottom patch). (Applies to similarly bulging shapes where the patch surfaces are substantially different than the shape in between)


Preview

Preview regenerates after a few seconds of inactivity. Any previously generated mesh will not readjust in real time. The mesh must be generated again after adjustments.
Preview regenerates after a few seconds of inactivity. Any previously generated mesh will not readjust in real time. The mesh must be generated again after adjustments.


Surface Patch Files

Large surface patch files may provide an error in preview but will still generate a hex mesh.
Large surface patch files may provide an error in preview but will still generate a hex mesh.


Hex Lattice Types

Design Engine provides seven pre-defined hex lattice types. Reference Lattice Type Guidelines for more information.



Custom Unit Cells

Design Engine allows you to define your own unique lattice type for hex meshes via an imported csv file.

  • The csv should define the start and end nodes for each strut within the hexahedron.
    • Nodes are defined by x1, y1, z1 and x2, y2, z2.
    • The csv should include a header row labeled with x1, y1, z1, x2, y2, z2. A blank csv file with the proper format is available for download below.
  • Assume a unitless cube of 1 x 1 x 1 dimensions to define the nodes.
Custom Unit Cell Example


Successful Unit Cell Guidelines

Tile 3-dimensionally

Points in the two X-X, Y-Y, and Z-Z planes must have matching nodes.

Tile 3-dimensionally


Connect at least 2 faces within the cube

None of the struts in this example tie together faces of the cube. The resulting lattice may populate the design space but closer inspection from the side view shows that the lattice does not connect 3-dimensionally.

In extreme cases, the lattice may only populate with feature edges (when specified).

Connect at least 2 faces within the cube


Custom Unit Cell Surface Patterns

Surface patterns on custom unit cells will primarily follow how the struts interface with the faces of the hexahedron. Variations will occur at curves and other non-orthogonal geometries.

  • Example 1 - Nodes This example contains only nodes on the surface of the hexahedron. This manifests only nodes on most surfaces but varies where the geometry is non-orthogonal.
  • Example 2 - Edges This example contains struts along the faces of the hexahedron. This manifests a surface pattern of struts on most surfaces but varies where the geometry is non-orthogonal.
Example 1 - Nodes
Example 1 - Nodes

Example 2 - Edges
Example 2 - Edges


Custom unit cells are different than the pre-defined hex lattice types which always generate a surface pattern of struts. This is baked into the software on the backend. If you like one of the pre-defined hex types with only nodes on the surface but don't want the surface pattern, you could recreate it as a custom unit cell to eliminate the surface pattern.



Updated 22 Nov 2024
Did this page help you?