Local OpenCascade CAD-to-Web Tool
STEP to GLB Converter
Tessellate mechanical .step and .stp CAD solids into a single binary .glb inside a local OpenCascade WebAssembly Worker — scaled to glTF 2.0 meters (0.001×) with CAD part colors or clean Studio Clay.
Your download is ready. Continue inspecting or converting locally:
- ✓ 100% free & unlimited
- ✓ Private — zero server upload
- ✓ Local OpenCascade WASM Worker
- ✓ No account or watermark
.step in CAD parts & mechanical exchange
.glb out Web, AR & real-time (single file) How to convert STEP / STP CAD files to GLB
Choose glTF unit scale & appearance
Keep 0.001× Meters (Web / AR) active for standard Three.js and AR Quick Look sizing, pick STEP Colors or Studio Clay, and drop your .step or .stp file.
Review OpenCascade tessellation & CAD telemetry
Inspect exact CAD Solids, Triangles, and Output Bounding Box dimensions. Toggle Wireframe to verify curved fillets and hole tessellation.
Download self-contained binary GLB
Click Convert to GLB to save a single .glb asset ready for Three.js, Google <model-viewer>, Shopify 3D, Babylon.js or Blender.
STEP vs GLB: Parametric B-Rep CAD vs WebGL Binary glTF
| Specification | STEP | GLB |
|---|---|---|
| Geometry representation | Exact mathematical NURBS & B-Rep solids (ISO 10303-21) | Tessellated indexed triangle meshes in binary glTF 2.0 |
| Supported CAD schemas | .step / .stp (AP203, AP214, AP242) | Single self-contained .glb binary container |
| Coordinate scale | Normalized to millimeters (mm) by OpenCascade | 0.001× Meters (glTF spec default) or 1× raw CAD mm |
| Part colors & shading | STEP solid / face RGB appearances | PBR MeshStandardMaterial (or uniform Studio Clay) |
| Assembly part names | STEP product / solid names | Preserved on exported GLB mesh nodes |
| Parametric history & PMI | Sketches, mates, tolerances & annotations | Omitted (display mesh only, non-parametric) |
| Native browser & AR playback | Not supported by browsers or mobile AR | Native in Three.js, model-viewer, WebXR & Shopify |
| Local safety bounds | 12 MB · 250,000 entities · 60s Worker timeout | Up to 1,000,000 tessellated triangles |
CAD B-Rep to Three.js, model-viewer & WebXR AR: Engineering Handoff Guide
Mechanical CAD kernels represent cylinders, fillets and enclosures as exact mathematical equations, whereas real-time GPU engines render indexed triangles in meter space. Here is how our local OpenCascade-to-GLB pipeline bridges the gap cleanly:
| Engineering Concern | Local STEP → GLB Pipeline | WebGL / AR Production Advice |
|---|---|---|
| 1000× oversized AR models (mm vs m) | OpenCascade outputs CAD coordinates in millimeters. In glTF 2.0, 1.0 unit equals 1 meter — so an unscaled 120 mm part renders 120 meters tall in AR. | Leave 0.001× Meters (Web / AR) selected so 120 mm exports as 0.120 m for accurate Apple AR Quick Look, Scene Viewer and Three.js physical cameras. |
| Garish CAD engineering colors | CAD engineers often assign high-contrast diagnostic colors (neon green, magenta) to distinguish assembly bodies in SolidWorks or Onshape. | Switch Appearance from STEP Colors to Studio Clay in the toolbar above to export a clean, neutral matte-gray PBR presentation model in one click. |
| Curved B-Rep surface tessellation | Exact NURBS trims and fillets are triangulated inside a terminable WebAssembly Worker with smooth vertex normals preserved. | Enable Wireframe in the viewport above before downloading to confirm cylindrical bores and fillets have clean shading. |
| Multi-body assembly draw calls | Each STEP solid becomes a named mesh primitive in the exported .glb, keeping sub-parts addressable in Three.js raycasting or exploded views. | For consumer mobile pages with 100+ fasteners, suppress internal screws/threads in CAD first or run gltf-transform merge/draco post-export. |
High-impact workflows for STEP to GLB
Three.js, React Three Fiber & Web Configurators
Turn SolidWorks, Fusion 360 or Onshape mechanical enclosures into lightweight binary GLBs with named sub-parts ready for interactive color/part configurators and exploded assembly views.
Shopify 3D, model-viewer & Mobile AR
Deliver meter-accurate .glb product twins for e-commerce pages and WebXR tabletop placement without paying for cloud CAD translation APIs.
Frictionless stakeholder design reviews
Share a single .glb file that opens in Windows, macOS, Slack previews or any browser viewer so industrial designers, PMs and clients can inspect hardware without CAD seats.
Zero-cloud NDA hardware security
Proprietary robotics, medical devices and unreleased consumer hardware are triangulated inside your local browser Worker — zero bytes are transmitted to external servers.
Why convert STEP to GLB inside the browser?
ISO 10303-21 STEP (.step / .stp) is the gold-standard mechanical interchange format across SolidWorks, Autodesk Fusion, Inventor, CATIA, Creo, FreeCAD and Onshape. Because STEP encodes exact boundary-representation (B-Rep) topology rather than GPU vertex buffers, web browsers, Three.js, Babylon.js, Unity, Unreal Engine and mobile AR frameworks cannot load STEP files directly.
Traditionally, converting STEP to GLB required either expensive desktop plugins, command-line Python/OpenCascade toolchains, or uploading confidential CAD intellectual property to third-party cloud servers. By running compiled OpenCascade WebAssembly inside a dedicated browser Worker with strict resource guardrails (12 MB input cap, 250,000 CAD entities, 60-second timeout, 1,000,000-triangle ceiling), this tool gives you instant, private CAD-to-WebGL conversion on any laptop.
About Standard for the Exchange of Product Data (.step)
STEP is a CAD exchange format that stores precise solid and surface geometry instead of only a triangle mesh. It is widely used to move mechanical parts and assemblies between CAD systems such as SolidWorks, Fusion 360, FreeCAD and Onshape.
About Binary glTF (.glb)
GLB is the binary form of glTF: a single self-contained file that packs geometry, PBR materials, textures and animation together. It is the preferred delivery format for the web, AR Quick Look and game engines because it loads fast and never loses its textures.
Compatible GLB software & slicers
The exported binary .glb loads natively across web 3D frameworks, e-commerce AR platforms and DCC suites:
- Three.js
- React Three Fiber
- Google model-viewer
- Babylon.js
- Shopify 3D / AR
- Blender
- Unity
- Unreal Engine
- PlayCanvas
- Godot
Engineering tips for optimal STEP → GLB exports
- Keep 0.001× Meters for web & AR. Three.js physically-based lighting, WebXR and Shopify 3D assume 1 glTF unit = 1 meter; switch to 1× CAD mm only if your custom viewer explicitly expects millimeter units.
- Suppress internal fasteners & helical threads in CAD. M3 screw threads and hidden internal PCB standoffs can multiply triangle counts 10× without adding visible exterior detail.
- Use Studio Clay for clean client previews. If your STEP export carries mismatched diagnostic solid colors from different suppliers, toggle Studio Clay above for instant neutral product shading.
- Archive your parametric .step master. GLB stores triangulated display geometry only — CAD feature trees, sketches and GDT/PMI tolerances cannot be reconstructed from a GLB.
Frequently asked questions
Are my proprietary .step or .stp CAD files uploaded anywhere?
No. The entire OpenCascade CAD parser and Three.js GLB exporter run locally inside your browser using WebAssembly and a dedicated Web Worker. Your mechanical designs never leave your machine, making this safe for confidential R&D and client hardware under NDA.
Why does this converter default to 0.001× Meters instead of 1× millimeters?
OpenCascade normalizes STEP geometry to millimeters, whereas the official Khronos glTF 2.0 specification mandates 1 unit = 1 meter. Without the 0.001× scale conversion, a 50 mm mechanical part imports as 50 meters wide in Three.js, Blender, Shopify 3D and AR Quick Look. If your pipeline expects raw millimeter coordinates, you can switch to 1× CAD mm in the toolbar above.
Does STEP to GLB preserve CAD part colors and assembly names?
Yes. Basic solid and face RGB colors parsed by OpenCascade are exported as metallic-roughness PBR materials in the binary GLB, and STEP solid names are preserved on mesh nodes. If you prefer a clean monochrome look for design review, toggle Appearance to Studio Clay.
Can I convert both .step and .stp files (AP203 / AP214 / AP242)?
Yes. Both .step and .stp file extensions store ISO 10303-21 CAD data. AP214 and AP242 exports commonly carry solid/face color metadata, while AP203 geometry exports cleanly with default or Studio Clay PBR materials.
What are the file size and complexity limits for browser STEP parsing?
To keep your browser responsive without server memory, this route accepts .step/.stp files up to 12 MB, pre-checks up to 250,000 STEP entities, enforces a 60-second Worker timeout, and caps output at 1,000,000 triangles. Defeature large multi-hundred-part assemblies in desktop CAD before web export.
How do I fix Z-up vs Y-up orientation in Three.js or Blender?
Blender's native glTF importer automatically handles coordinate conventions, while in custom Three.js scenes a Z-up CAD export can be oriented upright with model.rotation.x = -Math.PI / 2 if your source CAD system authored the assembly Z-up.