---
title: "Convert - STEP to Draco-compressed glTF (.glb)"
method: POST
path: "/api/v1/convert/step-to-gltf-with-draco"
tags: ["Convert"]
---

# Convert - STEP to Draco-compressed glTF (.glb)

`POST /api/v1/convert/step-to-gltf-with-draco`

STEP → glTF conversion with Draco geometry compression using a previously uploaded file. Requires the 'convert' API key scope. Returns 202 with a task ID.

## Request body

- StepToGltfWithDracoBody — Convert a STEP file to Draco-compressed glTF with default settings. Upload the STEP file first, then pass its ID here.
  - `stepFileId` string, required — ID of the previously uploaded STEP file (returned by the file upload endpoint)
  - `meshPrecision` number — Mesh tessellation precision (lower = finer). Range: [0.0001, 10]
  - `meshAngle` number — Mesh angular deflection in radians. Range: [0.01, π]
  - `meshRelative` boolean — Use size-aware relative deflection per face. When true, meshPrecision is a fraction of each edge's length. Set to false for absolute deflection in model units.
  - `internalVerticesMode` boolean — Add interior vertices for better curved face fidelity (slower, set false for speed).
  - `controlSurfaceDeflection` boolean — Extra post-pass refining triangles that bulge beyond the deflection (slower, set false for speed).
  - `draco` DracoCompressionOptions — Draco geometry compression options applied during glTF export.
    - `useDraco` boolean — Apply Draco geometry compression to the glTF output. Defaults to true for the *-with-draco endpoints.
    - `dracoCompressionLevel` integer — Draco compression level (0 = fastest/largest, 10 = slowest/smallest). Typical good default is 7.
    - `dracoQuantizePositionBits` integer — Quantization bits for vertex positions (higher = more precise, larger file). Typical: 14.
    - `dracoQuantizeNormalBits` integer — Quantization bits for normal vectors. Typical: 10.
    - `dracoQuantizeTexcoordBits` integer — Quantization bits for texture coordinates. Typical: 12.
    - `dracoQuantizeColorBits` integer — Quantization bits for vertex colors. Typical: 8.
    - `dracoQuantizeGenericBits` integer — Quantization bits for generic vertex attributes. Typical: 12.
    - `dracoUnifiedQuantization` boolean — Use unified quantization across all meshes (better when meshes share a coordinate frame).

## Response `202`

Task accepted

- TaskAcceptedResponse — HTTP 202 response when a task is accepted for async processing
  - `ok` true, required
  - `data` TaskCreatedResult, required — Returned when a CAD task is accepted. Poll the statusUrl to track progress.
    - `taskId` string, uuid, required — Unique task identifier - use this to poll for status and retrieve results
    - `status` 'queued', required — Initial task status (always 'queued' upon creation)
    - `statusUrl` string, required — Relative URL to poll for task status updates

## Other responses

- `400` — Validation error
- `403` — Insufficient scope
- `500` — Server error

## Changes

- **2026-05-24** `b08f35b461c9` — 1 info
  - endpoint added
- **2026-04-17** `5eb4ed0f33c7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/changes/api/v1/convert/step-to-gltf-with-draco/post.md)

---

[API](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api.md) · [All operations](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitbybit-dev/bitbybit-cad-cloud-api/revisions/1135d4473bc2/schema)
