Skip to content

Digital Twin Demo:Various use cases in manufacturing, specifically in context of digital twins.

License

Notifications You must be signed in to change notification settings

autodesk-platform-services/aps-digital-twin

Repository files navigation

Digital Twin Demo

Platforms Node.js License

Viewer Data-Management Model-Derivative

Intermediate

Autodesk Platform Services application demonstrating various use cases in manufacturing, specifically in context of digital twins.

thumbnail

Live demo

Master branch is deployed to https://aps-digital-twin.autodesk.io.

Development

Prerequisites

Setup

  • clone this repository
  • install dependencies: npm install
  • run server with all the required env. variables
    • for example, on macOS:
      export APS_CLIENT_ID=<client-id>
      export APS_CLIENT_SECRET=<client-secret>
      export APS_MODEL_URN=<model-urn>
      export MONGODB_URL=<mongodb-connection-string>
      npm start
    • or, when using Visual Studio Code, add this configuration to your .vscode/launch.json:
          {
              "type": "node",
              "request": "launch",
              "name": "Launch Express Server",
              "program": "${workspaceFolder}/server.js",
              "env": {
                  "APS_CLIENT_ID": "<client-id>",
                  "APS_CLIENT_SECRET": "<client-secret>",
                  "APS_MODEL_URN": "<model-urn>",
                  "MONGODB_URL": "<mongodb-connection-string>"
              }
          }
  • go to http://localhost:3000

Bootstrap theme

The project uses a custom Bootstrap theme. In order to customize it:

  • modify tools/bootstrap-theme/custom.scss
  • run npm build:client to update public/stylesheets/bootstrap.css
  • commit the new version of the CSS file

Deployment

Deploy

Sample data

The jet engine model used in the live demo can be obtained from https://knowledge.autodesk.com/sites/default/files/file_downloads/Jet_Engine_Model.zip.

Support

For support, please contact forge.help@autodesk.com.

License

This sample is licensed under the terms of the MIT License. Please refer to LICENSE for more details.

Written by

Petr Broz (@ipetrbroz), Varun Patil, APS Developer Advocates