Skip to content

ottobonn/stl-viewer

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

stl-viewer

An HTML custom element to render 3D STL models in a web page, used on my blog.

Include stl-viewer in your web page and then add the custom viewer element:

<html>
  <body>
    <script type="module" src="stl-viewer.js"></script>
    <stl-viewer model="test.stl"></stl-viewer>
  </body>
</html>

Pass the path or URI of the STL file in the model attribute.

About

An HTML custom element to render 3D STL models in a web page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published