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

Attach a tool to an Item that's not a robot

#1
Hi everyone,
I need to export an Item from RoboDK as a tool because I need it to have its own zero and a fixed frame on the surface (basically the zero where the flange is and the frame where the suction cups are, in the case of a gripper).
I then need to load this tool and attach it to an object that's not a robot, keeping the two frames alive.
If I try to drop my tool under another item, it gets changed to a generic item and it loses the suckers frame.
Is there a way to accomplish this?
Thank you!
#2
是的,你可以完成有限公司nverting a tool to an object and vice versa with a custom script.

For example, you can do this to drop the tool:
Code:
tool.setParentStatic(reference)
tool.setParam("Convert", "Tool")
And you can do this to pick it up:
Code:
tool.setParentStatic(reference)
tool.setParam("Convert", "Object")
#3
Thank you a lot! I missed this command in the list. It works perfectly




Users browsing this thread:
1 Guest(s)