Hi. I’m interested in measuring the distance between points along a mesh. A simple example would be the circumference of a sphere - the actual meshes are more dynamic than a sphere. As a test I’ll be trying to measure the distance between points along the stanford bunny library model. I would also like to show this distance (a strip along the surface)
I’m posting here in hopes of getting a few ideas to approach this. Below is what I’m going to start on, please let me know if I should divert my attention to other efforts.
- Define points (at first a 360 degree slice at some height)
- Create ray cast intersection function to get location of mesh from some interior or exterior observation point (start at some inner section centroid)
- Call the function at intermediate points along the section (start with measurement at 1 degree)
- Calculate length along mesh by sum of change in measurements
I will also investigate creating a “path” at the intersection (of plane and mesh) and tracing or following / measuring the path.
I’m wondering about alternative approaches or built in functions - Any thoughts would be appreciated.
I’ll post PG’s as I move forward.