SketchfabExporter
Summary
A Sketchfab scene exporter.
Item Index
Methods
- checkStatus static
- Export static
- getMenuItem static
Methods
checkStatus
Syntax
checkStatus
-
uid -
success -
error
Summary
Checks the status of a model.
Export
Syntax
Export
-
meshes -
options -
completeCallback
Summary
Exports a scene into the STL file format and uploads it to Skechfab website.
Parameters:
-
meshesBABYLON.MeshA single mesh.
-
optionsObjectAn object with options: - see STLExporter options. - token {String} The token is necessary to upload a model. - description {String} Description of the model. - tags {String} Tags used for this export. - private {String} Users with a pro account can upload private models. - password {String} The user's password if it has a pro account.
-
completeCallbackFunctionA function called at the end of the process.
getMenuItem
Syntax
Summary
Gets options displayed in the menu.
Parameters:
-
optionsObjectA dictionary with default options for this exporter - token {String} - filename {String} The file's name. - description {String} A basic description. - tags {String} Tags separated by space.
Returns:
Returns an object ready to add to the menu.