Posts: 2
Threads: 1
Joined: Oct 2020
              
Reputation:
              
0
              
              
              
              
            
             
             
              Good morning.
我想将一个对象附加到一个轴(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.
             
             
            
            
           
           
           
            
             
             
             
             
             
              Posts: 1,832
Threads: 2
Joined: Oct 2018
              
Reputation:
              
72
              
              
              
              
            
             
              
              
              
              10-15-2020, 01:10 PM
                (This post was last modified: 11-01-2021, 03:51 PM byJeremy.)
                
              
             
              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
             
             
            
            
           
           
           
            
             
             
             
             
             
              Posts: 2
Threads: 1
Joined: Oct 2020
              
Reputation:
              
0
              
              
              
              
            
             
             
              Hi Jeremy.
It works properly.
Thanks.
             
             
            
            
           
           
           
            
             
             
             
             
             
              Posts: 1,832
Threads: 2
Joined: Oct 2018
              
Reputation:
              
72
              
              
              
              
            
             
             
              Press the same keys and select "No".
              
It should exit the dev mode.
If it doesn't, just restart RoboDK.
              
Jeremy
             
             
             
             
             
            
            
           
           
           
            
             
             
             
             
             
              Posts: 1,832
Threads: 2
Joined: Oct 2018
              
Reputation:
              
72
              
              
              
              
            
             
             
              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