# viewstl **Repository Path**: mirrors_lepy/viewstl ## Basic Information - **Project Name**: viewstl - **Description**: Viewstl Javascript plugin - STL/OBJ 3D files Viewer by viewstl.com - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Viewstl Javascript STL/OBJ 3D files Viewer Reads binary/ASCII STL files; OBJ files Uses THREE.js lib - Can load THREE.js lib files in the background (no need to deal with THREE JS at all) Usage: ================ At the html page header / page body: ``` ``` At the page body, create an element to contain the Stl Viewer, and give it an ID: ```
``` Create a new instance of Stl Viewer (simplest initiation - read and view STL file called 'mystl.stl'): ``` var stl_viewer=new StlViewer(document.getElementById("stl_cont"), { models: [ {id:0, filename:"mystl.stl"} ] }); ``` more at https://www.viewstl.com/plugin/