Exporting a model as an STL file in Onshape is the standard way to prepare a part for 3D printing. STL (stereolithography) files describe the surface geometry of a solid model as a mesh of triangles. Onshape can export the whole part studio or just selected parts, and you can control the mesh resolution to balance file size against print quality. This guide walks you through the process, including the export dialog settings, common pitfalls, and what to do if the export doesn’t behave.
What You’ll Need
- An Onshape account (free or paid) and a document containing a Part Studio with at least one solid part.
- A model that is fully defined—no unresolved sketches or broken references—so the export is clean.
- Optionally, a slicer program (like Cura, PrusaSlicer, or Bambu Studio) to open the STL afterward.
Step-by-Step
- Open your Onshape document and navigate to the Part Studio that contains the part you want to export. If you have multiple Part Studios, select the correct tab at the bottom of the screen.
- Select the part(s) to export. In the left panel, under the “Parts” list, click on the part name to highlight it. To select multiple parts, hold Ctrl (Windows) or Cmd (Mac) while clicking each part. If you want to export the entire Part Studio as a single STL, you can skip this step—the export dialog will let you choose the scope.
- Open the Export dialog. Click the Export icon in the top toolbar (it looks like a downward arrow with a line under it) or go to the menu: File > Export. A dialog box will appear.
- Choose the format. In the “Format” dropdown, select STL. The dialog will update to show STL-specific options.
- Set the scope. In the “Scope” dropdown, choose either “All” (exports every visible solid in the Part Studio) or “Selection” (exports only the parts you selected in step 2). If you chose “Selection” but didn’t select anything, Onshape will warn you—go back and select the parts.
- Choose the units. The “Units” dropdown lets you pick the measurement unit for the STL file. This is important because slicers interpret the STL as unitless. If your model is in inches, select inch; if millimeters, select millimeter. Most 3D printers work in millimeters, so if you design in inches, you may want to convert to millimeters here to avoid scaling issues.
- Set the resolution. Onshape offers three resolution presets: Coarse, Medium, and Fine. These control the maximum deviation between the mesh and the true curved surface. Choose Fine for a smoother print, but note that it creates a larger file. For most mechanical parts, Medium is a good balance. You can also choose Custom to enter a specific “Maximum chord length” or “Maximum surface deviation”—see Tips below.
- Click “Export”. Onshape will generate the STL file and download it to your browser’s default download folder. The file name will match the part name or document name, depending on the scope.
- Verify the download. Check your downloads folder for a file ending in
.stl. If you don’t see it, check your browser’s download history or the pop-up blocker—sometimes a blocked pop-up prevents the download.
Common Mistakes
- Wrong units. Forgetting to set the units can cause the printed part to be 25.4 times too small or too large. Always double-check the unit selection before exporting.
- Exporting an assembly instead of a part. STL export works from a Part Studio, not from an Assembly tab. If you’re in an Assembly, you’ll need to go back to the Part Studio or use the “Export” option from the assembly tab, which exports each part as a separate STL—not a single combined mesh.
- Selecting nothing but choosing “Selection”. If you pick “Selection” scope without selecting any parts, Onshape may export an empty file or give an error. Always select parts first.
- Ignoring the resolution. Using “Coarse” on a part with fine fillets or curved surfaces can result in visible facets or a lumpy print. Conversely, using “Fine” on a huge model can create a file too large for your slicer or printer memory.
- Not checking for errors in the model. If your part has zero-thickness geometry or other issues, the STL may be malformed. Run the “Inspect” tool (right-click the part) before exporting.
Tips
- Use custom resolution for precise control. In the resolution dropdown, choose “Custom” to set a maximum surface deviation (e.g., 0.01 mm) or maximum chord length. This is useful for parts with tight tolerances.
- Export multiple parts as one STL. If you select multiple parts and choose “Selection”, Onshape will combine them into a single STL mesh. This is handy for printing a whole assembly as one piece, but be aware that the parts must be positioned correctly in the Part Studio.
- Check the file size. A typical STL for a small part is under 10 MB. If your file is hundreds of MB, consider reducing the resolution or splitting the model.
- Use the “Preview” option. Some versions of Onshape show a mesh preview in the export dialog—use it to spot obvious mesh errors before downloading.
- Name your part clearly. The STL file name comes from the part name. If you plan to share or print multiple versions, use descriptive names to avoid confusion.
Troubleshooting
The download doesn’t start. If clicking Export doesn’t trigger a download, check your browser’s pop-up blocker. Onshape opens a new tab for the download; allow pop-ups for the Onshape site. Also try a different browser (Chrome and Firefox work best).
The STL file is empty or has zero bytes. This usually means the export scope was set to “Selection” but no parts were selected, or the part is hidden. Go back, select the part explicitly, and re-export.
The STL looks faceted or has visible triangles. Increase the resolution to “Fine” or set a custom maximum surface deviation lower than the default. If the part is huge, you may need to balance file size.
The STL won’t open in my slicer. Some slicers are picky about unitless STLs. Make sure you selected the correct units (millimeters is standard). Also, check that the STL is not corrupted—try opening it in a viewer like Windows 3D Viewer or MeshLab.
I need to export only a portion of a part. Onshape doesn’t allow exporting a sub-part directly. You can create a new Part Studio, use “Use” to copy the geometry, and then cut away the unwanted portion before exporting.
Frequently Asked Questions
Can I export an STL from an Onshape Assembly? Yes, but it exports each part as a separate STL file, not a single combined mesh. To get one STL of the whole assembly, you would need to use a boolean operation in a Part Studio or export as a different format and combine in a slicer.
What is the best STL resolution for 3D printing? For most FDM prints, “Medium” is fine. For resin printing or parts with fine details, use “Fine” or a custom deviation of 0.01–0.02 mm. Keep in mind that higher resolution increases file size and slicing time.
Does Onshape have a file size limit for STL export? There is no explicit limit, but very large models (hundreds of MB) may take a long time to generate and download. If you hit performance issues, simplify the model or reduce resolution.
Can I export an STL in color? No, STL does not support color. For colored 3D printing, use the 3MF format instead (Onshape supports 3MF export).
Why is my STL in inches when I designed in millimeters? The units dropdown in the export dialog overrides the document units. If you designed in millimeters but set the export units to inches, the STL will be in inches. Always check the unit selection.
How do I export a single face as an STL? STL is a solid mesh format, so you cannot export a single face. You would need to create a thin solid from that face (e.g., using the “Thicken” tool) and then export that.
Related
- Traffic Light Reaction Time: How Long It Takes
- How to Export FileZilla Settings (Sites & Passwords)
- Conditional Format Highlight Row: Full Guide
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Arduino String Data Type: How It Works and When to Use ItArduino’s String data type is a class for storing and working with text, such as words, messages, and…
- How to Wrap Text in Google Sheets: A Quick TutorialTo wrap text in Google Sheets, select the cell or range, then choose Format > Wrapping > Wrap.…
- Free Checklist Excel Template: How to Find and Use OneYes—free checklist Excel templates are available from Microsoft’s template gallery and other download sources, and you can also…
- Google Sheets FILTER Function: How to Filter ArraysIn Google Sheets, the FILTER function returns only the rows or columns that meet conditions you specify. It…
- Excel NOW Format: Show the Current Date and Time CorrectlyIn Excel, enter =NOW() in a cell to return the current date and time; then format that cell…
- Excel Merge Cells Shortcut: Keys and TipsIn Excel for Microsoft 365 on Windows, select the cells and press Alt, H, M, C in sequence…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.