Mesh
A mesh is a 3D representation that describes the surface of a part with a set of small polygons, almost always triangles, joined at their vertices.
How does a mesh work?
A mesh approximates a shape with flat facets. The smaller and more numerous the triangles, the closer the approximation is to the real shape, and the heavier the file gets. A flat surface needs very few triangles, a curved one needs many.
For 3D printing, a mesh must be watertight: closed, with no hole or loose edge, so the slicer can read a volume. Unlike a BREP, which keeps the exact formula of every surface, a mesh keeps only the approximation.
What is a concrete example of a mesh?
A 20 mm diameter cylinder approximated with 16 facets deviates from the true circle by about 0.19 mm: its outline is visibly polygonal. With 128 facets, the deviation drops to 0.003 mm. Beyond that, every extra facet makes the file heavier with no visible gain when printing with a 0.4 mm nozzle.
How does ATOM CAD produce a mesh?
ATOM CAD builds the part as an exact solid, then generates the mesh at export time for the 3MF, STL and OBJ formats. Three resolutions are offered: draft (a maximum gap of 0.1 mm between the triangles and the surface), standard (0.02 mm) and fine (0.005 mm). The app shows the triangle count for each. Sculpture mode produces a mesh directly.
Which terms are related to meshes?
- STL: the format that holds nothing but a triangle mesh.
- 3MF: a mesh together with units and material.
- BREP: the exact representation, with no facets.
Which guide should you read next?
The guide STEP or STL: which one to choose? explains when a mesh is enough and when to keep the exact geometry.