Skip to content
For software developers · 3D InterOp SDK

Convert CGR to XCGM in your application

3D InterOp is a CAD interoperability SDK that lets your software read CGR files and write XCGM, writing the CGR facets as faceted geometry, since CGR stores triangles rather than solids.

Spatial does not offer an online converter or a desktop conversion app. 3D InterOp is a component that software vendors embed in their own products.

  • Reads CGR · Writes XCGM
  • Triangle mesh → faceted B-Rep
  • C++ / C# APIs
part.cgrCGR · tessellated
Your application
3D InterOp SDK
CATIA V5 readerHealingXCGM writer
part.xcgmXCGM · exact B-Rep

CGR to XCGM at a glance

CGR stores triangles; XCGM is an exact-geometry format. The mesh is written as faceted geometry: 3D InterOp doesn’t rebuild smooth surfaces from triangles.

CGR (source)XCGM (target)
Full nameCATIA Graphical RepresentationCGM native file
Standard / ownerDassault SystèmesDassault Systèmes / Spatial (CGM Modeler)
File extensions.cgr.xcgm
GeometryTessellated geometryExact B-Rep
Assemblies / structureSingle partYes
PMINoneSemantic (read)
3D InterOp supportRead and writeRead and write

What's preserved, what changes

Here is what your application can expect to carry across from CGR to XCGM.

  • Changes
    Faceted geometry
    CGR stores triangles, so the XCGM file holds faceted bodies, not solids. 3D InterOp doesn’t rebuild exact B-Rep from a mesh.

Why software vendors add CGR to XCGM conversion

Hand models to kernel-based applications

Many CAD, CAM and CAE applications are built on the XCGM kernel. Writing XCGM gives them exact geometry they can load without another translation step.

Downstream modeling and analysis

An exact XCGM B-Rep can still be edited, meshed or machined by downstream tools, which a tessellated export would not allow.

Exchange within one ecosystem

Partners whose tools share the XCGM kernel often prefer to exchange XCGM files directly.

Things to check before you ship

  • Written XCGM versions: R2012 to 2025 1.0.
  • PMI and miscellaneous data aren’t written to XCGM.
  • Supported CGR input: CATIA V5 R8 to V5-6 R2026.
  • Validate a sample of translated files in the target system your users actually work with.

Working with Spatial was a real milestone for us: Thanks to the powerful 3DInterOp library, we were able to successfully bring our complex CAD-based solutions to the cloud while remaining flexible to meet individual customer requirements. For us, Spatial is not just a technology partner, but a true enabler of our product strategy.

Dr. Arno Michelis, Founder, Simus Systems

Read the Case Study

About the formats

  • Source format

    What is a CGR (.cgr) file?

    CGR is CATIA’s lightweight graphical representation format. It stores a tessellated version of a part for fast display in large assemblies.

  • Target format

    What is an XCGM (.xcgm) file?

    XCGM is the native file format of the CGM geometric kernel, used by CGM Modeler and Dassault Systèmes applications. It stores exact B-Rep geometry.

Frequently asked questions

No. CGR stores triangles, and 3D InterOp writes them to XCGM as faceted geometry. It doesn’t rebuild exact B-Rep from a mesh.

No. PMI and miscellaneous data aren’t written to XCGM.

No. 3D InterOp reads CGR files directly, without CATIA or a CATIA license on the machine.

3D InterOp reads CATIA V5 R8 to V5-6 R2026, as visualization data.

3D InterOp writes R2012 to 2025 1.0.

Yes. 3D InterOp reads and writes both formats, so XCGM to CGR is supported too.

  • Building software that needs to convert CGR to XCGM?

    3D InterOp is an SDK that lets your application read CGR and write XCGM alongside 30+ CAD and BIM formats.