potpourri3d icon indicating copy to clipboard operation
potpourri3d copied to clipboard

Add Geodesic Trace Function

Open zalo opened this issue 2 years ago • 2 comments

This PR exposes the Geodesic Trace Function, which I'm interested in using to wrap LED Strips around various shapes 😅

zalo avatar Jan 09 '24 18:01 zalo

Thanks! Happy to have this added :)

Is there any reason why you added it as a member of EdgeFlipSolver rather than a standalone function?

nmwsharp avatar Jan 10 '24 00:01 nmwsharp

Ah, good shout; not sure why I thought it was in the same class of Algorithms; I'll break it out.

Also, while I have you here, is there a reasonable way to make a SurfacePoint from a cartesian point (via nearest-triangle/edge/vertex search)?

zalo avatar Jan 10 '24 00:01 zalo

Thank you for this! I adapted it in d1db3bb8fbcc8507f90bfbe9194487073e5fab96. New version will be coming soon. I made a few small changes, most importantly taking the direction as xyz world coordinates, since its not simple for users how to get tangent coordinates.

nmwsharp avatar Jun 20 '24 07:06 nmwsharp

P.S. I forgot to do it on that one, but I also added you as a coauthor on the next commit so you don't get robbed of showing up as a contributor :)

nmwsharp avatar Jun 20 '24 07:06 nmwsharp