Learn how mesh geometry works in Shapr3D, import STL files as mesh or solid bodies, modify mesh models, and manage STL units and export quality.
What is a mesh file?
Overview
Mesh models are made up of polygons formed by vertices, edges, and planar faces. Unlike solid CAD models with mathematically defined curved surfaces, mesh models approximate curves using flat polygonal faces.
A higher number of polygons can create a smoother and more detailed appearance, while fewer polygons result in a simpler, more faceted model.
Mesh geometry is commonly used in 3D printing, manufacturing, and 3D scanning. However, editing mesh models differs from working with solid CAD geometry.
Mesh tolerance and quality
When converting a CAD model into a mesh, the curved surfaces of the original model are approximated using polygons. The accuracy of this approximation depends on the mesh tolerance.
Tolerance defines the maximum allowed deviation between the original CAD geometry and the generated mesh.
- Smaller tolerance: Produces more polygons and a more accurate representation of the original geometry.
- Larger tolerance: Produces fewer polygons and a less detailed mesh, typically resulting in a smaller file.
Import mesh files into Shapr3D
You can import STL files into Shapr3D and choose whether to keep the geometry as a mesh or convert it into an editable solid body.
When importing an STL file, the Import Preferences dialog provides the following options:
Measurement unit
Select the measurement unit used by the imported model. Since STL files don't store measurement units, choosing the correct unit ensures that the model is imported at the intended scale.
Import as: Mesh or Solid
Choose how Shapr3D imports the STL geometry:
- Mesh: Imports the model as a mesh body, preserving its polygon-based geometry.
- Solid: Converts the mesh into an editable solid body using boundary representation (B-rep), allowing you to work with the imported model using solid modeling tools.
When importing as a solid, Shapr3D attempts to convert the mesh geometry into solid CAD geometry. The result depends on the quality and complexity of the original mesh.
When to import as Mesh or Solid
The best import option depends on the complexity of the original mesh and how you intend to use the model in Shapr3D.
Import as Mesh when you want to:
- Use an existing model or 3D scan as a reference for creating new geometry.
- Preserve complex polygon-based geometry without converting it into a solid.
- Make basic modifications using supported Transform and Boolean tools.
- Work with highly detailed mesh models that may be difficult or time-consuming to convert into solid bodies.
Import as Solid when you want to:
- Modify imported geometry using a wider range of solid modeling tools.
- Add or modify design features, such as holes, chamfers, and fillets, where the converted geometry supports them.
- Reuse existing STL models as editable components in a larger CAD design.
- Continue developing an existing model using solid modeling workflows.
Note: Converting a mesh into a solid body does not reconstruct the original CAD geometry or its modeling history. The quality and editability of the converted body depend on the original mesh geometry.
Conversion time limit
When importing an STL file as a solid, you can set a time limit for the conversion process.
If the conversion exceeds the specified time limit, Shapr3D automatically imports the model as a mesh instead, allowing you to continue working.
If a model cannot be converted into a watertight solid, Shapr3D also imports it as a mesh body.
Fix mesh by calculating self-intersections
Enable Fix mesh by calculating self-intersections to help resolve self-intersecting geometry during import.
Read more
For step-by-step instructions on importing files into Shapr3D, visit How to import files into Shapr3D.
Work with mesh bodies in Shapr3D
Supported operations
You can use imported mesh bodies as references for your designs or modify them using supported modeling tools.
In Shapr3D, you can:
- Use meshes as references: Position imported mesh models alongside solid bodies to guide your modeling workflow.
- Transform mesh bodies: Move, rotate, and scale imported mesh geometry.
- Apply Boolean operations: Combine, subtract, or intersect supported mesh geometry with other bodies.
- Visualize models: Apply materials and explore the appearance of imported mesh bodies in Visualization.
Boolean operations with mesh bodies
You can use Boolean operations with closed mesh bodies. Open or sheet meshes cannot be used for these operations. When performing Boolean operations on a mesh body, the resulting geometry remains a mesh.
For example, you can create solid bodies from sketches and use Subtract to remove material from an imported mesh model.
For more information about combining, subtracting, and intersecting bodies, visit Boolean operations.
Understanding STL units
How STL units work
STL is a widely used mesh file format for 3D printing and rapid prototyping.
STL files store the surface geometry of a model as a polygonal mesh, but they don't contain information about measurement units.
This means the same STL file can be interpreted at different scales depending on the units selected during import.
Avoid unit mismatches
For example, if an STL model was created in inches but imported into another application using millimeters, the model may appear significantly smaller than intended.
To avoid scaling issues:
- Use consistent measurement units throughout your design and manufacturing workflow.
- Select the correct measurement unit when importing STL files into Shapr3D.
- Match the export unit in Shapr3D with the expected unit in your slicer or other software.
- Verify the dimensions of your model after transferring it between applications.
Export mesh files
You can export your Shapr3D models as STL files for 3D printing and other applications.
When exporting an STL file, you can configure the following settings:
- Resolution: Choose Low, High, or Custom to control the level of detail in the exported mesh. Custom lets you adjust Angle Tolerance and Deviation Tolerance.
- Include Mesh Bodies: Choose whether to include existing mesh bodies in the export.
- Output Format: Select the STL output format.
- Units: Set the measurement unit for the exported file. Since STL files don't store unit information, use the same unit in your slicer or receiving application.
Higher-resolution meshes generally preserve more geometric detail but can produce larger files.
Read more
For step-by-step instructions on exporting files from Shapr3D, visit How to export files from Shapr3D.