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

point follow project python

#1
Hi, I would like to adjust what is already programmed as a PointFollow project in Robodk.

Is the python code available for adjustment?

Or can  I have it? 


Second question. 

a robot program is created automatically when I insert points from inventor.

In Python, how can I access the points from the program?

I want to create targets from the points, but they are not set as a target automatically. 
I want to work with these targets later on.

   

For example I want to create target from MoveL 3 and MoveL 4

Thanks very much
#2
What do you mean by "adjusting"?
Changing the default parameters? If so you should take a look at this example:
https://robodk.com/doc/en/PythonAPI/exam...g-settings


You can manually create the target by selecting one or more "MoveL X" and pressing "Select target".
I think you can reach the same result with:
program.ShowTargets(True)
https://robodk.com/doc/en/PythonAPI/robo...howTargets

Jeremy
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel


#3
yes, I do create targets manually by clicking by mouse + Select target.


when I use standard point follow program, where shall I paste
program.ShowTargets(True)
?
Normally there is no pathon script in the tree.


when using point follow program, I like how the program is automatically structured and generated.
I want to do something similar, but with the different sequence of points and twisted logic.

therefore having the python code of point follow program would be superb inspiration to do my specific task.
#4
Take a look at this video: https://youtu.be/Kx3rH5ouK7U
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel


  




Users browsing this thread:
1 Guest(s)