---
title: "Synchronously export a Part Studio to an STL file."
method: GET
path: "/partstudios/d/{did}/{wvm}/{wvmid}/e/{eid}/stl"
tags: ["PartStudio"]
---

# Synchronously export a Part Studio to an STL file.

`GET /partstudios/d/{did}/{wvm}/{wvmid}/e/{eid}/stl`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/partstudios/d/{did}/{wvm}/{wvmid}/e/{eid}/stl`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Read`

Creates a synchronous export of the Part Studio (with limited tessellation settings) to an STL file. 
* Returns a 307 redirect from which to download the exported file. 
* Export is much faster than asynchronous endpoints at the expense of limited control on tessellation settings. 
* Use the [PartStudio/createPartStudioTranslation](#/PartStudio/createPartStudioTranslation) asynchronous export for greater control. 
 
See [API Guide: Synchronous Exports](https://onshape-public.github.io/docs/api-adv/translation/#synchronous-exports) for more details.

## Path parameters

- `did` string, required
- `wvm` string, required
- `wvmid` string, required
- `eid` string, required

## Query parameters

- `partIds` string
- `mode` string
- `grouping` boolean
- `scale` number, double
- `units` string
- `angleTolerance` number, double
- `chordTolerance` number, double
- `maxFacetWidth` number, double
- `minFacetWidth` number, double
- `configuration` string
- `linkDocumentId` string

## Other responses

- `307`: A Redirect!

---

[API](https://skmtc.dev/onshape/apis/onshape-rest-api.md) - [All operations](https://skmtc.dev/onshape/apis/onshape-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onshape/apis/onshape-rest-api/revisions/c5c4c780f831?raw)
