Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2 REPLIES 2
Reply
Message 1 of 3
asherry137
249 Views, 2 Replies

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

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

2 REPLIES 2
Message 2 of 3
BrianEkins
in reply to: asherry137

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
Message 3 of 3
asherry137
in reply to: BrianEkins

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators