You can view files with the *.stl extension as 3D models directly in Bitbucket. It is possible to spin and zoom them.
To view a STL file as a 3D model:
- Navigate to the Source section on the left-hand sidebar in your repository
- Locate a file you would like to view
- Select the 'View as 3D model' option in the 'Default File Viewer' menu: