Using the Fusion 360 API for LCA analysis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am doing a project where I try to automate LCA calculation of CAD models. My idea so far has been to apply different materials to a part to compare, and then extract the material and mass to be used as input in brightway2, an python based LCA tool. I have used Onshape and its REST API to achieve this.
I wanted to improve my solution by gaining accurate manufacturing details (CAM data) using Toolpath: https://apps.autodesk.com/FUSION/en/Detail/Index?id=5046667388184016035&appLang=en&os=Mac
I am new to the Fusion 360 API, so I was wondering if it would be possible to somehow "talk" to the Toolpath add-on using the Fusion API? I want to be able to input the access key and click "OK" as seen in the image
Also: is it possible to have multiple python files for a single script? When I try to import functions from a different python file, I get a module not found error. I could in theory have everything in one file, although this is not ideal. I am generally having a rough time with the API, getting the ECONNREFUSED 127.0.0.1:9000 error all the time.
Thank for for any help that I can get!!