Autodesk Forge application demonstrating possible usage in industrial construction.
Autodesk Forge sample application demonstrating features relevant to the area of industrial construction.
Master branch is deployed to https://forge-industrial-construction.autodesk.io.
The demo requires a Navisworks model that is split by area and discipline, and individual NWD files in a Forge bucket to be named in the following format:
<facility>-<area>-<discipline>.nwd
Where facility can be an arbitrary string, area is a number, and discipline is an arbitrary string as well. An example of such filename would be:
austin-123-structural.nwd
If you'd like to use a different naming of files or different extensions, you can modify the parsing logic in https://github.com/petrbroz/forge-industrial-construction/blob/develop/routes/data.js#L64.
npm install
export FORGE_CLIENT_ID=<client-id>
export FORGE_CLIENT_SECRET=<client-secret>
export FORGE_BUCKET=<bucket-name>
export GOOGLE_MAPS_API_KEY=<api-key>
export MONGODB_URL=<mongodb-connection-string>
npm start
{
"type": "node",
"request": "launch",
"name": "Launch Express Server",
"program": "${workspaceFolder}/server.js",
"env": {
"FORGE_CLIENT_ID": "<client-id>",
"FORGE_CLIENT_SECRET": "<client-secret>",
"FORGE_BUCKET": "<bucket-name>",
"GOOGLE_MAPS_API_KEY": "<api-key>",
"MONGODB_URL": "<mongodb-connection-string>"
}
}
This sample is licensed under the terms of the MIT License.
Petr Broz (@ipetrbroz), Forge Partner Development Group