Why STL Files Open at the Wrong Size (mm vs inches) and How 3MF Stores Units
Use a known dimension to diagnose a 25.4-fold scale error, distinguish rotation from resizing, and check the units in a 3MF handoff.
A customer sends a bracket that should span two inches between its outer faces. The slicer shows a bracket two millimeters wide. Zoom to fit makes both versions fill the screen, so the thumbnail looks convincing right up to the moment the first layer disappears in preview. Before touching the scale control, find one dimension whose physical length you actually know. A drawing, a mating part or the exporter's own measurement of the same two faces gives you a reference independent of the file.
Read the coordinates the STL actually carries
An STL describes triangular facets. Each corner has three coordinates. The distance between the smallest and largest X coordinates gives the X extent, in whatever unit the writer used. Neither the binary facet record nor the ASCII vertex line has a standard unit field. An exporter can write the numbers for an inch drawing directly, or convert those numbers to millimeters first. The filename, the binary header and the choice between ASCII and binary are poor evidence for which decision it made.
Take the bracket into the local STL analyzer and record all three extents before rotating it. Compare the reference to the extent along the same axis. A hole spacing measured between two centers does not correspond to the overall width of a flange. If the only known measurement is a center distance, measure those centers in CAD or a mesh editor. Using a bounding box instead introduces a second unknown just when you need one reliable ratio.
Drawing, overall width 2.000 in = 50.800 mm
Exported X coordinates -1.000 through +1.000
Slicer assumption 1 coordinate unit = 1 mm
Observed width 2.000 mm
Required linear scale 50.800 / 2.000 = 25.4
At a percent-based control 2540%
Apply that factor uniformly to X, Y and Z on a copy. If the slicer asks for a percentage, 100 percent means the current size. Entering 25.4 percent would shrink the model again. Conversely, if a millimeter export was interpreted as inches, the factor to return to the intended length is one divided by 25.4, about 3.937 percent in that control. Record which direction you used so a colleague importing the repaired copy does not apply it twice.
Test the unit hypothesis against another feature
| Observation | Likely explanation | Independent check |
|---|---|---|
| All lengths differ by 25.4 | Inch and millimeter assumptions disagree | Compare a second dimension on another axis |
| Width and height trade places | Part was rotated for the build plate | Compare original and placed dimensions |
| One extent includes empty space | Several instances share the layout | Select one build item |
| Only a printed hole is undersize | Process or design tolerance | Measure the nominal hole in CAD first |
Suppose the corrected bracket now spans 50.8 mm, but its nominal 6 mm mounting slot measures 3 mm in the same file. Another uniform scale would spoil the width. Check for the wrong revision, a nonuniform transformation, or a drawing dimension taken between different features. When the disagreement is a few tenths of a millimeter on a printed sample, inspect the toolpath and the physical part separately. A unit error scales wall lengths and hole spacings together by a large, predictable factor.
Follow the unit through a 3MF assembly
A 3MF package can declare a unit on its model element. For example, a coordinate separation of 2 in a model with unit="inch" describes 50.8 mm. The Core default when the attribute is omitted is millimeter. The local viewer converts supported model units into millimeters. A legitimate inch model opened this way already has the conversion applied. Multiplying it again merely because its author works in inches makes a correctly sized part much too large.
There can be more than one model part inside the package. A component can refer to geometry in a different part, and an assembly can place that component in several positions. Read the model unit in the context of the part that supplies the coordinates. Then account for component and build transforms. Looking at the first XML file or the first vertex in a ZIP listing is insufficient to infer how tall the assembled object will stand on the plate.
In the viewer, select one object and compare its original dimensions with its placed dimensions. A panel measuring 80 by 40 by 5 mm can stand on its edge and present a placed height of 40 mm. Both sets of dimensions are correct. A translation alone changes position without changing a single object's extent. Two such panels separated on the plate can have an overall layout wider than either panel. Write down both the selection and the orientation alongside the measurement you send back.
A useful control for a recurring workflow is a reference bar exported alongside a test part. Design the bar to be exactly one inch long in the drawing, then import it separately with automatic resizing disabled. If it measures 25.4 mm, the exporter and importer agreed on that transfer. Repeat through the same export preset used for the actual part. A passing bar from a different CAD package does not explain how the bracket was written.
Make the correction survive the next import
If you control the source drawing, export a fresh millimeter STL or a 3MF with explicit units. Close the project and import the delivered file into an empty one. This catches an easy handoff mistake: a scale applied only to an instance on the current plate may never have been baked into the mesh you sent. Recheck width, thickness and object count. Save the manufacturing drawing or a short dimension note beside the export if the recipient must work with STL.
For a test slice, inspect a layer near the middle of the part and the first layer touching the bed. Check that the intended walls still produce extrusion paths and that the footprint matches the reference. Use your desktop slicer for a private design. The BitsToolbox analyzer previews files on-device. Its weight estimate temporarily uploads the model, as does the separate G-code slicing tool when you run a slice. Neither upload is necessary to compare dimensions.
Limitations of a size correction
A unitless STL with no reference dimension can support several physically plausible sizes. Ask for the intended measurement before committing an expensive build. Scaling cannot recover a missing internal surface or determine the clearance the designer intended. It also changes enclosed volume by the cube of the linear factor, making a small mistake in length especially misleading in a volume report. Mesh volume describes geometry. Filament consumption requires a slice with the intended walls, infill, supports and printer settings.