Stratal CAD

Importing, checking and exporting meshes

Help centre · 3D, parts and assemblies

MESHCHECK reports on a triangle mesh file, MESHIMPORT brings it in as a solid or a mesh, and MESHEXPORT writes solids as a mesh. Use them for STL, OBJ, glTF, PLY and 3MF files from scanners, printers and other tools.

Before you start

Steps: check a file

  1. Click the arrow under 3D > Part > Import mesh and choose Check mesh (MESHCHECK).
  2. Type the file name. The report gives triangles, vertices, pieces, open edges (holes), edges shared by more than two triangles, neighbours facing opposite ways, degenerate and repeated triangles, volume, area and bounds.

Steps: import a mesh

  1. Click 3D > Part > Import mesh (MESHIMPORT) and type the file name.
  2. Answer "Units of the file's numbers (STL, OBJ and PLY have none)". Enter takes the drawing's units; glTF and 3MF give their own.
  3. At "Triangles to keep" press Enter for all, or type fewer to simplify it. Choose options before Enter.
  4. The mesh is repaired (near vertices welded, bad triangles removed, faces turned outwards) and added as a solid, coplanar triangles merged into flat faces.
Option What it does
Quadric / Clustering Simplifies by least shape error (keeps corners and creases), or by merging nearby vertices
Holes When the mesh has open edges: fills holes up to a number of edges around them
Analytic / Faceted Fits planes, cylinders, cones and spheres and makes them true faces, or keeps flat facets
Fit How far a corner may lie from a fitted surface
Mesh / Solid Keeps the triangles as a mesh in the drawing, or makes a solid
Body Keeps it as a mesh body for Mesh Studio

Steps: export

  1. Click Export mesh under the Import mesh arrow (MESHEXPORT, alias STLOUT).
  2. Select solids (Enter: every solid), type the file (.stl, .obj or .glb), choose Binary or Ascii for STL, and the chord deviation (Enter: 0.05 mm in drawing units).
  3. STL and OBJ are written in the drawing's units; glTF in metres with Y up.

Example

Import a printed part's STL: MESHIMPORT, the file, mm, Enter, choose Analytic, Enter. Then CHECKSOLID, and BASEPART to add features.

Tips and common mistakes

Troubleshooting

Message or symptom What it means and what to do
"MESHIMPORT not applied: ..." The file could not be read or made into a solid. The reason follows. Try Mesh to keep it as a mesh.
The report names holes it left Raise the hole size limit, or repair the file at source.

Related

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.