latestOpenAPI 3.0.32026-08-201592,4923.4 MB

53223abaceb7

CAD Imports

Import a new CAD from file

CAD import requires the following steps:

  1. Request a temporary storage location via POST /storage.
  2. Upload your CAD file using the HTTP PUT method to the url provided in the temporary storage location response object.
  3. Start the import via POST /projects/{projectId}/cadimports and include the storageId provided in the temporary storage location response object.
  4. Check for the import status via GET /projects/{projectId}/cadimports/{cadId}.
post/projects/{projectId}/cadimports

Request body

namestring required

The name of the imported CAD.

format'ACIS' | 'CATIA' | 'CREO' | 'IGES' | 'INVENTOR' | 'NX' | 'PARASOLID' | 'REVIT' | 'RHINOCEROS' | 'SOLIDEDGE' | 'SOLIDWORKS' | 'STEP' | 'STL' | 'NTOP' required

The CAD format.

inputUnit'm' | 'cm' | 'mm' | 'ft' | 'in' | 'yd' required

Example request

{
  "name": "My first CAD",
  "location": {
    "storageId": "qwertyuiop1234567890"
  },
  "format": "STL",
  "inputUnit": "m",
  "options": {
    "facetSplit": false,
    "sewing": false,
    "improve": true,
    "optimizeForLBMSolver": true
  }
}

Response

Successful start of the import.

cadIdstring uuid required

The ID of the CAD.

status'READY' | 'QUEUED' | 'RUNNING' | 'FINISHED' | 'CANCELED' | 'FAILED' required

Status of the operation.

cadStateIdstring uuid required

The ID of the current CAD state. It can point to an empty CAD state in case the import is running or failed.

Example response

{
  "cadId": "f48bf48b-f48b-f48b-f48b-f48bf48bf48b",
  "status": "FINISHED",
  "cadStateId": "159c159c-159c-159c-159c-159c159c159c",
  "failureReason": null
}