1. How STEP (ISO 10303-21) & IGES Differ from Mesh Formats (STL / GLB)
Mechanical CAD suites—including SolidWorks, Autodesk Fusion, CATIA, Siemens NX, Onshape, and FreeCAD—represent parts using Boundary Representation (B-Rep) and exact mathematical NURBS curves and surfaces. Inside an ASCII .step (ISO-10303-21 AP203/AP214/AP242) file, a cylinder is not a collection of flat triangles; it is an analytic CYLINDRICAL_SURFACE entity defined by an axis placement and exact floating-point radius. Legacy IGES (.igs / .iges) files store trimmed parametric surfaces inside fixed 80-column punch-card-era records tagged S (Start), G (Global), D (Directory Entry), and P (Parameter Data).
By contrast, 3D printing slicers (Bambu Studio, PrusaSlicer, Cura) and real-time WebGL engines (Three.js, Babylon.js, Blender) require discrete triangle meshes. Converting a STEP or IGES assembly into binary .STL or .GLB requires a full geometric kernel capable of evaluating curved NURBS patches and stitching adjacent face boundaries into a clean polygon mesh—a process called tessellation. Adawaty Pro executes the real OpenCascade (OCCT) geometric kernel compiled to WebAssembly inside your local browser RAM, keeping proprietary industrial prototypes and defense/medical CAD parts completely off external cloud servers.
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('STEP AP214 Assembly'),'2;1');
FILE_NAME('bracket_v4.step','2026-11-22T10:00:00',('CAD Eng'),('Lab'),'OCCT','','');
ENDSEC;
DATA;
#10=CARTESIAN_POINT('',(0.0,0.0,0.0));
#11=CYLINDRICAL_SURFACE('',#12,12.5);
ENDSEC;
END-ISO-10303-21;
2. Step-by-Step 3D CAD Conversion Workflow
- Validate & Load Your CAD File: Drop any
.step,.stp,.iges, or.igsfile into the dropzone above. Our header validator immediately verifies theISO-10303-21or IGES section structure before invoking WebAssembly. - Inspect the Interactive 3D Viewport: Orbit, zoom, and pan around your tessellated assembly inside the Three.js canvas. Toggle Wireframe mode to audit triangle density along fillets, holes, and curved chamfers, and check the exact part, triangle, and vertex counts.
- Select Your Export Format (
To :): Choose Binary STL (.stl) for 3D printing slicers (producing a compact 50-byte-per-triangle binary mesh rather than bloated ASCII STL) or Binary glTF (.glb) to preserve multi-part RGB colors for web/AR viewers. - Export Locally: Click Convert & Download / Convertir to serialize and save your 3D mesh directly from local RAM.
3. Engineering Format Comparison Table
| Format | Geometry Model | Colors & Parts | Best Downstream Tool |
|---|---|---|---|
| STEP (.step / .stp) | Exact B-Rep / NURBS | Yes (AP214/AP242) | SolidWorks, Fusion, FreeCAD, CNC CAM |
| IGES (.igs / .iges) | Parametric surfaces | Limited | Legacy CAD & aerospace tooling |
| Binary STL (.stl) | Raw triangle facets | No (geometry only) | Bambu Studio, PrusaSlicer, Cura |
| Binary GLB (.glb) | Indexed PBR meshes | Yes (materials & nodes) | Three.js, Blender, AR Quick Look, Unity |
4. Troubleshooting Units, Deflection & Large CAD Assemblies
- Millimeters vs. Inches in 3D Slicers: STL files store unitless floating-point coordinates. Our OpenCascade importer normalizes units to millimeters (
linearUnit: 'millimeter'), matching the default scale expected by PrusaSlicer, Cura, and Bambu Studio. - Surface-Only IGES Exports: Unlike STEP solids, older IGES files sometimes export disconnected surface patches rather than stitched closed solids. Inspect the model in Wireframe mode and run your slicer's auto-repair if a legacy IGES part has open boundary edges.
- Browser Memory on 100+ MB Assemblies: Massive automotive or factory-floor STEP assemblies with thousands of fasteners can exceed WebAssembly's 2 GB heap cap. Export sub-assemblies individually from your CAD tool for smooth browser tessellation.
Troubleshooting CAD Imports, Units, and Slicer Readiness
Engineers moving mechanical assemblies from SolidWorks, Fusion 360, FreeCAD, or CATIA into 3D printing slicers or web viewers frequently encounter three recurring issues: mismatched physical units, non-manifold shell gaps, and excessive triangle density. STEP AP214 and AP242 files store an explicit SI_UNIT or CONVERSION_BASED_UNIT record inside the DATA; section, whereas older IGES files encode units as an integer flag inside the Global (G) section (1 for inches, 2 for millimeters, 6 for meters). Because the STL format carries no unit header, slicers such as PrusaSlicer, OrcaSlicer, and Bambu Studio default to millimeters. If a part designed in inches imports 25.4 times smaller than expected, scale it by 2540% in your slicer or export from your CAD package in millimeters before tessellation.
Binary STL exports generated by this converter write an 80-byte ASCII header, a 4-byte unsigned 32-bit triangle count, and 50 bytes per facet (three 32-bit floats for the face normal, nine 32-bit floats for vertices, and a 2-byte attribute count). Compared with ASCII STL, binary STL reduces file size by 75% to 85% while keeping identical geometric precision. When preparing parts for interactive product configurators, AR Quick Look, or Three.js web apps, choose GLB instead: GLB packages the indexed vertex buffers, normals, and PBR material definitions into a single binary glTF 2.0 container that loads directly into Blender, Unity, Unreal Engine, and modern browsers without losing part hierarchy or material colors.
For multi-body assemblies exceeding 50 MB, close heavy browser tabs so the WebAssembly heap has sufficient contiguous memory during OpenCascade tessellation. If a vendor-supplied STEP file fails header validation, inspect the first 32 bytes in our Magic Bytes Inspector to verify it is not a ZIP archive or encrypted container renamed with a .stp extension.
Frequently Asked Questions
How does browser-based STEP and IGES tessellation work without installing SolidWorks or FreeCAD?
This tool runs OpenCascade Technology (OCCT) compiled to WebAssembly via occt-import-js. It reads exact NURBS and B-Rep mathematical surfaces from your .step or .iges file directly inside local browser RAM and tessellates them into watertight triangle meshes rendered by Three.js.
Should I export binary .STL or binary .GLB from my STEP CAD assembly?
Choose binary .STL for 3D printing slicers (PrusaSlicer, Bambu Studio, UltiMaker Cura) and CNC CAM workflows. Choose binary .GLB (glTF 2.0) for web 3D viewers, AR/VR, Blender, Unity, and Unreal Engine because .GLB preserves per-part hierarchy and RGB surface colors.
Why did my STEP file fail header validation?
Valid STEP files (AP203, AP214, AP242) must begin with the ASCII magic header 'ISO-10303-21;'. Proprietary native CAD files such as SolidWorks .SLDPRT, Inventor .IPT, or Fusion .F3D must first be exported as STEP or IGES before browser tessellation.
Are confidential mechanical CAD assemblies uploaded to any cloud server?
Never. Both OpenCascade WebAssembly tessellation and Three.js binary STL/GLB serialization execute strictly inside your local browser memory.