10-31-2018, 11:20 AM
Hi Delicato,
我附加一个例子,它允许进口清单of points in RoboDK, automatically creating targets for each of the points and a program. The targets are created on the "Path Reference" and it allows you to adjust the position of your targets.
This macro creates only joint movements. You can later change the joint movements for linear movements.
Alternatively, you can use MoveL_Test to see if a linear movement is possible between 2 targets. You'll find an example that implements this method here:
C:/RoboDK/Library/Macros/MoveL_Test_Make_Cube_Program.py
我附加一个例子,它允许进口清单of points in RoboDK, automatically creating targets for each of the points and a program. The targets are created on the "Path Reference" and it allows you to adjust the position of your targets.
This macro creates only joint movements. You can later change the joint movements for linear movements.
Alternatively, you can use MoveL_Test to see if a linear movement is possible between 2 targets. You'll find an example that implements this method here:
C:/RoboDK/Library/Macros/MoveL_Test_Make_Cube_Program.py