cloudcad.file
The cloudcad.file namespace provides functionality for saving and loading CAD files in the user's SkyCiv cloud storage.
cloudcad.file.save#
Save a CAD model to the user's SkyCiv cloud storage.
important
cloudcad.model.create must be called earlier in the session.
| Key | Type | Description |
|---|---|---|
name | string | File name of the CAD model. |
path | string | Path in the user's cloud file storage. |
public_share | boolean | Also return a public share link (view only). (false by default) |
return_uid_url | boolean | The link returned will use the UID (i.e. ?u= parameter in the URL) rather than the name and path. (false by default) |
Sample input for cloudcad.file.save
Sample response for cloudcad.file.save
cloudcad.file.open#
Load a CAD model from the user's SkyCiv cloud storage.
| Key | Type | Description |
|---|---|---|
name | string | File name of the CAD model. |
path | string | Path in the user's cloud file storage. |
uid | string | Provide the file's UID rather than the name and path. When using this argument, name and path can be omitted. |
Sample input for cloudcad.file.open
Sample response for cloudcad.file.open