Home / Articles / technique
technique

Repairing STL meshes: Inspector, Make Solid and Remesh

Reading time: 7 minProtocolo MeshMixer

Rejection of the file by the slicing system, missing regions in the printed piece and localised failures habitually stem from a single cause: the mesh does not constitute a closed solid. Correction generally requires only a few minutes.

Criteria of geometric validity

For the slicing system, an STL file is printable only if it describes an unambiguous solid — that is, if for every point in space an unequivocal determination exists between interior and exterior. This requires:

Aetiology of defects

Inspector: initial procedure

By means of I the program analyses the mesh and flags defects with spherical markers differentiated by colour according to their nature. Correction may be performed individually or globally by means of Auto Repair All.

Limitations of automatic repair

The function satisfactorily resolves small-scale defects. Faced with extensive holes, however — a broad subgingival region, for instance — the algorithm generates a geometrically plausible closure surface that does not necessarily correspond to the actual anatomy. Visual inspection of the result is indispensable: an inadequate closure in a critical zone is more detrimental than the original discontinuity, since it ceases to be evident.

Where the Inspector reports hundreds of defects on a freshly scanned model, the problem may be attributed to the scanner export. Re-export is preferable to correcting artefactual defects.

Make Solid: reconstruction

Where the Inspector proves insufficient — severely compromised mesh, multiple overlapping shells, chaotic geometry — Make Solid resolves the matter by reconstruction. It does not correct the existing mesh: it generates a new mesh, closed by definition, enveloping the original geometry.

The procedure entails loss of detail. The higher the resolution selected, the greater the fidelity to the original geometry and the greater the resulting file size. The point of equilibrium varies with the application: a biomodel tolerates losses that a seating surface does not.

Selection criteria

Remesh and Reduce: optimisation

Remesh (R on the selection)

Redistributes triangles at uniform density. Files derived from scanning habitually present regions of heterogeneous density, which produces unpredictable response from the sculpting brushes. Applying Remesh prior to sculpting corrects this condition.

It likewise constitutes the appropriate correction for meshes with elongated triangles, characteristic of extrusion boundaries, which produce artefacts during slicing.

Reduce (Shift+R)

Decreases the triangle count. A full-arch file at high resolution may compromise the performance of both the application and the slicing system. Moderate reduction relieves processing without perceptible loss.

Reduction over seating surfaces should be avoided: loss of resolution in the marginal zone compromises precisely the region where precision is determinative.

Inverted normals

This constitutes the defect most difficult to identify, since standard display does not reveal it. The characteristic manifestation consists of the piece being represented as hollow in the slicer preview.

Diagnosis is established by alternating the display mode with Q until reaching the mode representing normals. Correction is effected by Flip Normals on the affected faces or by Make Solid, which reconstructs the whole with consistent orientation.

Validation protocol

  1. Inspector free of defects (I).
  2. Single component, verified in the Object Browser after Shift+Y.
  3. Minimum thickness observed throughout.
  4. Scale in millimetres, explicitly verified.
  5. Reasonable file size.
  6. Binary STL, with identifying nomenclature.
Cost-benefit relationship

Execution of this protocol requires approximately half a minute. Detection of the defect after two hours of printing entails the resin consumed, the machine time and, potentially, rescheduling of the clinical appointment.

Master the complete workflow

This article addresses a single stage. The Protocolo MeshMixer course develops the workflow in full — 24 modules from the outset through to clinical 3D printing, with documented clinical cases, STL files and 100% free software.

View the course Unlimited access · 7-day guarantee
Related reading