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
- Importing as a solid and exporting need the core.3d feature (3D modelling).
MESHCHECKruns on any paid licence. - Formats read: STL (ASCII or binary), OBJ, glTF (.glb, or .gltf with its buffers), PLY (ASCII or binary) and 3MF.
Steps: check a file
- Click the arrow under 3D > Part > Import mesh and choose Check mesh (
MESHCHECK). - 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
- Click 3D > Part > Import mesh (
MESHIMPORT) and type the file name. - 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.
- At "Triangles to keep" press Enter for all, or type fewer to simplify it. Choose options before Enter.
- 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
- Click Export mesh under the Import mesh arrow (
MESHEXPORT, aliasSTLOUT). - 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).
- 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
- A mesh that does not close comes in as a shell, not a solid.
MESHTOSOLIDturns meshes kept in the drawing into solids in their place.- A 3MF file's colours are kept on the solid where the triangles differ in colour.
- The exported file is a triangulation for exchange. The drawing keeps the exact solids.
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
- Making mesh bodies
- Mesh Studio: selecting points, edges and faces
- Mesh Studio: editing tools
- Mesh Studio: subdivision, modifiers and booleans
- Parametric modelling overview
- Creating a sketch
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.