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

Import tool orientation around z-axis form CAM-Software

#7
(09-07-2021, 07:04 PM)Jeremy Wrote:Take a look at this macro.
It's a step in the right direction.

Jeremy

Hey Jeremy,

Thank you for your effort.

Your macro prints out the following (and more):

Quote:Comau NS 12-1.85
T MoveJ 1
[[ -0.230, 0.958, -0.171 ],
[ 0.769, 0.286, 0.572 ],
[ 0.597, 0.000, -0.803 ]]

[[ -0.230, 0.958, -0.171 ],
[ 0.769, 0.286, 0.572 ],
[ 0.597, 0.000, -0.803 ]]

Pose(0.000, 0.000, 0.000, 0.000, 0.000, 0.000):
[[ 1, 0, 0, 0 ],
[ 0, 1, 0, 0 ],
[ 0, 0, 1, 0 ],
[ 0, 0, 0, 1 ]]

Pose(-582.173, 4.540, 930.260, -144.542, -9.822, -103.470):
[[ -0.230, 0.958, -0.171, -582.173 ],
[ 0.769, 0.286, 0.572, 4.540 ],
[ 0.597, 0.000, -0.803, 930.260 ],
[ 0, 0, 0, 1 ]]

If I understand it correct, I have to fill my data in the new_pose array right?

我还发现一个现有的脚本in RoboDK with the name "ImportCSV_XYZWPR.py". I changed it a little bit and it seems to work.

Blessings.
Alex


Messages In This Thread
RE: Import tool orientation around z-axis form CAM-Software - byAgentMuellermilch- 09-10-2021, 08:10 AM



Users browsing this thread:
1 Guest(s)