RoboDK Forum
Attach an object to an axis- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: Attach an object to an axis (/Thread-Attach-an-object-to-an-axis)

Pages: 1 2


Attach an object to an axis-Mario Mendes-10-14-2020

Good morning.
我公司于ld like to attach an object to an axis (arm) of the robot.
Suppose that I need to put a small box fixed in the axis 4. This box should move along with the axis 4, to allow me to check collisions.
Is it possible?
Thanks in advance.


RE: Attach an object to an axis-Jeremy-10-15-2020

Hi Mario,

Yes, it's possible, here's the method to do so.

1 - Import the object to add to the robot.
2 - Import the robot to the station
3 - Contact us via email to reach developer mode.
4 - Right-click the robot and select "Modify robot". That will open a window for custom robot building (keep it on the side, don't close it) and create a copy of the robot on the side.
5 - Position your object where you want on the robot copy.
6 - In your station tree, convert the parts of the robot to object (one by one, right-click -> "Convert to object")
7 - Select the object and the robot joint it's attached to, right-click -> "Merge"
8 - Bring back the custom robot window, make sure that all the parts of the robot are listed properly and click update.
9 - Test the newly created robot.

Jeremy


RE: Attach an object to an axis-Mario Mendes-10-15-2020

Hi Jeremy.
It works properly.
Thanks.


RE: Attach an object to an axis-ysli-11-01-2021

(10-15-2020, 01:10 PM)Jeremy Wrote:3 - Press XXXX to enter developer mode
Hi Jeremy,

How to exit developer mode after attaching an object?
Thanks,

Yishin


RE: Attach an object to an axis-Jeremy-11-01-2021

Press the same keys and select "No".

It should exit the dev mode.
If it doesn't, just restart RoboDK.

Jeremy


RE: Attach an object to an axis-Albert-11-01-2021

Hi Mario,

You can attach an object to a robot arm by following these steps:
  1. Select Tools-Run Script
  2. Select Add_Object_To_Robot
  3. Select the object if prompted
  4. Select the robot link
Albert


RE: Attach an object to an axis-ysli-11-08-2021

(11-01-2021, 03:49 PM)Albert Wrote:You can attach an object to a robot arm by following these steps:
  1. Select Tools-Run Script
  2. Select Add_Object_To_Robot
  3. Select the object if prompted
  4. Select the robot link

Hi Albert,

After doing "setp2 - Add_Object_To_Robot", there's no response from RoboDK.
Basically, with my DK-5.3.0, there's no script of "Run Script" can output any response.
I could run post process script, so the Python settings seems to be fine.

How should I proceed for the "Run Script" issue?

Thanks,

Yishin


RE: Attach an object to an axis-paulheck-11-08-2021

(10-14-2020, 10:21 PM)Mario Mendes Wrote:Good morning.
我公司于ld like to attach an object to an axis (arm) of the robot.
Suppose that I need to put a small box fixed in the axis 4. This box should move along with the axis 4, to allow me to check collisions.
Is it possible?
Thanks in advance.

Thanks for the useful information :)


RE: Attach an object to an axis-Jeremy-11-08-2021

Yishin,

Are you saying that none of your script are working?

Could you give it a go to ScaleXYZ?
It's a very simple script and you should see if it works right away.

Jeremy


RE: Attach an object to an axis-ysli-11-20-2021

(11-08-2021, 07:38 PM)Jeremy Wrote:Are you saying that none of your script are working?
Could you give it a go to ScaleXYZ?
Correct, none of the script is working.
For example, when I click "SacleXYZ", and click "OK", there's no new window pop out, no error message, neither.
FYI, my Python is installed in c:/Program Files/Python37.

Is it possible to catch any debug messages for clicking "ScaleXYZ"?

Yishin