Archived issue #0033638
Data Exchange, Step Import - Style for tessellated object missed
Description
I'm importing STEP files using OCCT 7.8 and there is a discrepancy in the model’s coloration depending on the representation.
Basically, when the STEP file has an exact representation of the geometry (via ABSH for example), the colors are correctly retrieved. However, STEP files with tessellated representation (via TSH, supported since v7.7) do not pick up the override colors.
I produced a simple example that I am attaching to this ticket to illustrate the problem. In them, I have a red parallelepiped, but with a single blue face.
The CatiaCube_NoTess file is imported correctly, but the CatiaCube_Tess is completely red. I can’t find the blue color information in it.
Basically, when the STEP file has an exact representation of the geometry (via ABSH for example), the colors are correctly retrieved. However, STEP files with tessellated representation (via TSH, supported since v7.7) do not pick up the override colors.
I produced a simple example that I am attaching to this ticket to illustrate the problem. In them, I have a red parallelepiped, but with a single blue face.
The CatiaCube_NoTess file is imported correctly, but the CatiaCube_Tess is completely red. I can’t find the blue color information in it.
Additional information
Public activity
6 archived notes
Participants are labeled by their role within this record.
Attachment 2 (TXT) (4,811 bytes)
Attachment 1 (TXT) (9,394 bytes)
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: ichesnok
Date: Tue Mar 12 13:49:21 2024 +0000
0033638: Data Exchange, Step Import - Style for tessellated object missed
TransferBRep_ShapeBinder used for tessellated face.
[revision removed]
Detailed log of new commits:
Author: ichesnok
Date: Tue Mar 12 13:49:21 2024 +0000
0033638: Data Exchange, Step Import - Style for tessellated object missed
TransferBRep_ShapeBinder used for tessellated face.
Dear ika,
please review branch CR33638.
Tests: http://jenkins-test-10.nnov.opencascade.com/view/CR33638-master-ichesnok/view/COMPARE/
please review branch CR33638.
Tests: http://jenkins-test-10.nnov.opencascade.com/view/CR33638-master-ichesnok/view/COMPARE/
No remarks.
Dear bugmaster,
please integrate OCCT: CR33638
Dear bugmaster,
please integrate OCCT: CR33638
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Ubuntu2004-64:
OCCT
Total CPU difference: 18392.76999999986 / 18052.86999999987 [+1.88%]
Products
Total CPU difference: 11191.209999999957 / 11393.919999999946 [-1.78%]
Windows-64-VC142:
OCCT
Total CPU difference: 20708.453125 / 20444.125 [+1.29%]
Products
Total CPU difference: 12623.671875 / 12572.140625 [+0.41%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Ubuntu2004-64:
OCCT
Total CPU difference: 18392.76999999986 / 18052.86999999987 [+1.88%]
Products
Total CPU difference: 11191.209999999957 / 11393.919999999946 [-1.78%]
Windows-64-VC142:
OCCT
Total CPU difference: 20708.453125 / 20444.125 [+1.29%]
Products
Total CPU difference: 12623.671875 / 12572.140625 [+0.41%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Commenter 1.
[revision removed]
[revision removed]