0.0.3 • Published 6 years ago

step-upload v0.0.3

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

step-upload

  1. Open command line (Cmd): Tap the Search button on the taskbar, type cmd in the search box and choose Command Prompt on the top.

  2. Node.js version 8 or greater must be installed. In cmd, type "node -v". The version 8.. and up is required. If node is not found, or version is less than 8, Download and and folllow the instructions here: https://nodejs.org/en/download/

  3. Install step-upload: npm install --global step-upload.

  4. Find your clara username and api token: https://clara.io/settings/api -- and add your authentication info to step-upload:
step-upload username your-username
step-upload apiToken your-api-token
  1. Run this app. From Cmd, type:
step-upload go "path"

Where "path" is a .step/.stp file or directory of STEP files. Multiple paths can be specified.

This will convert your files to fbx format, and import those files into clara scenes.

Note: (1). In case there is any special charactors in the path like white space or &, all path you entered should be qouted by double qoute. For example step-upload go "path1" "path2".

(2). Default visibility of scenes is unlisted. You can use -v or --visibility option to change it. Only public, private, unlisted and gallery are allowed.

For example: step-upload go "path" -v private

(3). Default collection is "All". Specific collection can be specified by using option:

-c "collectionId"

For example: step-upload go "path" -c "your collection id"

(4). If you want to replace existed scenes have same names as imported files, you can use --replace option to remove all previous existed scenes with same names.

For example: step-upload go "path" --replace