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

Change Preferred Tool Orientation via API

#1
Hello again!
¿Is there any way to change these parameters via API?
Thanks


Attached Files Thumbnail(s)

#2
Take a look at this example:
//www.sinclairbody.com/doc/en/PythonAPI/exam...g-settings

You can find all available parameters using:
machining_settings = machining_project.setParam("Machining")
Please read the论坛Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .
#3
(02-01-2023, 01:32 PM)Sam Wrote:Take a look at this example:
//www.sinclairbody.com/doc/en/PythonAPI/exam...g-settings

You can find all available parameters using:
machining_settings = machining_project.setParam("Machining")

Thank you for the response.


Code:
“OrientXaxis2_X': 0.5820855000871991, 'OrientXaxis2_Y': -0.6790997501017323, 'OrientXaxis2_Z': 1.4472135954999579, 'OrientXaxis_X': 0.5820855000871991, 'OrientXaxis_Y': -0.6790997501017323, 'OrientXaxis_Z': 0.4472135954999579,



How I can convert those units to degrees? Not radians
#4
Good question... the XYZ values describe a vector.

What you see in RoboDK are polar coordinates to represent these unit vectors.




Users browsing this thread:
1 Guest(s)