1eb6f8fee7 | ||
---|---|---|
LICENSE | ||
README.md | ||
herosaver.js | ||
herosaver.min.js |
README.md
Herosaver
Save Configuration and STL of https://www.heroforge.com/
Usage
- Go to https://www.heroforge.com/
- Open the Javascript Console [F12], then click on Console
- Paste the following
$("<script>").load("https://raw.githubusercontent.com/mrdoob/three.js/dev/build/three.min.js").appendTo($("body"))
$("<script>").load("https://raw.githubusercontent.com/christofsteel/herosaver/master/herosaver.min.js").appendTo($("body"))
Exporting the mount
Exporting the mount is not officially supportet, but with a bit of work, you can export the mount.
- Go to https://www.heroforge.com/ and design a Character with mount.
- Open the Javascript Console [F12], then click on Console
- Paste the following
$("<script>").load("https://raw.githubusercontent.com/mrdoob/three.js/dev/build/three.min.js").appendTo($("body"))
- Open a new tab and go to https://raw.githubusercontent.com/christofsteel/herosaver/master/herosaver.js
- Copy the whole content
- Paste it in the javascript console in the HeroForge tab, but do NOT press ENTER
- Find the line
var stlString = exporter.parse(CK.activeCharacter.threeObj.children[max_obj])
- Replace
max_obj
with2
, so that it reads
var stlString = exporter.parse(CK.activeCharacter.threeObj.children[2])
- Now the stl export only exports the mount.
Limitations
- Some details of the figures are implemented via shaders. These are not exported :(
- The base of the character is not exported, only the character. This made printing more easy.