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

Create grid for drilling

#2
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
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.




Messages In This Thread
Create grid for drilling - bythomas- 01-26-2021, 03:13 PM
RE: Create grid for drilling - byJeremy- 01-28-2021, 09:59 PM
RE: Create grid for drilling - bythomas- 02-01-2021, 06:58 AM
RE: Create grid for drilling - bythomas- 02-11-2021, 12:29 PM
RE: Create grid for drilling - byJeremy- 02-11-2021, 02:38 PM
RE: Create grid for drilling - bythomas- 02-12-2021, 01:45 PM
RE: Create grid for drilling - byJeremy- 02-12-2021, 07:36 PM
RE: Create grid for drilling - bythomas- 03-06-2021, 10:51 AM



Users browsing this thread:
1 Guest(s)