Set the scale before anything else
The exporter writes metersPerUnit = 1 into every stage it builds. That is not configurable, and it is not a guess about your model: it is the AR convention, and it means one coordinate unit equals one metre. An STL from a slicer contains millimetres, so the numbers must be divided by a thousand somewhere. The workspace applies the scale you pick as a node matrix on the exported object, which leaves the point data untouched and lets AR apply the shrink.
| Numbers in the STL | Preset to choose | What AR Quick Look shows |
|---|---|---|
| Millimetres, the usual print file | mm → m (×0.001) | Correct: a 20 mm cube becomes 0.02 m |
| Centimetres, rare in STL | ×0.001 is the closest | 10× too small; needs ×0.01, so scale after import |
| Inches, from an imperial CAD export | in → mm (×25.4) | Still metres-labelled, so 1000× too large; needs ×0.0254 |
| Already metres, from a BIM or GIS export | 1:1 | Correct, because the numbers already match the label |
Only the first row has an exact one-step preset, which is why the millimetre case is the one worth documenting. The other three need a second scaling step in Blender, Reality Composer or whatever consumes the file, because the site's presets are built around a millimetre working scene rather than around metres. If the size looks wrong in AR, measure a known edge with the Quick Look ruler before changing anything else: a 20 mm cube reading 20 m is a scale mistake, not a modelling mistake.
What ends up inside the package
A USDZ is a ZIP whose members are stored, not deflated, because the specification expects an uncompressed archive that a renderer can read directly. This exporter writes two members for a plain STL: a stage file and one geometry layer. A textured source would add a textures folder; an STL never does, because it has no maps.
| Entry | What it holds | Size on a 12-triangle cube |
|---|---|---|
model.usda | Root and Scene Xforms, metres, Y-up, horizontal plane anchoring, material binding | 1,294 B |
geometries/Geometry_N.usda | Points, normals, face vertex counts and indices, one UsdPreviewSurface material | 2,859 B |
textures/ | PNG files referenced by the material, written only when maps exist | Absent for STL |
The material is not a placeholder colour chosen at random. A plain STL loads with the site's default: hex b9c4c6, metallic 0.5, roughness 0.4, written as a UsdPreviewSurface with diffuseColor in linear values. That is why an imported print looks like blue-grey plastic in Quick Look. The anchoring lines in the stage are what let iOS offer a horizontal surface instead of asking the user to place the object by hand.
How to convert STL to USDZ
- Read the binary or ASCII STLFacets are parsed into a triangle buffer and normals are computed if the file's facet normals are missing or degenerate.
- Wrap the triangles in one meshThe surface becomes a single mesh with the default blue-grey standard material; there is no grouping because STL has no part structure.
- Apply the export scaleThe chosen factor becomes a transform on the exported object, so millimetres turn into metres without rewriting a single coordinate.
- Build the USD stageA root Xform, a scene Xform with horizontal plane anchoring, and a geometry layer with points, normals and face counts are written as USDA text.
- Store the ZIPThe members are packed without compression, model.usda first, which is what USDZ readers expect and what keeps AR Quick Look from rejecting the file.
Why the USDZ is bigger than the STL
This is the counterintuitive part of the format, and it catches people who expect AR assets to be small. STL packs each triangle into 50 bytes of binary. USDZ writes text: coordinates as decimal numbers with six places, one point entry per triangle corner, and a full normal for each. There is no index reuse and no compression.
| STL input | Triangles | STL | USDZ | Ratio | Export |
|---|---|---|---|---|---|
| 20 mm cube | 12 | 684 B | 4,563 B | 6.7× | 2 ms |
| Sphere, 200 × 200 | 80,000 | 4.00 MB | 19.05 MB | 4.8× | 670 ms |
At 80,000 triangles the geometry layer alone is 19.04 MB of the 19.05 MB package, because 240,000 corner points are spelled out in decimal. That is the number to watch for mobile AR: a file that downloads instantly as STL can take seconds on a phone connection as USDZ. Decimating before conversion is usually the right move, since AR viewers rarely show more than a few hundred thousand triangles at once anyway.
What an STL cannot give AR
None of the losses below are caused by the converter. They are absences in the source format, and knowing that saves a pointless second attempt.
- Colour and materials. STL has no colour channel, so the export assigns one material and every triangle shares it. A multi-coloured print arrives monochrome.
- Textures. With no UV coordinates in the STL and no image references, there is nothing to map. The textures folder stays empty.
- Part names and hierarchy. An STL is one triangle soup. A printable assembly exported as STL becomes one mesh, so AR shows it as a single object with no outliner.
- Print settings. Supports, layer height, infill and plate placement live in the slicer project, not the mesh. They are not in the STL and cannot appear in the USDZ.
- Smooth shading. STL stores one normal per facet, so the surface stays faceted in AR. That is faithful to the file, not a rendering fault.
Frequently asked questions
Can I convert on this page itself?
No. This page explains the STL to USDZ path; the conversion happens in the workspace behind the button, with STL and USDZ already selected. The mesh is read in that tab and the package is built there, so nothing is uploaded. The split keeps the documentation stable while the engine behind it changes.
Do I have to choose millimetres to metres?
For a print file, yes. STL stores no unit, and every slicer and CAD export writes millimetres, so a 20 mm cube holds the number 20. The USDZ exporter always declares metersPerUnit 1, which tells AR Quick Look those numbers are metres. Without the 0.001 factor the cube becomes 20 m across. The scale is written as a node matrix, so the point coordinates stay at 20 and the transform does the shrinking.
Why does my part appear twenty metres tall in AR?
Because the export ran at 1:1. The stage says metres, the numbers say millimetres, and a 20 mm part is read as 20 m. The same mistake makes a 200 mm print appear 200 m tall, which is why the object usually fills the camera and clips through the floor. Re-export with the millimetres to metres preset rather than scaling the model by hand afterwards.
Why is the USDZ nineteen megabytes when the STL was four?
Because USDZ stores text, not packed triangles. Every point is written as three decimal numbers, every triangle corner gets its own point entry, and the ZIP is stored uncompressed because the USDZ specification expects that. The 80,000-triangle sphere measured here went from 4.00 MB to 19.05 MB, roughly 4.8 times larger, and the geometry layer held almost all of it.
Will the file work on Android?
Not through AR Quick Look, which is an iOS feature. Android's Scene Viewer takes glTF and GLB, so the same STL is better converted to GLB for that audience. A USDZ is still useful as a download or an iOS-only link, but it is not a cross-platform AR format, and serving one to an Android browser usually ends in a file that cannot be opened.
Can I keep the colour of my model?
There is no colour to keep. STL stores triangles and facet normals and nothing else, so the export assigns one material: a blue-grey at hex b9c4c6, metallic 0.5, roughness 0.4. Every triangle shares it. If the appearance matters, start from a format that carries materials, such as 3MF, OBJ with MTL, or GLB, and convert that instead.
Are print settings and supports included?
No, and an STL never held them either. Supports, layer height, infill, material profiles and build plate placement live in the slicer project or in a 3MF production file, not in the mesh. What arrives in AR is the surface geometry only, so a part exported with supports in the slicer shows the part, not the scaffolding.
What does AR Quick Look need from the server?
The file should be served as model/vnd.usdz+zip, and on iOS a plain link to it is enough for Safari to offer the AR button. The package must stay a single zip with no external references, which is what this exporter writes. Nothing else is required: no app, no manifest, no separate texture requests.
References
- USDZ packaging specification
- Apple AR Quick Look documentation
- three.js documentation — loaders and exporters
- How this site is built and tested
Related converters
All converters
Last updated: