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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom tool path points using API?

Message 1 of 3
195 Views, 2 Replies

Custom tool path points using API?

The Python API lets you create setups and ops, which is great. Is it possible to go further and even supply a tool path via the API? E.g. calculate path points (and feeds and speeds etc...) by some means outside of fusion and insert an op in fusion with exactly these path points?


In the end, I would like to build a workflow something like this: I run a script in fusion. It creates a setup with a bunch of ops and full tool paths automatically. These toolpaths were computed by a python code outside of fusion. I inspect them in the fusion gui and decide I like some of the paths and dislike others. The ops I like I just keep. For the ones I dislike, I just delete the op in fusion and "manually" create a better op by pressing the right buttons in the fusion gui.

Labels (1)
Message 2 of 3
in reply to: janHUUUQ

Hi @janHUUUQ -San.


Basically, the CAM API only calls the functions that exist in the GUI programmatically, so it should not be possible to add new functions.

The only possibility, which I have not tried, is to create a 3D sketch line using externally obtained path points to create a trace.


I am not sure if this is realistic or not.

Message 3 of 3
in reply to: janHUUUQ

Thanks! In theory that should work, in practice I hit issues, like sketches with >1000 points are slow etc.

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

Post to forums  

Technology Administrators

Autodesk Design & Make Report