I need to know how to get colors from IGES entity, while reading a IGES file.
Can anyone help me ?
Also, I want to know how can I process the transformation (iges-type: 124) on entities while translating them.
thank you !
Discussion
10 archived replies
Posts are displayed in their archived order.
01Commenter-1
Hello,
To process colors you will need the XDE module.
Consult documentation - IGES and XDE User's Guides.
You will also find some more information in a similar post on STEP (http://www.opencascade.com/community/forum/thread_5265/).
Type 124 (transformation matrix) is automatically considered during translation.
Hope this helps you.
Best regards,
Commenter-1
02Commenter-2
thank you for your quick answer,
I've already red that document concerning XDE, but it's very hard to understand how to convert the
IGESData_ColorEntity
to
QuantityColor
If you had a small source example dealing with that part, i'll be very intersting in using it.
Also, i'm agree with Deelip in thread 5265, more efforts should be done on the The OCC documentation about XDE, IGES and STEP use.
More concrete source code example will be appreciated.
03Commenter-1
Hello,
We have an XDE sample, which is part of the Advanced Samples pack available to our support clients only. Its snapshot
was given in the mentioned thread (here is a direct URL - http://www.opencascade.com/pub/demos/xde-snapshot.gif).
Otherwise, you may try to experiment in Draw Test Harness (XDEDRAWEXE executable).