point follow project python可打印版本 +- RoboDK Forum (//m.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: point follow project python (/Thread-point-follow-project-python) |
point follow project python-Venari-11-22-2021 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 RE: point follow project python-Jeremy-11-22-2021 What do you mean by "adjusting"? Changing the default parameters? If so you should take a look at this example: //m.sinclairbody.com/doc/en/PythonAPI/examples.html#robot-machining-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) //m.sinclairbody.com/doc/en/PythonAPI/robolink.html#robolink.Item.ShowTargets Jeremy RE: point follow project python-Venari-11-23-2021 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. 在那里fore having the python code of point follow program would be superb inspiration to do my specific task. RE: point follow project python-Jeremy-11-25-2021 Take a look at this video:https://youtu.be/Kx3rH5ouK7U |