CATIA V5 Reader

CATIA V5
File Extension CATDrawing, CATPart, CATProduct, CATShape, CGR
Supported Versions Up to V5_6R2024
Platforms wy ly my an in
Tessellation t_green Supported
B-rep c_green Supported
PMI c_green Supported

The CATIA V5 Reader provides full access to the assembly, b-rep, visualization, views, and PMI data that is stored within a CATIA V5 file.

A file does not need to have a particular extension to be read correctly by HOOPS Exchange. However, the file extensions of CATIA V5 files that you can expect to be loaded by HOOPS Exchange include:

  • .CATDrawing
  • .CATPart
  • .CATProduct
  • .CATShape
  • .CGR
../../_images/CV5_Main.png

How to Import From CATIA V5

To load a CATIA V5 file, use A3DAsmModelFileLoadFromFile(). The A3DParamsLoadData structure is used to customize the loading behavior:

A3DAsmModelFile* pModelFile = 0;

A3DRWParamsLoadData sReadParam;
A3D_INITIALIZE_DATA(A3DRWParamsLoadData, sReadParam);
sReadParam.m_sGeneral.m_bReadSolids = true;

// ... set other A3DRWParamsLoadData fields as necessary

A3DAsmModelFileLoadFromFile("path/to/file.CATPart", &sReadParam, &pModelFile);

See Simple Load and Export for more about loading model files.

Tessellation

The CATIA V5 reader can directly access the cached visualization data (commonly referred to as CGR) stored within a CATIA V5 file. This occurs if the reading mode in HOOPS Exchange is set to tessellation only.

B-rep

B-rep support within CATIA V5 is based on the CGM modeler.

HOOPS Exchange provides evaluators, which allows you to direct query all of the geometric types available in CGM. Additionally, you can use HOOPS Exchange to approximate any specific geometry and provide it in a standard NURBS form.

The list of surface types available in CATIA V5 is:

  • CATChamferSurface
  • CATCone
  • CATCylinder
  • CATDraftSurface
  • CATFilletSurface
  • CATGenericFillet
  • CATGenericRuledSurface
  • CATLinearTransfoSurface
  • CATNonLinearTransfoSurface
  • CATNurbsSurface
  • CATOffsetSurface
  • CATPlane
  • CATProcOffsetSurface
  • CATRevolutionSurface
  • CATRuledSurface
  • CATSpecSurface
  • CATSphere
  • CATSweepSurface
  • CATSweepSegmentSurface
  • CATTabulatedCylinder
  • CATTorus

The list of curve types available in CATIA V5 is:

  • CATCircle
  • CATEllipse
  • CATHelix
  • CATLine
  • CATNurbsCurve
  • CATPLine
  • CATPCircle
  • CATPCurveEquation
  • CATPEllipse
  • CATPHyperbola
  • CATPNurbs
  • CATPParabola
  • CATPSpline
  • CATProcCurve
  • CATSplineCurve

PMI

HOOPS Exchange provides access to all PMI data available in a CATIA V5 file. These can be created by either the Functional Tolerancing and Annotation module or the Tolerance Advisor with CATIA V5. The PMI is provided in both Visual and Semantic form.

The list of specific PMI types supported is listed below:

  • Datum
  • Datum Target
  • Dimension
  • Dimension (Basic)
  • Dimension (Coordinate)
  • Dimension (Cumulated)
  • Dimension (Curvlinear)
  • Dimension (Stacked)
  • Distance
  • Flags
  • Feature Control Frame
  • Geometrical Tolerance
  • Note Object Attribute (Text)
  • Note Object Attribute (Ditto)
  • Roughness
  • Weld
../../_images/CV5_PMI.png

The HOOPS Exchange Demo showing PMI from a CATIA V5 part

Assembly

External references are fully supported which means that components in the assembly can reside in a separate STEP or CV4 file. The reader will automatically load and present this data to you.

Additional support is provided for:

  • Datum planes and construction geometry
  • Exact recreation of the CATIA V5 assembly tree (no flattening, no re-organization or renaming of parts in the assembly tree)
  • Incremental load is supported by our CATIA V5 reader

Views

There are two types of views supported in CATIA V5:

  • Annotation views: A view plane in addition to visibilities that are applied to the PMI entities
  • Capture views: A full camera definition with visibilities applied to PMI, visibilities, and transformations that can be applied to components in the assembly and the optional definition of section planes.

Both types of views are fully supported by HOOPS Exchange.

Miscellaneous

Entities can be filtered by either entity type, layer, or colors, all of which are supported by our CATIA V5 reader.

Additionally, support is provided for:

  • User defined coordinate systems
  • Persistent and non-persistent IDs. Very important for people who need to map their data to other CAD systems. HOOPS Exchange supports this feature at the edge, face, body, and assembly level.
  • User attributes attached at all levels of the model (assemblies, parts, instances and faces)
  • Entity names attached at all levels of the model (assemblies, parts, instances, faces, coordinate axes, etc.)
  • Piping is supported, except for pipes with an empty cross-section
  • A density value of -1 means that no density was set in the CAD file

Import Options Specific to CATIA V5

A3DRWParamsCatiaV5Data.m_bCacheActivation forces HOOPS Exchange to quickly load the CGR representation for the model. This behavior is designed to mimic the “Work with the cache” mode in CATIA V5.

CATDRAWING Support

Our CATIA V5 reader includes support for CATDrawings with the drawing information provided in the structures used to represent PMI. This functionality supports drawing views. Please refer to the <hoops_exchange>/samples/exchange/exchangesource/DrawingViewer for a sample demonstrating how to access this information.

Publications

As of HOOPS Exchange 2023 SP2 U1, HOOPS Exchange provides support for Publications. Check our programming guide for more information.

Limitations

  • Density on linked materials is not supported.
  • Density is not retrieved on prototyped parts with different densities.