# Foto in mappa di profondità

> Un modello AI stima la profondità di ogni pixel della tua foto. Scarica la mappa in PNG oppure la stessa profondità come rilievo 3D stampabile.

Human page: https://unmakelabs.com/it-it/foto-in-3d-stl/. This is the version for AI agents.

## What it does

Da una foto a mappa di profondità e 3D STL. Un modello AI stima la profondità di ogni pixel della tua foto. Scarica la mappa in PNG oppure la stessa profondità come rilievo 3D stampabile.

## Cos'è una mappa di profondità

Un'immagine in scala di grigi che rappresenta la distanza: ciò che è vicino è bianco, ciò che è lontano è nero. Chi fa video la usa per effetti parallasse e finti movimenti di camera 3D, chi usa Blender per il displacement, i fotografi per sfocare lo sfondo e i maker per ricavare rilievi. Questa pagina la crea da una normale foto, senza fotocamere speciali.

## Un modello aperto, gratuito

La profondità viene da un modello AI aperto con una licenza che consente l'uso commerciale. A differenza della maggior parte degli strumenti online per la profondità, ottieni anche una mesh 3D chiusa da stampare, fresare o aprire in qualsiasi programma 3D.

## Facts

- **Input:** Foto JPG, PNG, WebP
- **Modello:** Modello AI aperto per la profondità, libero per uso commerciale
- **Output:** PNG di profondità a 8 bit (vicino = bianco), rilievo STL
- **Risoluzione:** Fino a 1.024 px sul lato più lungo

## How a person does it

1. **Trascina una foto.** La prima volta serve un po' più di tempo per caricare il modello AI; poi la profondità richiede pochi secondi.
2. **Controlla la profondità.** La mappa di profondità compare nel pannello e come rilievo 3D nel visualizzatore. Ruotala per vedere cosa sta davanti a cosa.
3. **Scarica.** Il PNG della mappa di profondità per video, Blender o sfocatura; l'STL per la stampa 3D o la CNC.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/it-it/foto-in-3d-stl/?src=https://example.com/part.step`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=px,py,pz,tx,ty,tz&up=z&u=mm&sec=z,0.5,0`.

Embed: `<iframe src="https://unmakelabs.com/embed/3d/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: format, unit, bounding box (x, y, z), volume and surface area for closed meshes, watertight flag, part tree with names, triangle and part counts, plus PNG views (front, top, side, 3D). Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/prusa3d/PrusaSlicer/version_2.8.1/resources/shapes/cylinder.stl"}'
```

## Good to know

La profondità è relativa, non in metri: il modello stabilisce cosa è vicino e cosa è lontano e la mappa viene distribuita dal nero al bianco. I bordi degli oggetti sottili (capelli, foglie) risultano morbidi, e specchi o vetri possono essere sbagliati. Il PNG è a 8 bit (256 livelli) fino a 1.024 px. Per una mappa a 16 bit a gamma completa (incisione laser, displacement), usa la pagina della mappa di profondità per laser.

## Not done by this tool

