Geometry

Geometry#

The format for Nassu geometry is a .lnas file. It’s the representation of a series of triangles, similar to the .stl format.

Note

You can know more about .lnas and how to generate them in stl2lnas repository.

In order to generate a good quality mesh, it’s very important to have a good quality geometry. The main aspect of the geometry for a good mesh is the format of the triangles.

The more similar the sizes of the edges, the better. The greater the difference between the sizes of the edges, the worse. This is due to how the meshing is done and IBM, which requires points with similar distance among them.

../_images/equilateral-triangle.svg

Good quality triangle for meshing#

../_images/obtuse-triangle.svg

Bad quality triangle for meshing#

Another aspect to take notice is the stretching or deformation of the geometry. Nassu provide options to scale the geometry, but it’s important to notice that, when the geometry is scaled differently for different dimensions, it changes the triangles shape. This can lead to way different edge sizes, which can lead to a worse mesh.