add simple example
This commit is contained in:
parent
9eda4a57fa
commit
d716f028f9
6
examples/html_file.py
Normal file
6
examples/html_file.py
Normal 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)
|
Loading…
Reference in New Issue
Block a user