Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is possible to specify several ProE/Creo specific options (in A3DRWParamsProEData) while importing such CAD files with the HOOPS Exchange API, including the following ones:

Table of Contents

Table of Contents

Family tables (m_eFamilyTables):

A family table represents a component with a variable representation

For example a Screw can be part of a family table: that means for the same component, Creo has a variety of representations where the screw length and/or diameter change.

A component from a family table always has a generic representation (i.e. the default model), but the designer will usually use an element with specific parameters.

This is what it looks like in Creo:

Image Removed
Image Removed
Image Removed
Image Removed

HOOPS Exchange supports of Family Tables depends on what data are available in the native Creo file.
Depending on the model, the representation of the family table components can be:

  • Stored as a tessellated body.

  • Stored in a Creo accelerator files (.xpr, .xas), provided with the model files by the model designer. BRep may be available.

  • Not available (no tessellation, no accelerator file). In this case the generic representation is used by HOOPS Exchange to represent the component.

...

Info

Further information regarding accelerator files and their generation from Creo software can be found on the official Creo documentation

Example

...

Creo import options used

...

Result

...

A3DProEFamTabAccelesratorFileOnly

...

A3DProEFamTabOrUseTessellation

...

A3DProEFamTabOrUseWireAndGeneric

...

Flexible components (m_bFlexCompUseGenericIfNoTess):

In Creo, a flexible is a part that can has several states, with a variation of dimension, tolerances or material. For a example, a spring can be represented as a flexible component.

...

In HOOPS Exchange, flexible components are not fully supported. A flexible component can be loaded only in the state it was saved in Creo, and it depends on the data stored in the native file.

...

If the tessellation of the flexible component is stored, it will be loaded by default

  • The tessellation is the representation of the flexible component in the state it was saved in Creo.

If no tessellation is available the setting m_bFlexCompUseGenericIfNoTess adapts HOOPS Exchange behavior:

...

If the value is set to true a generic representation is loaded.

...

.

...

Note: if the tessellation is stored in the file, m_bFlexCompUseGenericIfNoTess won’t have any effect.

Example

Situation

Result

Model saved in Creo

Image Removed

The tessellation is stored in the Creo file

Image Removed

The tessellation is NOT stored in the Creo file

m_bFlexCompUseGenericIfNoTess is true

Image Removed

The tessellation is NOT stored in the Creo file

m_bFlexCompUseGenericIfNoTess is false

Image Removed

Boolean operations (m_bBoolOpUseGenericIfNoTess):

In CAD software, boolean operations are a way to define geometrical elements by performing unions or ,intersections or difference of 2 or more sub-elements.

For example, here is the result of a boolean intersection between a cube and a sphere:

...

Depending on the Creo version used, boolean operations may not be fully supported by HOOPS Exchange

For

...

If no tessellation is available, the setting m_bBoolOpUseGenericIfNoTess adapts HOOPS Exchange behavior:

  • If the value is set to true a generic representation is loaded.

  • If the value is set to false , no representation is loaded. The component won’t be displayed.

Note: if the Creo version used is too recent, or if the tessellation is stored in the file then m_bBoolOpUseGenericIfNoTess won’t have any effect.

Example

Situation

Result

Model saved in Creo

Image Removed

The tessellation is stored in the Creo file

Image Removed

The tessellation is NOT stored in the Creo file

m_bBoolOpUseGenericIfNoTess is true

Image Removed

The tessellation is NOT stored in the Creo file

m_bBoolOpUseGenericIfNoTess is false

Image Removed

Recommendations

...

When a model has a defect in HOOPS Exchange, we recommend to resave the file in Creo, and if possible in a more recent version of Creo.

...

more information, check out our forum post.