Before you start
To upload and process 3D models, you need an account with the3d:create, files:write, and files:read capabilities for your CDF project. See Assign capabilities to learn more.
You also need:
- Your CDF project name. You will use this as the
[projectname]below. - The file name(s) of the model(s) you will be uploading. You will use this as the
[filename]below.
Upload 3D models
Create a model that can hold several revisions
Copy and make a note of the id field
Copy and make a note of the
id field in the response. You will use this as the [modelId] below.Create a file placeholder to make the file available for processing later
Copy and make a note of the id field and uploadUrl
Copy and note the response
id and uploadUrl. You will use them as [fileId] and [uploadUrl] in the next steps.Upload the file
Create a versioned model and link the file from the first step to the revision
Monitor the processing of the model
API reference: Retrieve a 3D revision