From e06ffc6ddf67187af74ead519bbf3746e50aa022 Mon Sep 17 00:00:00 2001 From: omrips Date: Sun, 24 May 2020 10:58:37 +0300 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) 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/