from experience I know some software will not by default import lines and curves from a step file.. it could be a matter of changing the import settings in solidworks. https://help.solidworks.com/2019/english/solidworks/sldworks/t_reading_step_iges_acis_sw.htm
Well, it took less time this morning than anticipated!
I think my theory was right.
I have revised two lines in the intersectTriangle method.
first line was
I replaced with
similarly at the end
I think this allows for a bit of tolerance, which I think is ok since dealing with meshes...
I have found that some edges are a bit problematic .. On this impeller, the seam in the center appears to create issue with the detection of hit points. My guess is that it is just missing the triangle. I guess this will be today's investigation haha!
My first Idea was to see if Shape healing...
@Quaoar , thanks for the resources. I will be sure to post my progress
we shall see where this leads me, I am pretty much just exploring at this point and learning!
I do understand what the BVH tree is, but at this point, it's bit unclear how it is built and how to iterate through it. Gotta...
@Quaoar , I just visualized the data.. I have not really thought of a way to store it.. I am guessing a bvh tree would work.. I don't know if there would be a better one for this application.
I was not aware of the paper.. I will read for sure.
Adaptive voxelization would be like an octree ...
if you use isKind method you will be able to see what kind of ais object
// nice' its myaisobject. let do stuff with it!
I am not sure you may need to hold a ref to the TopoDS_Shape in your MyAisObject to be able to retrieve it easily.