← CAD and mesh conversion guides

OCCT conversion workflows

STEP XML to XCAF

Convert STEP XML to XCAF for OCCT applications. Store imported geometry with supported names, colors and document structure.

Build this conversion into your application with OCCT readers, writers and the commercial components identified below.

Ask about this workflow
Input interface
OCCT3D STEP XML reader
Processing route
CAD and mesh exchange
Output interface
OCCT XCAF document writer

Read STEP XML for XCAF output

A STEP XML-to-XCAF workflow connects the STEP XML reader to the XCAF writer. Select the model items and output representation needed by the receiving application.

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.

Build and store an XCAF document

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.

Place the imported geometry in an XCAF document and map the supported names, colors and structure to its labels. Use the native OCCT document storage appropriate to the selected XBF or XML delivery. Mesh data can remain mesh in the document; creating labels does not generate analytic CAD surfaces.

Check the XCAF 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 document in the intended OCCT application and verify geometry, occurrence placements and mapped attributes. Keep application-specific additions distinct from source properties. XCAF storage is useful for continuing an OCCT workflow, but the recipient must support the chosen document format.

Discuss this conversion with the producing and receiving applications, representative files and required geometry and attributes. Compare the reader/writer catalog when a different representation is needed.

Conversion integration

Build a STEP XML to XCAF workflow

Share the source and receiving applications, representative files, required attributes and throughput. We can scope SDK evaluation or an integrated conversion service.