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

IGNORE SOME OBJECTS WHEN USING COLLISION_LINE()

#1
[Python API]

I am using the Collision_Line() method to evaluate the distance from a specific point to the workpiece. The point I wish to sample from is potentially inside the tool. Is it possible to ignore collisions with certain objects when calling the Collision_Line() method? Or is there another similar method that does have this feature?

My current workaround it to move the tool out of the way then check the distance then put the tool back, but this bogs down when run for many targets.

There is no offset applied to the starting point of the line passed to Collision_Line() that would guarantee non-collision with the tool while still guarantee that collisions with the workpiece are detected.


Messages In This Thread
IGNORE SOME OBJECTS WHEN USING COLLISION_LINE() - bysig.johnnson- 06-01-2023, 05:20 PM



Users browsing this thread:
1 Guest(s)