Hello, I am currently working on displaying multiple STL files using threeJS in a web page. I have successfully displayed one file, but I am stuck on how to render more than one STL file on the same page. Below is my existing code:
var container, camera, scene, renderer;
init();
animate();
// Code continues...
<div id="pratik"></div>
I am looking for guidance on how to include another STL file named 'mk6.stl' in addition to the current file. If anyone has experience with this and can provide assistance, it would be greatly appreciated. I tried using SketchFan, but it did not meet my requirements. Thank you.