I'm trying to find the closest point on the surface of an imported STEP object, to an XYZ point in space.
I think using GeomAPI_ProjectPointOnSurf and then NearestPoint would normally work, but the former needs a surface, and doesn't seem to like the AIS_InteractiveContext of my STEP model.
Is there another way of doing it? Can I break up my STEP model into seperate surfaces?
Any help appreciated.