Workaround for new design

This commit is contained in:
Hammy 2019-01-08 21:42:33 +01:00 committed by GitHub
parent db87597d31
commit 74460ad215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 1 deletions

View File

@ -6,7 +6,7 @@ Save Configuration and STL of https://www.heroforge.com/
Update
------
Now also exports the base and the mount (and if you hide the rider, only the mount) :)
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).
Usage
-----
@ -15,9 +15,41 @@ Usage
2. Open the Javascript Console [F12], then click on Console
3. Paste the following
```
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
```
$("<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"))
```
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()
```
Limitations