I am using the SelectByRay Function to get the intersection point of a line and a surface.
Now I want to create a circle onto this surface at the intersection point.
I know the intersection point in 3D space and I can select the surface with the SelectByRay function.
But when trying to create a circle onto the surface with the coordinates of the intersection point, the circle appears somewhere completely different.
So I guess I have to use local coordiantes according to the surface instead of the global coordinates, right?
How can I calulate these local coordinates?