omrips / viewstl

Viewstl Javascript plugin - STL/OBJ 3D files Viewer by viewstl.com
MIT License
199 stars 49 forks source link

Download STL #27

Open jpchenel opened 2 years ago

jpchenel commented 2 years ago

Hi,

After changing the rotation, I try to download the model but the rotation isn't saved in the stl.

stl_viewer.rotate(0,90,0,0);
stl_viewer.download_model(0);

Best regards,

omrips commented 2 years ago

Hi, please save it as 'vsb' file, look here: https://viewstl.com/plugin/#sl_downloadvsb

vsb file will keep the orientation, colors, shading etc.