From d716f028f943b337ea36ba4dc36c345efb46f7ed Mon Sep 17 00:00:00 2001 From: nicolalandro Date: Sun, 21 Nov 2021 14:06:45 +0100 Subject: [PATCH] add simple example --- examples/html_file.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 examples/html_file.py diff --git a/examples/html_file.py b/examples/html_file.py new file mode 100644 index 0000000..99f484a --- /dev/null +++ b/examples/html_file.py @@ -0,0 +1,6 @@ +from obj2html import obj2html + +# run in the root folder, not inside exaples, to have the relative path working +obj2html('test/assets/model.obj', 'index.html') + +# open index.html on your favourite browser (if the model is large it can take more times)