STP to GLB Converter Online: One-File Mesh | MiConvert

STP to GLB Converter Online

Upload a .stp file and get one binary GLB mesh that three.js, Babylon.js and Google's model-viewer can load. Plan one fix-up: the mesh keeps the STEP's millimeter, Z-up numbers, so most viewers show it lying on its back and 1,000 times too large until you rotate it -90 degrees about X and scale it by 0.001.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
STP → GLB

STP files in Google Drive?

Drive cannot preview STP files. Open one from Drive with MiConvert to turn the model in your browser, or convert it and save the result next to the original. MiConvert for Google Drive →

Getting an engineering STEP part into a web or AR viewer

STEP, usually saved as .stp, is the neutral format SolidWorks, Fusion, Inventor and CATIA use to exchange parts. Its geometry is mathematical surfaces, which a browser cannot draw. Web and AR viewers render triangles, and GLB, the single-file binary form of glTF 2.0, is what they load most readily, so a STEP part must be tessellated first.

FreeCAD 1.1 reads the STP on our server, its MeshPart module triangulates every solid, and the trimesh library writes the GLB in the same run, with no second program in the chain. Triangles deviate at most 0.1 mm from the true surfaces, with a 0.5 rad angular deflection, and that setting is fixed.

The shape survives at that tolerance, including every body in an assembly. What does not survive is structure: the GLB holds one mesh node, so an assembly arrives as a single object made of disconnected bodies that you cannot hide or animate separately. STEP colors and part names are never read, there are no materials, and the node is named after a temporary file rather than your part.

There is also no axis or unit conversion. glTF defines +Y as up and meters as the unit, while the GLB carries the STEP's millimeter numbers with Z as height. That is why the part looks tipped and oversized at first; one rotation and one scale in your scene or editor correct it.

This route suits developers building three.js or Babylon.js scenes, shops that show a part in 3D, and anyone who needs to preview a STEP file without CAD software. For manufacturing, keep the STEP: a GLB is a display mesh, not exact geometry.

How to convert STP to GLB

  1. Save the model as one STEP file with its geometry embedded. An assembly STEP that only points to separate part files gives the mesher nothing to work on.
  2. Consider removing hidden internal parts, such as fasteners inside a housing, in your CAD program first; every body adds triangles to the GLB.
  3. Upload the .stp or .step file. Per file you can send 50 MB as a guest, 100 MB with a free account, 200 MB on Plus and 1 GB on Pro.
  4. Download the GLB. The link works for about 4 hours.
  5. In your scene, rotate the model -90 degrees around X and scale it by 0.001; in three.js that is rotation.x = -Math.PI / 2 and scale.setScalar(0.001).
  6. Add your own materials, because the GLB arrives without any.

What the GLB contains

  • A single binary glTF 2.0 file with its buffer embedded, so there are no side files to keep together.
  • One mesh node holding every body, triangulated to an absolute 0.1 mm, which means a large housing gets the same accuracy as a small bracket.
  • Input repairs before reading: gzip-compressed content, UTF-16 encoding, a byte-order mark or a missing END-ISO-10303-21 terminator.
  • AP203, AP214 and AP242 boundary-representation STEP, plus AP242 files that already contain a tessellated mesh.
  • A check before delivery: a GLB without any mesh is rejected rather than handed to you as an empty file.
  • Batches of up to 10 files per request, 25 on Plus and 50 on Pro.

Video Tutorial

Changing a STP file to GLB has never been easier! Watch this detailed guide on how to do it completely free right in your web browser. 🔗 Visit MiConvert: https://miconvert.com/en/stp-to-glb?utm_sour

STP to GLB questions

Why does my GLB appear lying on its back and far too big?

The converter writes the STEP's coordinates unchanged: millimeters, with Z pointing up. glTF viewers read the same numbers as meters with Y pointing up, so a 100 mm part shows up as 100 meters, tipped 90 degrees. Rotate it -90 degrees around the X axis and scale it by 0.001 in three.js or Blender, and it will stand upright at its real size.

Can the GLB keep the colors, materials and part names from my STEP?

Not with this converter. It reads geometry only, so STEP colors, names and the assembly tree are lost, and the GLB has one mesh with no material. If you need separate, named parts, export them from your CAD program one at a time, convert each, and assemble the scene yourself.

Is there a Python way to convert STP to GLB?

This page has no code sample, but the method is not secret: FreeCAD's Part module reads the STEP, MeshPart triangulates it, and trimesh exports the GLB. Open-source libraries such as CadQuery or pythonocc-core can also read STEP in Python if you want to build your own pipeline.

Do I need to install CAD software or a viewer to convert?

No. The conversion runs on our servers, not in your browser, so you only need something to view the result, such as a web-based glTF viewer, a three.js or Babylon.js page, or Blender.

How long does an STP to GLB conversion take?

Typical single parts finish within seconds after upload. Large assemblies with many curved faces take longer because the mesher works to the same 0.1 mm accuracy everywhere; the meshing step stops after 10 minutes, which shows up as a timeout.

Would OBJ or glTF suit me better than GLB?

For web and AR, GLB is usually the simplest because everything is in one file. STP to OBJ gives a single .obj with no material file and no part groups. STP to glTF is not usable right now, because its .gltf download is missing the buffer files that hold the geometry, so choose GLB and unpack it if you need the JSON form.

Why did my STP fail instead of producing a GLB?

'No valid 3D geometry found' usually means the STEP references external part files or contains only curves; export a single file with solids. 'Could not read this 3D file' points to a truncated download or a file that is not STEP, such as a renamed SolidWorks part. Both messages are generic, so the exact cause is not always spelled out.

Where is my file processed, and how long is it kept?

Your STP goes over HTTPS to our server and is converted there; nothing is processed on your device. We delete the upload once the conversion completes. The GLB stays reachable through its random download link for roughly four hours, after which an automatic cleanup erases it, and until then the link works for anyone who has it. We do log metadata such as file names, sizes and outcomes.