python API: find closest surface in a model
Hi,
thanks for the great work.
I am generating geometry using the OCC kernel using the python API. I would like add some additional geometric features near some points that I receive as user input. Before I can add the geometric features I would like to identify the closest surface in the model (and nearest point on this surface). Is it possible to do this out of the box?
I experimented occ/getParametrization. The function issues a warning when the point is not on the surface, but nevertheless returns a parametrization. I would still need to loop through all surfaces - which is not nice, feasible in my case.
Best Regards, Henrik