mirror of
https://github.com/omrips/viewstl
synced 2026-01-02 20:29:58 +03:00
Update README.md
This commit is contained in:
@@ -22,4 +22,9 @@ Create a new instance of Stl Viewer (simplest initiation - read and view STL fil
|
||||
var stl_viewer=new StlViewer(document.getElementById("stl_cont"), { models: [ {id:0, filename:"mystl.stl"} ] });
|
||||
```
|
||||
|
||||
important! if script files are not at the same folder as your page is - use 'load_three_files' parameter:
|
||||
```
|
||||
var stl_viewer=new StlViewer(document.getElementById("stl_cont"), { load_three_files: **<your scripts folder>**, models: [ {id:0, filename:"mystl.stl"} ] });
|
||||
```
|
||||
|
||||
more at https://www.viewstl.com/plugin/
|
||||
|
||||
Reference in New Issue
Block a user