@Conclusion

Generating the edges takes a lot of time, so we decided we’ll park this feature

October 9, 2023

Looked into this a bit. Used the vanilla EdgeGeometry from three.js to generate the edges. It works to an extent, but the result is greatly dependent on the angle threshold value we provide. This is visible in the video below

bandicam 2023-10-09 14-08-53-198.mp4

The edges were generated by an extension I made and currently are for display purpose only. I think we might be able to do a hybrid approach where for objects where we do have edge data (like breps) we generate the edges based on that data, and for the rest we just generate them ourselves. We’ll have to find a suitable threshold angle though. Additionally if we want to extend the usefulness of the edges beyond simple display, say we want to “click on an edge of the object and do something by that edge” we’ll need to integrate knowledge for edges inside the viewer-core. With this in mind, here are some topics for discussion regarding the edges (if we wan to move forward with them)