It seems that the UV surfaces are not very covered by documentation.
I think it could be very useful to submit some code about mapping things on surfaces or obtain paths to make thread and similar things.
distToShape() in my mind was not related, but I'm open for suggestions and some example code.
Probably also some code about determining UV coordinates to place Character like shapes on curved surfaces (At least for me a part for some macro around the entire mechanism has some "dark spots".
Ultimate goal is to cover Scripting and some "not basic" techniques. UV Surfaces (and UV Coordinates) seem to be a good starting point.
Edit:
I have a problem described here:
https://forum.freecadweb.org/viewtopic.php?f=22&t=70078
End Edit
TIA and Regards.
Carlo D.