SaiDAV-StlSaver/README.md

59 lines
1.4 KiB
Markdown
Raw Normal View History

2017-07-03 13:00:42 +02:00
Herosaver
=========
2017-07-03 14:10:56 +02:00
Save Configuration and STL of https://www.heroforge.com/
2018-12-30 16:40:56 +01:00
Update
------
2019-01-08 21:42:33 +01:00
Heroforge.com was recently changed. This broke loading the code and a lot of UI code. Exporting is still possible with a workaround (See below).
2018-12-30 16:40:56 +01:00
2017-07-03 14:10:56 +02:00
Usage
-----
1. Go to https://www.heroforge.com/
2. Open the Javascript Console [F12], then click on Console
3. Paste the following
2019-01-08 21:42:33 +01:00
```
var script = document.createElement('script');script.src = "https://code.jquery.com/jquery-3.3.1.min.js";document.getElementsByTagName('body')[0].appendChild(script);
```
4. Wait a few seconds, then paste
2017-07-03 14:10:56 +02:00
```
$("<script>").load("https://raw.githubusercontent.com/mrdoob/three.js/dev/build/three.min.js").appendTo($("body"))
2017-07-03 14:20:59 +02:00
$("<script>").load("https://raw.githubusercontent.com/christofsteel/herosaver/master/herosaver.min.js").appendTo($("body"))
2019-01-08 21:42:33 +01:00
```
5. Exporting
- To export the figure with the base
```
stl_base.click()
```
- To export the figure without the base
```
stl.click()
```
- To export the figure as JSON
```
sjson.click()
```
- To import a previously exported JSON (This may require disabling a popup manager)
```
ljson.click()
2017-07-03 14:10:56 +02:00
```
2017-07-03 14:19:21 +02:00
Limitations
-----------
2018-12-30 16:39:18 +01:00
Some details of the figures are implemented via shaders. These are not exported :( This is also the reason, the exported figures look a bit _blocky_. If you want hight quality exports, consider purchasing the stl files from heroforge :)