omrips / viewstl

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

Download STL #27

Open jpchenel opened 1 year ago

jpchenel commented 1 year 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 1 year 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.