add simple example

This commit is contained in:
nicolalandro 2021-11-21 14:06:45 +01:00
parent 9eda4a57fa
commit d716f028f9

6
examples/html_file.py Normal file
View File

@ -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)