Spaces:
Running
Running
File size: 928 Bytes
db0bf42 a6a6f9b db0bf42 a2f76ca 4776a40 a2f76ca 4776a40 a2f76ca | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | ---
title: STL to TIFF Slicer
sdk: gradio
sdk_version: 6.10.0
python_version: "3.12"
app_file: app.py
fullWidth: true
short_description: Upload an STL and export a TIFF slice.
---
# STL to TIFF Gradio App
This project provides a Gradio app that takes an uploaded STL file, shows an interactive 3D viewer, slices it along the Z axis, saves each slice as a TIFF image, and lets you browse the stack inside the UI.
## Run
```powershell
uv sync --all-groups
uv run python app.py
```
Then open the local Gradio URL in your browser, upload an STL file, and generate the TIFF stack.
## What the app does
- Uploads a single `.stl` file
- Shows an interactive 3D viewer for rotating the model
- Lets you choose layer height and XY pixel size
- Produces one `.tif` image per slice
- Lets you step through the slice stack in the browser
- Exports a ZIP containing the generated TIFF images
## Test
```powershell
uv run pytest
```
|