DiscussionsIssue archiveOther usage issues

Archived discussion

Data Exchange and preserving Materials

Other usage issuesTue, 11/04/2008 - 10:235 replies

Browse this forum
QuestionAuthor

Hi forum.
I'm just started looking into open cascade and it seems like you have a bunch of good technology here.
I'm thinking of implementing STEP /Iges import to a project of mine and you seems to have come a long way with this. I tried out the ImportExport sample and noticed that the materials (on feature level) are not preserved. I saw one project, DECAF, that aimed to implement this but I cant find the status for this project.

Best Regards
Marcus

Discussion

5 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hi Marcus,

The project name is obsolete, it is now called XDE (eXtended Data Exchange) and is a part of Open CASCADE for a long time already.
API is provided by STEP/IGESCAFControl_Reader which translates into OCAF document with predefined structure where metadata (such as colors, materials, layers, etc) are attached. The material is represented by XCAFDoc_Material.

See Data Exchange User's Guide for details.

Commenter-1

02Author

Thank you.
I will look into it.

/Marcus

03Commenter-2

And where can I find the exact these predefined places where the colors, materials and layers are attached to the labels of the document?

04Commenter-3

Hi,

take a look at XCAFDoc_ColorTool and XCAFDoc_LayerTool inside the XDE documentation...

Greets,

Commenter-3

05Commenter-2

Thanks!