Read STEP XML for glTF / GLB conversion
A STEP XML-to-glTF / GLB workflow combines the STEP XML reader with the glTF / GLB writer. Use it when the receiving application needs glTF / GLB data from an existing STEP XML model.
Read STPX, STPA, STPZ or STPZX with the STEP XML component. The interface supports BRep and mesh representations together with assemblies, names, colors and attributes available in the native STEP data used by the file.
Prepare a scene for glTF or GLB delivery
Inspect whether each selected part contains BRep, mesh or both. A mesh writer can reuse suitable triangles or tessellate CAD surfaces. A precise-geometry writer needs BRep input; storing triangles in a STEP XML file does not reconstruct analytic surfaces.
Map supported model items into glTF scene nodes and configure the mesh, placements and appearance for browser or application delivery. Decide whether the receiving workflow expects a GLB package or glTF with companion resources. Keep names useful for selection and inspection.
Validate the glTF / GLB result
Check nested assembly placements and the relationship between attributes and their model items. Information retained by the reader still needs a compatible mapping in the destination writer.
Reopen the asset in the target viewer and compare orientation, bounds, assembly placement and visible surface quality. Check material mapping and resource paths. Measure loading cost together with geometric detail so that reducing mesh size does not silently remove required features.
For a production pipeline, keep a representative source file and its expected geometry and attributes with the conversion settings. Discuss conversion integration with the source and destination applications, or compare the supported format interfaces.