- Non fornisce distanze reali in metri
- Non elabora ancora i video
- Non esporta ancora mappe a 16 bit o a piena risoluzione
- Non usa modelli di profondità più grandi (le loro licenze vietano l'uso commerciale)

## Value

Opens STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX and PLY files in any browser without installing anything, shows size, units, volume and parts, measures and cuts the model, and converts to STL, GLB or OBJ; it also gives the weight and 3D-print cost of a closed model (11 cited material densities, infill and walls, filament length, rough print time) and turns a photo into a watertight lithophane or relief STL, with an optional AI depth map.

## When it fits

- A user has a 3D file (STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX or PLY) and no program to open it, or needs its size, units, volume, part list or a picture of it.
- A user needs a conversion to STL, GLB or OBJ (for example STEP to STL for 3D printing, STEP or FBX to GLB for the web).
- A user needs the weight, filament length or material cost of a 3D print from an STL, 3MF, OBJ or STEP file.
- A user wants a lithophane, a relief STL or a depth map from a photo.

### When not

- Native CAD formats (SLDPRT, IPT, CATPart): not opened yet. DXF drawings open in the DXF viewer (unmakelabs.com/en-us/dxf-viewer/), Gaussian splats in the splat viewer (unmakelabs.com/en-us/gaussian-splat-viewer/).
- Editing, repairing or slicing a model, or reading tolerances (PMI) from STEP AP242.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a file from a public link in any browser (?src=), with measurements shown next to the model.
- POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect (live, no key) returns the same measurements as JSON plus PNG views (front, top, side, iso).
- Desktop CAD viewers need an install and often an account.
- This viewer opens files with no install and no account, and is free without limits, ads or sign-up.

### What rebuilding it would take

- Combine readers for eight 3D formats, including exact CAD geometry for STEP/IGES, and handle units and up-axis per format.
- Write watertight checks, volume and area code, section planes, point-to-point measuring and exporters.
- Keep it working across browsers and phones.
- A set of real sample files per format to test against, and upkeep as formats, browsers and phones change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are not uploaded to Unmake Labs; files given by link are fetched from where they are stored.

_Status: the web viewer works, and POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for public 3D/CAD files (STL, OBJ, PLY, GLB/GLTF, 3MF, STEP, IGES: sizes, units, volume, parts and picture views as data)._

## Privacy

- Files opened in the page are read by the browser on the user's device and never uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- The page loads its code from third-party hosts (listed on the privacy page), which receive the visitor's IP address for those requests.

## Data

Si apre nel browser; il file resta sul tuo dispositivo, a meno che tu non lo condivida. I file condivisi vengono conservati 30 giorni.

## FAQ

- **È davvero gratis?** Sì, senza registrazione. Oggi la foto viene elaborata sul tuo dispositivo, non caricata; vedi «Cosa succede al tuo file» qui sotto.
- **In che verso è la mappa?** Vicino è bianco, lontano è nero: la convenzione che si aspetta la maggior parte dei programmi video e 3D. Spunta Inverti se il tuo software vuole il contrario.
- **Posso usare la mappa di profondità per scopi commerciali?** Sì. La licenza del modello AI consente l'uso commerciale, e la mappa creata dalla tua foto puoi usarla come vuoi.
- **È davvero gratis?** Sì, senza limiti sul numero di file (fino a 300 MB ciascuno). Niente pubblicità, niente registrazione e nessun piano premium per visualizzare o convertire.
- **Caricate il mio file?** Solo se lo condividi. Un file condiviso viene conservato 30 giorni perché il link funzioni, e puoi eliminarlo quando vuoi. I dettagli sono nella sezione “Cosa succede al tuo file”.
- **Il mio agente IA può aprire file 3D?** Sì. Gli agenti chiamano POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect con il link a un file o un caricamento (senza chiave) e ricevono come dati dimensioni, unità, parti, volume e immagini delle viste del file. Un agente può anche aprire qualsiasi file pubblico in questo visualizzatore tramite link: basta aggiungere a questa pagina ?src= e l'indirizzo del file.
- **Chi c'è dietro?** Unmake Labs. Contatti: hello@unmakelabs.com.

## Related pages

- [Mappa di profondità per incisione laser](https://unmakelabs.com/it-it/mappa-profondita-incisione-laser/)
- [Visualizzatore di file 3D](https://unmakelabs.com/it-it/visualizzatore-3d-online/)
- [Visualizzatore file STEP](https://unmakelabs.com/it-it/visualizzatore-step-online/)
- [Visualizzatore di file STL](https://unmakelabs.com/it-it/visualizzatore-stl-online/)
- [Visualizzatore GLB e glTF](https://unmakelabs.com/it-it/visualizzatore-glb-online/)
- [Visualizzatore di file OBJ](https://unmakelabs.com/it-it/visualizzatore-obj-online/)
- [Visualizzatore di file IGES](https://unmakelabs.com/it-it/visualizzatore-iges-online/)
- [Visualizzatore file 3MF](https://unmakelabs.com/it-it/aprire-file-3mf/)
- [Visualizzatore di file FBX](https://unmakelabs.com/it-it/visualizzatore-fbx-online/)
- [Convertitore da STEP a STL](https://unmakelabs.com/it-it/convertire-step-in-stl/)
- [Convertitore da STEP a GLB](https://unmakelabs.com/it-it/convertire-step-in-glb/)
- [Convertitore OBJ in STL](https://unmakelabs.com/it-it/convertire-obj-in-stl/)
- [Convertitore da FBX a GLB](https://unmakelabs.com/it-it/fbx-in-glb-online/)
- [Calcolatore peso STL](https://unmakelabs.com/it-it/calcolare-peso-stl/)
- [Calcolatore costo stampa 3D](https://unmakelabs.com/it-it/calcolo-costo-stampa-3d/)
- [Calcolo peso file STEP](https://unmakelabs.com/it-it/calcolo-peso-file-step/)
- [Litofania da foto in STL](https://unmakelabs.com/it-it/litofania-da-foto/)
- [Da foto a STL](https://unmakelabs.com/it-it/da-foto-a-stl/)
