Skip to main content

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​

The file’s display mesh.