Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Efficient Geometry Querying for Interference Calculation

1 REPLY 1
Reply
Message 1 of 2
nnamfoh
369 Views, 1 Reply

Efficient Geometry Querying for Interference Calculation

References the interference calculations in this sample: http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-613cb65c-61c3-11e5-9a1c-3417ebd3d5be

 

Do the interference calculations available through the API use any efficient Geometric Querying techniques. For example, you could quickly decide there is no interference between two bodies if their BoundingBox's don't intersect and you can isolate intersections by comparing bounding boxes on Lumps, shells, faces etc.

 

I'm asking because I want to efficiently find the bodies that are intersected by the results of a new Feature. I have to check it against all of the bodies in a model which is speed up if I treat the component hierarchy like a BVH but I don't want the calculation done twice ( when i traverse the BVH and when the API does the query).

1 REPLY 1
Message 2 of 2
ekinsb
in reply to: nnamfoh

I don't know the specific details of how the interference calculation is done but I'm certain it is doing work to make the calculations as efficient as possible.  I'm confident in saying that it will calculate the intersections faster than you would be able to extract the geometry and build the data structures to do the calculations yourself.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report