Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
/ StlViewer Public archive
forked from omrips/viewstl

Custom version of "Viewstl Javascript plugin - STL/OBJ 3D files Viewer by viewstl.com"

License

Notifications You must be signed in to change notification settings

SimplyPrint/StlViewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StlViewer

This version has been modified to support a more integrated approach using the viewstl library.

Javascript STL/OBJ 3D files Viewer

Reads binary/ASCII STL files; OBJ files

Usage:

At the html page header / page body:

<script src="StlViewer.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"} ] });

Dependency on JSZip library:

This functionality has been removed from this version of the library.

About

Custom version of "Viewstl Javascript plugin - STL/OBJ 3D files Viewer by viewstl.com"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.8%
  • HTML 1.2%