Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Is there an API to fully automate the new RoboDK CAM workflow?

#1
Hello RoboDK team and community,
     I am currently exploring the new CAM features recently introduced in RoboDK, and they look very promising for advanced robot machining and toolpath workflows.
I would like to know whether these new CAM-related functionalities (such as creating and configuring Machining Projects, loading NC/G-code toolpaths, and setting strategies/parameters) are fully accessible through the RoboDK API for automation purposes.
My goal is to build a fully automated pipeline where:
  • CAM toolpaths are generated externally
  • RoboDK automatically creates a Machining Project
  • All machining parameters (tool, frame, offsets, approach/retract strategies, etc.) are configured programmatically
  • The robot program is then generated and post-processed without manual GUI interaction
From the documentation and examples, I understand that it is possible to create machining projects using functions like "AddMachiningProject"and to load NC files via the API, and also to modify parameters such as tool or frame offsets programmatically.
However, I am not sure if the entire workflow exposed in the new CAM GUI (including all advanced machining settings and strategies) is fully controllable via the API, or if some parts are still GUI-only.
So my questions are:
  1. Is there a complete API coverage for the new CAM features?
  2. Are there recommended best practices to fully automate the CAM → RoboDK → Robot program pipeline?
  3. If some parameters are not yet available via the API, is there a roadmap to expose them in future releases?
Any guidance, examples, or best practices would be greatly appreciated.
Thank you for your continuous development of RoboDK — it is an incredibly powerful platform for automated robotic machining workflows.

Best regards,

YEN-SHUO
#2
Thank you for your feedback. What you can do with the API related to RoboDK CAM is a bit limited at this moment. You can trigger actions like pressing any of the button action in the CAM menu and toolbar. However, most features of the UI are still not available through the API. We are planning to improve our API for CAM related operations during the next few weeks.

For robot machining given NCI files. If you use RoboDK CAM you don't need to load NCI or G-code files. On the other hand, if you prefer using your NCI files you can load them in RoboDK can fully customize your robot machining project using the API. You can find an example here:
https://robodk.com/doc/en/PythonAPI/exam...g-settings

What CAM features would you like to see customizable via the API? It is better if you contact us by email so you can get in touch with our development team. We can make sure the API features we are developing match your needs.
  




Users browsing this thread:
1 Guest(s)