Read IGES for XCAF output
A IGES-to-XCAF workflow connects the IGES reader to the XCAF writer. Select the model items and output representation needed by the receiving application.
Read IGS or IGES geometry with the OCCT IGES interface. Inspect the transferred curves, surfaces and topology before conversion: an IGES model may contain disconnected surfaces or wire geometry rather than a closed solid.
Build and store an XCAF document
For mesh output, tessellate the imported faces and inspect boundaries between adjacent surfaces. Curves alone do not define a surface mesh. For BRep output, determine whether sewing or shape healing is needed before writing the translated geometry.
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 units, surface coverage, open boundaries and tolerances. A successful translation does not establish watertightness or restore product structure that the source IGES file did not contain.
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.