← CAD and mesh conversion guides

OCCT conversion workflows

OBJ to XCAF

Convert OBJ 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
OCCT OBJ reader
Processing route
Mesh to CAD container
Output interface
OCCT XCAF document writer

Read OBJ for XCAF output

Transfer OBJ meshes into a XCAF workflow with the OBJ 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 Wavefront OBJ polygonal geometry through the OCCT workflow. Check the associated material resources and object grouping where these are used by the source asset. Keep the geometry and its required companion files together.

Build and store an XCAF document

This is a mesh-to-mesh route. Preserve the available surface triangles, apply the required placements and map only the attributes supported by both the reader and writer. It does not reconstruct a CAD feature history or analytic BRep.

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 object grouping, orientation and units with the receiving application. Normals and material references need explicit validation, particularly when the source uses external resources.

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 OBJ 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.