How can I script the process of generating g-code/toolpath in Fusion 360 for an STL file?

How can I script the process of generating g-code/toolpath in Fusion 360 for an STL file?

abhijeet-singh
Participant Participant
752 Views
2 Replies
Message 1 of 3

How can I script the process of generating g-code/toolpath in Fusion 360 for an STL file?

abhijeet-singh
Participant
Participant

I want to generate the g-code for a 3d printable STL file using Fusion API in Python. The process should start with
* Import the STL

* Make CAM setups

* Generate g-code/toolpath

* Simulate toolpath

* Hide printer bed, layout grid, and set camera parameters(like orientation and position)

* Take screenshots at specified layers

0 Likes
753 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor

The API for the Manufacturing functionality in Fusion is currently very limited. What you've described is not currently possible to automate.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes
Message 3 of 3

abhijeet-singh
Participant
Participant

Hi Brian,
Thanks for the reply. I'm glad to hear from you!

I understand that it is difficult to obtain the results I'm looking for. I'm making quite a progress though. I just want to know how can I click on a button using the script, as I'm trying to import machine info in the setup. Please refer to the screenshot below for clarification:

asherry137_0-1665812836407.pngasherry137_1-1665812846430.png

 

Best Regards,

Abhijeet Singh

0 Likes