STEP to GLB: CAD parts for the web and game engines

Drop a STEP file, .step or .stp, and save it as GLB for a web page, a product viewer, Unity, Unreal or Blender: one node per part with its CAD name and colour, scaled to metres and turned Y up as glTF expects. The file is read in this browser tab and never uploaded.

Drop a STEP file here, or click to choose one

.step or .stp, AP203, AP214 or AP242. Read in this tab, never uploaded.

Your file is read in this browser tab and is never uploaded. We only learn that a file was picked, its type and size class, and the settings used.

STEP files are read with Open CASCADE Technology through occt-import-js, both under the LGPL-2.1: OpenCascade licence · occt-import-js licence · source code of the version used

What comes across, and what cannot

Comes across

  • · a node and a mesh per ticked part, with its name
  • · part colours as materials, and face colours where the file has them
  • · the parts' places, in metres with Y up

Does not

  • · exact curved surfaces, which become triangles
  • · textures, which STEP files do not have

How to convert a STEP file to GLB

  1. Drop the .step or .stp file, or try the sample assembly.
  2. Pick the quality: Draft keeps a web page light, Fine keeps curves smooth up close.
  3. Untick the parts you do not need.
  4. Download the GLB.

Metres and Y up, done once

CAD works in millimetres with Z up; glTF says metres with Y up. The GLB holds the parts exactly as the STEP file has them under one root node that scales by 0.001 and turns the model upright, so it arrives at its real size and the right way up in every glTF viewer. Each part is its own node, so a web page can hide, move or highlight it by name.

Questions

Is my STEP file uploaded?

No. It is read and converted in your browser tab. We only learn that a file was picked, its type and size class, and the settings used.

Will the GLB be the right size?

Yes: glTF is in metres, and the file's millimetres are scaled accordingly. A 100 mm part is 0.1 units long.

Are the parts kept apart?

Yes. Each ticked part is a node with its own mesh and name.

Saved your GLB?

Check it in the GLB viewer, or make it smaller with the GLB compressor. For printing, STEP to STL.