Get file mesh
GET/v1/files/:id/mesh
Returns a display mesh of every solid body of a file, written by Inspect a file (PATCH /v1/files/{id}), so the bodies can be drawn before any is made a part. The GLB holds one node per body, and node body-<index> is the body at bodies[index] of Get a file (GET /v1/files/{id}); nodes are named by index only, never by the body’s name. It is faceted from the uploaded file as-is, so it is not any part’s analysis mesh. Meshing is best-effort: an inspection can list the bodies without one, which hasMesh on Get a file reports. 409 before an inspection has succeeded; 410 once the file is past the retention window.
Experimental. Available now and still gaining functionality. It may change in breaking ways in a minor API release; each such change is listed in the release notes, so check them before upgrading.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 410
- 500
- 503
The file’s display mesh.
The request is invalid.
The API key is missing or invalid.
The API key may not perform this operation: it has no access to this part of the API, it may only read it, or its creator has not met the organization’s two-factor requirement.
The file does not exist, or its inspection produced no display mesh.
The file has not been inspected yet.
The file is older than the retention window and is no longer available.
The file mesh could not be retrieved.
Authentication is temporarily unavailable.