Read VRML for XCAF output
Transfer VRML meshes into a XCAF workflow with the VRML reader and XCAF writer. This route carries polygonal geometry in the receiving document; it does not recreate the original CAD surfaces or feature history.
Read WRL or VRML geometry through the OCCT VRML interface. Inspect the mesh content and available placements and appearance before constructing the receiving document. Keep referenced resources accessible during import.
Build and store an XCAF document
Use the imported polygonal geometry for mesh exchange or a mesh-capable CAD container. A scene-format change does not create precise CAD surfaces. Identify any interactive behavior or other source features that fall outside the geometry mapping.
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
Compare scale, orientation, geometry coverage and supported appearance. Retain the original scene if its behavior or organization must remain available beyond the geometry exported to the target.
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.