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

Create grid for drilling

#3
(01-28-2021, 09:59 PM)Jeremy Wrote: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

Hello Jeremy

Many thanks for your response. I think the AddPoints function from the API is the right direction. For a newbie like me, I found a solution with the Custom Curve Follow example. After the curve was generated, I was able to extract the points from the context menu via "Extract curve points". Then I was able to use the desired grid of points via the Point-Follow-Project.
I once attached this solution.

Thank you at roboDK for this great software.

By the way, is it possible to extend the period of the trial version?

Best regards,
Thomas


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)