FindUsingRay giving wrong results on cylindrical faces?

FindUsingRay giving wrong results on cylindrical faces?

gilsdorf_e
Collaborator Collaborator
593 Views
7 Replies
Message 1 of 8

FindUsingRay giving wrong results on cylindrical faces?

gilsdorf_e
Collaborator
Collaborator

Hi there, after not having success with the FindUsingVector method, I tried using FindUsingRay.

 

First it seemed to work, finding intersections withing a radius of the beam. But there seems to be an issue with cylindrical faces.

If the ray does not cross the cylinder directly (sideways), it will not return any intersections, even though most of the cylinder is inside the radius of 0.5 cm that has been used as input. Only if the ray hits the cylinder directly, this will result in an intersection.

 

For a box with the same silhouette (boundary box) as the cylinder, it will give an intersection.

 

Best regards

Erik

0 Likes
594 Views
7 Replies
Replies (7)
Message 2 of 8

gilsdorf_e
Collaborator
Collaborator

I found findUsingVector is even acting worse. ProximityTolerance does not seem to have an effect at all.

 

I have a  flat sheetmetal part with some drilled holes of 3,7mm. When I raster the face into 10mm raster and use findUsingVector it will not return any intersection points when the vector just passes through one of this holes, although ProximityTolerance is set to 0.5 (= 5 mm).

 

Please help.

0 Likes
Message 3 of 8

YuhanZhang
Autodesk
Autodesk

Can you upload your data and code for us to check it?



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 4 of 8

gilsdorf_e
Collaborator
Collaborator

Please view support case 10374949 for the data. Wayne Brill has verified this issue and logged this as Change Request 51377.

 

Best regards

Erik

0 Likes
Message 5 of 8

YuhanZhang
Autodesk
Autodesk

I got it. You can use the FindUsingVector instead, I tested it with same data and it can find the correct objects.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 6 of 8

gilsdorf_e
Collaborator
Collaborator

Hello,

 

thank you for your answer. But is FindUsingVector not searching in both directions? FindUsingRay will only search in direction of the ray. That would give me additional hits in an assembly context.

 

Best regards

Erik

0 Likes
Message 7 of 8

YuhanZhang
Autodesk
Autodesk

You are right, the FindUsingVector will search both sides.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 8 of 8

Hochenauer
Autodesk
Autodesk

Hi Erik,

 

by "raster", do you mean a rectangular pattern (grid) of points 10mmx10mm where you do your testing from?

Or is this referring to a hole pattern on the cylinder?

 

Just making sure there is no misunderstanding.

 

Cheers,

Gerald



Gerald Hochenauer
Senior Principal Engineer, Inventor
Autodesk, Inc.

0 Likes