8000 GitHub - rexfordkelly-on-JS/viewstl: Viewstl Javascript plugin - STL/OBJ 3D files Viewer by viewstl.com
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rexfordkelly-on-JS/viewstl

 
 

Folders and files

Name
Name
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

<script src="stl_viewer.min.js"></script>

At the page body, create an element to contain the Stl Viewer, and give it an ID:

<div id="stl_cont"></div>

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/

About

Viewstl Javascript plugin - STL/OBJ 3D files Viewer by viewstl.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%
0