RoboDK Forum
setMachiningParameters additional options - defining the algorithm可打印版本

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: setMachiningParameters additional options - defining the algorithm (/Thread-setMachiningParameters-additional-options-defining-the-algorithm)



setMachiningParameters additional options - defining the algorithm-MarkusL-05-19-2020

Hi,

I am currently working on setting up a curve-follow-project using the Python API.

I need to specify the algorithm to "Robot holds object & follows path". (See picture)
Currently I have to do that by hand.



setMachiningParameters(ncfile='', part=0, params='')
offers the opportunity to define additional options (params=...), like the tool orientation or the approach path. But I can't find any information in the documentation (Python and C++) on how to define the algorithm. Or a general overview of all options, which would be very helpful.


RE: setMachiningParameters additional options - defining the algorithm-Albert-05-20-2020

Hi Markus,

这example shows how you can change any setting in the robot machining menu, including the program events, using a dictionary (or a JSON string):
//m.sinclairbody.com/doc/en/PythonAPI/examples.html#robot-machining-settings
The next example shows how you can change the optimization parameters if you have external axes.

这method was added recently so I recommend you to update RoboDK.

Albert