diff --git a/README.md b/README.md index 5c35552..687c2d1 100644 --- a/README.md +++ b/README.md @@ -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: ****, models: [ {id:0, filename:"mystl.stl"} ] }); +``` + more at https://www.viewstl.com/plugin/