Skip to content

Molkavi/STL-Extractor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Herosaver

Methodology to Save Configuration and STLs from websites using the THREE.JS framework for academic and educational purposes.

Please Always think about the developers of such websites and try to support them whenever possible, as without them, there would be no such tools.

This is based on some ideas from TeaWithLucas, with a focus on making UI lighter & code simpler. I modernized the code a bit (class, let, const, arrow-fucntions, etc) and got rid of the inline UI (I like it better as a bookmarklet.)

Usage

Learn more about how to use this, here

development

You can run npm start to run a local watching dev-server, so you test the code on real site, and reload changes. Use this code to test in developer console:

// code-loader, like in console directions, set this up once
g = u => fetch(u || 'http://localhost:1234/herosaver.js').then(r => r.text()).then(eval)

// get JSON of scene
g().then(() => saveJson())

// get STL
g().then(() => saveStl())

todo

  • add greasemonkey support back

About

An educational tool for exporting stl from THREE.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%