Linear Dimensions


I would appreciate it if someone could share any resource (link, demo, or tutorial) that covers drawing linear dimensions on any 3D object using Three.js Fiber. I want to achieve something like this:

Screenshot 2023-12-12 at 16.46.39

Thank you


You can use <Line /> and <Text /> from react-three/drei:

I used it like that:

Thanks for pointing me in the right direction. I was just hoping to find a specialized library for linear dimension to avoid a lot of coding :slight_smile:

Another interesting thing is this, maybe this is more what you are searching for:

Yeah, this is the closest to what I had in my mind. I would need to make some changes, but it will help me a lot. Thanks a lot!