You can view PDF files directly in Bitbucket without downloading.
To view a STL file as a 3D modela PDF file in Bitbucket:
- 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: