Read XCAF for STEP output
A XCAF-to-STEP workflow connects the XCAF reader to the STEP writer. Select the model items and output representation needed by the receiving application.
Read the native XCAF document with the OCCT storage interface matching its file type. Inspect document shapes, assembly occurrences and attributes before selecting the part of the document to exchange.
Configure the STEP geometry and document mapping
Choose BRep or mesh geometry according to the actual shapes in the document and the destination. Resolve assembly placements and map supported names and colors. Native document storage can contain application information that another CAD or scene format does not represent.
Write the imported model through the OCCT STEP interface. STEP supports BRep and mesh workflows, so choose the representation supported by the receiving application. Use the document layer when names, colors and assembly relationships are available and need to be transferred.
Check the STEP result
Check occurrence placement separately from shared part geometry. Validate transferred labels and attributes, and keep the source XCAF document when application-specific data or edit structure needs to be retained.
Reopen the STEP file in the destination and compare geometry coverage, placements, names and colors. A mesh representation remains polygonal inside STEP. If the next task requires solid modeling, verify that the source and output contain the required BRep geometry.
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.