Illustration for the GDS resource article: What Is an STL File? | GDS

What Is an STL File?

An STL file is the legacy mesh standard for 3D printing, unitless, triangle-based, and prone to open gaps. Learn when to use STL and when 3MF is the better choice.

The .stl file format, originally developed in 1987 for stereolithography (SLA) 3D printing, is the oldest and most universally recognized file format in additive manufacturing. An STL file defines the outer surface of a 3D object entirely as a collection of flat triangular faces, with no color, no units, no material information, and no internal volume data.

Despite being nearly four decades old, STL remains the default file exchange format for the majority of desktop and industrial 3D printers due to its simplicity and near-universal software support. Understanding what STL does, and critically, what it does not do, is essential for anyone procuring 3D-printed industrial components.

How GDS Can Help

Most physical-to-digital projects touch more than one discipline. GDS can support the workflow from field capture through usable engineering deliverables with 3D laser scanning, 3D modeling, reverse engineering, and consulting.

GDS lists coverage across major metropolitan areas including Houston, Dallas, San Antonio, Austin, Los Angeles, San Diego, San Jose, Long Beach, Fort Worth, Irvine, Riverside, New Orleans, Baton Rouge, Shreveport, Las Vegas, and Beverly Hills. See the current GDS locations page for posted service areas.

Scope note: Specific tolerances, certification requirements, deliverables, schedules, reports, site control, and acceptance criteria should be defined in the quote, proposal, or statement of work for the individual project.

The Legacy Mesh Standard

An STL file stores geometry as a list of triangle definitions. Each triangle is described by:

  • The X, Y, Z coordinates of its three corner vertices
  • A surface normal vector indicating which side of the triangle faces outward

That is the entirety of the STL data structure. There is no scale information, no unit specification, no layer, no color, and no assembly relationship. A file named `manifold_body.stl` could represent a part 25 mm wide or 25 metres wide, the file contains no information to distinguish between them. The importing software's unit setting determines the scale at the moment the file is loaded.

This unitless architecture is the most common source of scale errors in 3D printing workflows. A part modeled in millimetres, exported as STL, and imported into a slicer configured for inches will be produced at 25.4× the intended size.

How STL Approximates Curved Geometry

Because STL defines every surface as flat triangles, curved features, cylinders, spheres, fillets, and radii, must be approximated by a collection of small flat facets. The quality of the approximation is controlled by the chord deviation and angle tolerance settings in the CAD export dialog:

Resolution SettingTriangle CountSurface QualityFile Size
Low (coarse)Hundreds to thousandsVisible facetingSmall (< 5 MB)
MediumTens of thousandsSmooth at most scalesModerate (5 to 50 MB)
HighHundreds of thousands+Near-perfect curvesLarge (> 50 MB)

For industrial components with tight dimensional requirements, GDS always exports STL files at high resolution to ensure that curved surfaces, bearing bores, sealing faces, fillet radii, print with minimal faceting error. For large-format production parts, file sizes can reach several hundred megabytes.

The Watertight Rule and Slicing Requirements

For a 3D printing slicer to calculate the layer-by-layer material deposition paths for a part, the STL mesh must be completely watertight: every edge in the mesh must be shared by exactly two triangular faces, with no gaps, holes, or overlapping faces.

When a mesh is non-watertight, the slicer cannot determine where the solid interior of the part begins and ends. Common consequences include:

  • Failed slicing: The slicer reports errors and refuses to generate toolpaths.
  • Hollow or partially filled parts: The slicer misidentifies the interior, producing a part with incorrect infill.
  • Dimensional errors: Open mesh boundaries cause the slicer to guess at closure, altering the printed geometry.

GDS performs automated mesh healing and visual watertight verification on every STL deliverable before file handoff, ensuring that non-manifold errors are resolved prior to production.

STL Limitations in Industrial Practice

Beyond the unitless architecture and watertight requirement, STL carries several limitations that become significant in industrial additive manufacturing at scale:

  • No color or material data: Multi-material or full-color printing workflows require OBJ or 3MF formats.
  • No assembly relationships: STL contains a single mesh with no concept of sub-components or assembly hierarchy.
  • Redundant coordinate data: Adjacent triangles each store their shared vertices independently, creating file bloat. A mesh with 1 million faces stores approximately 3 million vertex entries rather than the minimum required.
  • No printing metadata: Printer settings, support strategies, and material configurations must be managed entirely outside the STL file.

When to Use STL vs. 3MF

The 3MF (3D Manufacturing Format) standard, developed by the 3MF Consortium in 2015, was designed to address every structural limitation of STL:

FeatureSTL3MF
UnitsNone (unitless)Explicit (metres, mm)
ColorNoneFull RGB per triangle or texture
MaterialsNoneMaterial properties included
CompressionNone (uncompressed)XML in ZIP container (60 to 80% smaller)
Watertight enforcementNot enforcedRequired by specification
Multi-component assembliesNot supportedSupported

Use STL when: The receiving printer or service bureau specifies STL only, or when the part is a simple single-material geometry with no color requirements.

Use 3MF when: Working with professional industrial printers (EOS, Stratasys, HP MJF), multi-material systems, or full-color binder jetting. 3MF eliminates unit errors and significantly reduces the risk of non-manifold printing failures.

What GDS Delivers for Additive Manufacturing

GDS delivers watertight mesh files optimized for the client's specific printer technology and material system. Standard deliverables include:

  • High-resolution .stl files with unit documentation and recommended import scale note
  • .3mf packages with explicit metric units and printer-compatible material settings
  • Mesh quality report confirming zero non-manifold edges and full watertight closure

Quick Facts

DeliverableWatertight STL or 3MF mesh optimized for additive manufacturing
Primary Formats.stl, .3mf
Best Use Case3D printing, rapid prototyping, additive manufacturing of replacement parts
Key LimitationSTL is unitless , always confirm unit settings on import
Not Suitable ForCNC machining toolpath generation

Continue Learning

FAQ

Why does my 3D-printed part come out the wrong size?

The most common cause is a unit mismatch on STL import. STL files contain no unit information. If the model was created in millimetres and the slicer is set to inches (or vice versa), the printed part will be scaled by a factor of 25.4. Always verify the unit setting in your slicer before submitting to print. GDS includes a unit confirmation note with every STL delivery.

Can I use an STL file for CNC machining?

No. CNC CAM software requires parametric B-Rep solid geometry (STEP or Parasolid) to generate smooth, continuous cutting paths. Feeding an STL mesh into CAM software causes the tool to interpret each flat triangle face as a distinct machining surface, producing a faceted surface finish, accelerated tool wear, and dimensional errors.

What is the difference between STL and 3MF?

STL is a legacy format, unitless, uncompressed, and limited to geometry only. 3MF is the modern XML-based standard that includes explicit metric units, material properties, color, and assembly data in a compressed ZIP container. 3MF files are typically 60 to 80% smaller than equivalent STL files and eliminate the unit-mismatch errors common with STL.

Need a Print-Ready STL or 3MF File?

GDS delivers watertight, high-resolution mesh files from any physical object , with a mesh quality report confirming zero non-manifold errors, ready for production submission.

Headline

Never Miss A Story

Get our Weekly recap with the latest news, articles and resources.