2

enter image description here

I have a 3d object of any shape and I want to measure it's circumference along a given axis, in the case of my example, the y axis where y = 5.

How would I take this measurement with three.js?

user11406
  • 1,208
  • 1
  • 13
  • 25
  • It's a bit hard to understand your question at the moment. Are you looking for a general solution for any object? are you looking for a solution just for cylinders, depending on their rotation? Please elaborate a bit more. – ScieCode Nov 07 '19 at 15:25
  • Updated the question. It would need to be able to measure the circumference of an object of any shape. – user11406 Nov 07 '19 at 15:39
  • 1
    Take a look at this [SO answer](https://stackoverflow.com/a/42353447/4045502). Just cut a geometry with a plane and find the sum of lengths of segments. – prisoner849 Nov 08 '19 at 11:12

0 Answers0