You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Mario Voigt fc6b0efcb6 Initial commit 1 month ago
build Initial commit 1 month ago
models Initial commit 1 month ago
scripts Initial commit 1 month ago
stylesheets Initial commit 1 month ago
.gitignore Initial commit 1 month ago
.nojekyll Initial commit 1 month ago
Makefile Initial commit 1 month ago
README.md Initial commit 1 month ago
index.html Initial commit 1 month ago

README.md

stl_web_viewer2

Demo: https://brentyi.github.io/stl_web_viewer2/

Friendly utility for embedding 3D models into webpages.

Basically the same as the original, but with less nodejs nonsense.

Usage:

<!doctype html>
<html>
  <head>
    <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/106/three.min.js" integrity="sha256-tAVw6WRAXc3td2Esrjd28l54s3P2y7CDFu1271mu5LE=" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="https://brentyi.github.io/stl_web_viewer2/build/stlwebviewer2.css" />
  </head>
  <body>
    <div class="stlwv2-model" data-model-url="models/planet_gear.stl"></div>
    <script src="https://brentyi.github.io/stl_web_viewer2/build/stlwebviewer2.js"></script>
  </body>
</html>