I have been using ThreeJS for building my own web based CAD frontend. The API has amazing capabilities. My intent is to integrate the physics of the ThreeJS interface with a different product and sadly, the only supported common CAD format is STL. One of the most important inputs in FEA is the boundaries. In my case, they would be the faces of a 3d model, which can be arbitrary shapes and not triangles. Apparently, ThreeJS considers a Face3 as a face.
For example: a model converted from STL
This representation is also called as Boundary Representation.
Is there any way to get these faces in ThreeJS?
I tried the RayCaster but it did not work and my intent is to get a list of all the faces from the model beforehand.
Many Thanks