jaimerosales / forge-point-clouds

Experimental integration of THREE.PointCloud into Autodesk Forge Viewer.

Home Page:https://forge-point-clouds.autodesk.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forge-point-clouds

Experimental integration of THREE.PointCloud into Autodesk Forge Viewer.

Live Demo

Development

Prerequisites

Setup & Run

  • install dependencies: npm install
  • run the server with FORGE_CLIENT_ID, FORGE_CLIENT_SECRET, and MODEL_URN env. variables
    export FORGE_CLIENT_ID=<your client id>
    export FORGE_CLIENT_SECRET=<your client secret>
    export MODEL_URN=<your model urn>
    node server.js
  • alternatively, if you're using Visual Studio Code, use the following .vscode/launch.json configuration:
    {
        "version": "0.2.0",
        "configurations": [
            {
                "type": "node",
                "request": "launch",
                "name": "Launch Server",
                "program": "${workspaceFolder}/server.js",
                "env": {
                    "FORGE_CLIENT_ID": "<your client id>",
                    "FORGE_CLIENT_SECRET": "<your client secret>",
                    "MODEL_URN": "<your model urn>"
                }
            }
        ]
    }
  • go to http://localhost:3000

Browser Support

Chrome/macOS

Chrome/macOS

Firefox/macOS

Firefox/macOS

Safari/macOS

Safari/macOS

Chrome/Win10

Chrome/Win10

Firefox/Win10

Firefox/Win10

Edge/Win10

Edge/Win10

Safari/iOS

Edge/Win10

About

Experimental integration of THREE.PointCloud into Autodesk Forge Viewer.

https://forge-point-clouds.autodesk.io


Languages

Language:JavaScript 91.0%Language:HTML 9.0%