Import one or more part files
Parts are the portable, singular geometry units for use within the Stella Connect ecosystem.
You'll need these if you want to perform a Nest, for example. If you use a file that has multiple parts (separate closed contours) we will attempt to extract all of the individual parts contained within that file.
File types supported: - DXF - DWG - STEP - IGES - SLDPRT - SLDASM - SLDDRW - ZIP
x-api-keymultipart/form-dataField | Type | Required |
|---|---|---|
| files[] | file[] | Yes |
Status | When |
|---|---|
| 200 | Success |
| 400 | Bad Request |
| 401 | Unauthorized |
| 413 | The upload exceeded the maximum request body size. |
| 500 | An unexpected error occurred on the server. |
Field | Type | Required | Description |
|---|---|---|---|
| files[] | object[] | No | Collection of imported file results |
| files[]. | string | No | Measurement system used (e.g., "metric", "imperial") |
| files[]. | string | No | Unit of measurement for dimensions (e.g., "mm", "in") |
| files[]. | string | No | Original filename of the imported file |
| files[]. | object[] | No | Collection of parts extracted from this file |
| files[]. | uuid | No | Unique identifier for the part |
| files[]. | number | No | True surface area of the part in the file's measurement units |
| files[]. | integer | No | Number of contour profiles in the part geometry |
| files[]. | number | No | Depth dimension of the part |
| files[]. | number | No | Length dimension of the part |
| files[]. | string | No | Measurement system used for this part's dimensions |
| files[]. | string | No | Unit of measurement for this part's dimensions |
| files[]. | string | No | Name of the part within the file |
| files[]. | number | No | Outside boundary area of the part |
| files[]. | number | No | Total perimeter length of the part profile |
| files[]. | number | No | Bounding-box area of the part (length × width) |
| files[]. | number | No | Width dimension of the part |
| files[]. | string | No | Deprecated. Please use /parts/{partId}/rendering endpoint to get part images. |
| files[]. | string | No | Deprecated. Please use /parts/{partId}/rendering endpoint to get part images. |
{
"files": [
{
"measurementSystem": "string",
"measurementUnit": "string",
"name": "string",
"parts": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"area": 0.1,
"contours": 0,
"depth": 0.1,
"length": 0.1,
"measurementSystem": "string",
"measurementUnit": "string",
"name": "string",
"outsideArea": 0.1,
"perimeter": 0.1,
"rectangularArea": 0.1,
"width": 0.1,
"image": "string"
}
],
"image": "string"
}
]
}