Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vimaec/au2019-forge-revit-to-fbx
Demonstrates using the Forge Design Automation API for 3ds Max to convert Revit files to FBX using Node.JS
https://github.com/vimaec/au2019-forge-revit-to-fbx
3dsmax design-automation-3dsmax fbx forge revit
Last synced: about 1 month ago
JSON representation
Demonstrates using the Forge Design Automation API for 3ds Max to convert Revit files to FBX using Node.JS
- Host: GitHub
- URL: https://github.com/vimaec/au2019-forge-revit-to-fbx
- Owner: vimaec
- License: mit
- Archived: true
- Created: 2019-11-15T05:08:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T09:01:53.000Z (over 1 year ago)
- Last Synced: 2024-07-11T00:21:24.079Z (2 months ago)
- Topics: 3dsmax, design-automation-3dsmax, fbx, forge, revit
- Language: JavaScript
- Size: 39.3 MB
- Stars: 11
- Watchers: 4
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - vimaec/au2019-forge-revit-to-fbx - Demonstrates using the Forge Design Automation API for 3ds Max to convert Revit files to FBX using Node.JS (JavaScript)
README
# au2019-forge-revit-to-fbx
Demonstrates using the Forge Design Automation API for 3ds Max to convert Revit files to FBX.
This project was cloned from the [Forge Design Automation API for 3ds Max](https://github.com/Autodesk-Forge/design.automation.3dsmax-nodejs-basic).
# Setup
## Prerequisites
* Node.js 10 or later
## Running locally
1. Register for a Forge application at https://forge.autodesk.com/myapps/create#. You'll need the key and secret for building and running any sample apps
* Choose *Design Automation API V3* and *Data Management API* for the APIs you want to use in your app.
![](./forgeAPIs.png)
### Setup Config fileInside the /config folder you will see a file named ```default.json```.
2. Inside this file you will need to provide the following information:
```javascript
{
"forge": {
"clientId": "Setup your forge client id here",
"clientSecret": "Setup your forge client secret here",
"ossBucketName": "Choose a unique OSS bucket name where the inputs and output will be uploaded must be of the form [-_.a-z0-9]{3,128} "
}
}
```
3. Open a command prompt in the repo's root folder and follow these steps:- Install the npm packages by running:
```
npm install
```
- Create your appBundle by running:
```
node createAndUploadApp.js
```- Create your activity by running:
```
node createActivity.js
```- Launch a workitem to convert your 3dsMax file to FBX:
```
node executeWorkitem.js C:/path/to/yourfile.rvt
```## Developer Notes
The code for performing the work done in 3ds Max to import Revit, convert materials, and export the FBX file is performed
by a MAXScript script embedded in the handlebar template at:
https://github.com/vimaec/au2019-forge-revit-to-fbx/blob/master/templates/payloads/postActivityExportToFBX.hbs.## License
This sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). Please see the [LICENSE](LICENSE) file for full details.
## Written by
Christopher Diggins, [VIM](http://vimaec.com)
Jeremy Farand-Belanger, [Autodesk Inc.](http://autodesk.com)