model_urlstringwajib
URL of the 3D model (GLB, GLTF, FBX, OBJ or STL) as a public URL or data URI.
meshy/print/analyzeMeshy Analyze Printability checks a 3D model for watertightness, holes, non-manifold edges, degenerate faces and thin walls before printing.
Coba model ini
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Meshy Analyze Printability checks a 3D model for watertightness, holes, non-manifold edges, degenerate faces and thin walls before printing.
| Field | Type | Default | Notes |
|---|---|---|---|
model_url | string, required | β | URL of the 3D model (GLB, GLTF, FBX, OBJ or STL) as a public URL or data URI. |
printer_type | fdm / sla / full_color | β | Printer that sets the minimum wall thickness. |
intended_print_height_mm | number 1β1000 | β | Planned print height in millimeters (GLB input). |
intended_print_longest_side_mm | number 1β1000 | β | Planned print size by its longest side in millimeters (exclusive with intended_print_height_mm). |
status: ok, warning or error.issue_count / error_count / warning_count: Issue counts.metrics: is_watertight, volume, holes, non_manifold_edges, degenerate_faces.thin_walls: Thin-wall check when a print size is given.Free (Meshy charges 0 credits).
Mulai membangun
Kirim model ini melalui SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "meshy/print/analyze",
"model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Buat SandBase API key dan atur di environment server Anda. Semua permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key di server. Jangan tampilkan di kode browser atau commit ke repository.
POST ke /v1/run dengan ID model ini dan inputnya. Contoh permintaan di atas mencakup pengiriman dan polling.
Gunakan run ID yang dikembalikan untuk polling sampai status completed, failed, atau timeout. Baca output hanya setelah completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Kirim URL file yang dapat diakses publik di field image, video, atau audio model. Format dan batas yang didukung ditampilkan di samping setiap input Playground.
Gunakan kontrol upload atau replace pada field gambar yang didukung di Playground. Field URL video menerima video driving yang di-host; ini tidak berarti dukungan upload video.
model_urlstringwajibURL of the 3D model (GLB, GLTF, FBX, OBJ or STL) as a public URL or data URI.
printer_typestringPrinter that sets the minimum wall thickness.
Nilai yang mungkin: "fdm", "sla", "full_color"
intended_print_height_mmnumberPlanned print height in millimeters (GLB input).
Minimum: 1
Maksimum: 1000
intended_print_longest_side_mmnumberPlanned print size by its longest side in millimeters (exclusive with intended_print_height_mm).
Minimum: 1
Maksimum: 1000
{
"model": "meshy/print/analyze",
"model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb"
}Run yang selesai menampilkan hasilnya di output. Berikut adalah contoh tersimpan model ini, bukan generasi baru.
Belum ada contoh output yang dipublikasikan. Gunakan Playground β Result β JSON setelah run selesai untuk melihat respons Anda.