Vladyslav Pereverzyev

STL vs PLY vs OBJ: 3D file formats in digital dentistry

STL, PLY, OBJ and 3MF compared for digital dentistry: what each dental file format stores, why color and units matter and which to use for scans and designs.

Many file problems between clinics, labs and milling centers come from the export and have nothing to do with the scan: a grey STL sent when the margin needed color, a model at the wrong scale, a texture left behind on the scanner computer. Choosing the right dental file format avoids most of them. This post explains what STL, PLY, OBJ and 3MF store and which one to use at each step.

STL stores geometry only

STL is the oldest and most widely supported 3D format. It describes a surface as a list of triangles and nothing else. It stores no color, no texture, no units and no information about what the object is. The file exists in an ASCII version, which is text and large, and a binary version, which is compact and the one to use. Because there are no units in the file, dental software assumes millimeters.

STL is the right choice for design outputs sent to milling and printing, for models going to print preparation and for any exchange where only the shape matters.

PLY adds vertex color

PLY stores the mesh and can store attributes for each vertex, including color. Many intraoral scanners export their color scans as PLY. Since the color is stored at the vertices and not as an image, its sharpness depends on how dense the mesh is.

Use PLY for intraoral scans where color helps the designer: margins, gingiva, stains, soft tissue and shade reference.

OBJ adds texture images

OBJ stores the mesh with texture coordinates and the color lives in a separate image referenced by a material file (MTL). An OBJ export is therefore often three files: the .obj, the .mtl and the texture image. If only the OBJ is sent, the color is lost.

OBJ is the usual format for face scans and other textured scans (see iPhone face scan for smile design).

3MF for print preparation

3MF is a newer open format designed for 3D printing. A single compressed file can hold units, color, materials and several objects. Support in dental software is growing but is not universal yet. It is most useful in print preparation workflows that support it, especially with several parts and their settings.

Proprietary formats such as DCM

Some ecosystems use their own formats, such as the 3Shape DCM format. These can carry additional data and may be encrypted or limited to licensed software. They work well inside their ecosystem. When the receiving lab uses different software, export an open format.

Dental file formats compared

Format Geometry Color Units Typical dental use
STL Yes No No Design outputs, models, CAM
PLY Yes Vertex color No Color intraoral scans
OBJ Yes Texture image No Face scans, textured scans
3MF Yes Yes Yes Print preparation
DCM Yes Yes Not documented 3Shape ecosystem

Rules for a clean file handover

  1. Send scans with color and designs without. PLY or OBJ scans go to the lab, STL designs go to production.
  2. Send the complete package: an OBJ with its MTL and texture, design STLs with their metadata such as the exocad .constructionInfo file.
  3. Avoid converting files back and forth, since each conversion can lose color, precision or information.
  4. Check the scale on import. A model 25 times too small or too large has a units problem.
  5. Use meaningful file names with a patient code, tooth numbers, part type and date and never put real patient names in shared file names.
  6. Send patient cases through scanner portals, never by email or chat, so the right files travel together and the data stays on a channel covered by a processing agreement (see how to connect scanner portals).

Cases sent for CAD design follow the same rules: the scans arrive with color and the designs go back as STL.

Frequently asked questions

Which file format should I export from an intraoral scanner?

PLY or OBJ when color matters, for example for margins, gingiva and smile design. STL when only geometry is needed or when the receiving software requires it.

Does STL store color?

Not in the standard format. STL describes only the surface geometry as triangles, which is why scans exported as STL look uniformly grey.

Why does my STL open at the wrong size?

STL does not store units. Dental software assumes millimeters and a program that assumes inches or meters scales the model wrongly. Check the import units.

What about DCM files?

DCM is a 3Shape format that can carry extra data and may be restricted to its ecosystem. Export an open format when the receiving lab uses other software.