cancel
Showing results for 
Search instead for 
Did you mean: 

TraceARay method has no radius specification?

Experimenter
Experimenter

Hi Forum

 

Is there a way to specify a ray radius when checking ray intersections via the NXOpen api? Or do i need to fire a bunch of individual rays manually?

1 REPLY

Re: TraceARay method has no radius specification?

Siemens Phenom Siemens Phenom
Siemens Phenom

The TraceARay function just intersects a ray (an infinite line) with the model.

 

If you want a "fat" ray, with a non-zero radius, you can either fire several rays, or intersect a cylinder. Or depending on what you're trying to do, maybe you can measure distance to the ray, instead of just intersecting it.

山田
yamada