/aps-playground

Repo for exploring Autodesk Platform Services API (Forge) with Flask on server side

Primary LanguagePython

APS (Autodesk Platform Services)-Playground

Repo for exploring Autodesk Platform Services API (Forge) with Python-Flask on server side. Use docker to deploy and development.

To run

  1. Clone repo and add your docker.env file into app folder. Add your APS Credentials to docker.env file:
APS_APP_ID=<your-app-id-here>
APS_APP_SECRET=<your-app-sercet-here>
FLASK_APP_KEY=<any-random-string>
  1. Run in terminal docker compose up --build in root folder.

For Development

Create devcontainer.env file, env-variables same as above. For development you can use devcontainer with devcontainer.env file.

Simple Viewer

Model uploaded vie Autodesk Platform Services (VSCode Extension).

2023-08-13_21h31_05

Model urn hardcoded here:

const documentId = 'urn:' + 'dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6c2FtcGxlLXByb2plY3RzL0RBQ0hfc2FtcGxlX3Byb2plY3QucnZ0'