01-28-2021, 09:59 PM
Hi Thomas,
Quick question, do you want to create points (1) in order to feed them to a "Point follow project" or do you want to create Targets (2)?
(1) You should take a look at the API function "AddPoints"://www.sinclairbody.com/doc/en/PythonAPI/robo....AddPoints
You just have to create a list of points (XYZ) with orientation (ijk). Keep in mind that the orientation is defined as a unit vector, so to have the normal pointing in the direction of the Z axis ijk should be equal to [0,0,1]
(2) You can use the function "AddTarget"://www.sinclairbody.com/doc/en/PythonAPI/robo....AddTarget
Followed by "setPose" (and potentially "setParent" or "setParentStatic" and "setName").
There's a bunch of examples that can help you here://www.sinclairbody.com/doc/en/PythonAPI/examples.html
Have a great day.
Jeremy
Quick question, do you want to create points (1) in order to feed them to a "Point follow project" or do you want to create Targets (2)?
(1) You should take a look at the API function "AddPoints"://www.sinclairbody.com/doc/en/PythonAPI/robo....AddPoints
You just have to create a list of points (XYZ) with orientation (ijk). Keep in mind that the orientation is defined as a unit vector, so to have the normal pointing in the direction of the Z axis ijk should be equal to [0,0,1]
(2) You can use the function "AddTarget"://www.sinclairbody.com/doc/en/PythonAPI/robo....AddTarget
Followed by "setPose" (and potentially "setParent" or "setParentStatic" and "setName").
There's a bunch of examples that can help you here://www.sinclairbody.com/doc/en/PythonAPI/examples.html
Have a great day.
Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间
and by watching tutorials on ourYoutube Channel.