Media
Visionneuse de modèles 3D (STL / OBJ / glTF)
Téléversez un modèle STL, OBJ, GLB ou glTF : le serveur extrait sommets, triangles, dimensions de la boîte englobante, normales/UV, matériaux et animations glTF, puis le rend en temps réel avec three.js : rotation au glisser, zoom molette, modes ombré/fil de fer/normales, grille et axes. Les très gros modèles sont échantillonnés pour l'aperçu (les statistiques restent exactes).
Démarrage rapide
Appelez cet outil depuis votre code en trois langages.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/3d-model-viewer' \
-H 'Content-Type: application/json' \
-d '{"filename":"modelFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/fr/api/tools/3d-model-viewer' \
-F 'modelFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'renderMode=solid' \
-F 'background=dark' \
-F 'autoRotate=true'