Currently, I am developing an application tailored for mechanical design and simulation tasks. Our goal is to incorporate Three.js for loading and visualizing parts created in Solidworks, most commonly exported as STL files in text or binary format.
Although Meshlab can convert STL files to OBJ or other formats, I find this extra conversion step to be an unnecessary burden on the workflow.
While Three.js offers support for Collada, OBJ, UTF-8, VTK, and JSON loading solutions, it lacks a clean example of STL support. I have come across some past solutions like https://github.com/tbuser/thingiview.js/blob/master/javascripts/thingiloader.js which I wish to avoid due to licensing, and https://github.com/tbuser/three.js/blob/master/utils/stl_geometry.js which does not seem fully integrated.
Could there be a solution that I have overlooked?