View Issue Details

IDProjectCategoryView StatusLast Update
0033638CommunityOCCT:Data Exchangepublic2024-03-18 03:25
Reporterdpasukhi Assigned Tovglukhik  
PrioritynormalSeverityminor 
Status verifiedResolutionfixed 
Target Version7.9.0 
Summary0033638: Data Exchange, Step Import - Style for tessellated object missed
DescriptionI'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.
Additional information
and documentation updates
https://dev.opencascade.org/content/color-discrepancy-between-tessellated-and-non-tessellated-step-files
TagsNo tags attached.
Test case number

Attached Files

  • CatiaCube_Tess.stp_.txt (4,811 bytes)
  • CatiaCube_NoTess.stp_.txt (9,394 bytes)

Activities

dpasukhi

2024-03-10 14:24

administrator   ~0115298

CatiaCube_Tess.stp_.txt (4,811 bytes)
CatiaCube_NoTess.stp_.txt (9,394 bytes)

git

2024-03-12 17:33

administrator   ~0115333

Branch CR33638 has been created by ichesnokova.

SHA-1: d43591fd640b5f2a7b0e5916012c57183576f2b5


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.

ichesnokova

2024-03-14 11:54

developer   ~0115359

Dear ika,
please review branch CR33638.
Tests: http://jenkins-test-10.nnov.opencascade.com/view/CR33638-master-ichesnok/view/COMPARE/

ika

2024-03-14 15:17

developer   ~0115363

No remarks.

Dear bugmaster,
please integrate OCCT: CR33638

vglukhik

2024-03-18 03:16

administrator   ~0115389

Combination -
OCCT branch : IR-2024-03-15
master SHA - 9d93d9b9b888f8754ea5fa83cd2bbcfb1111bca6
d2ef868da4165400c82322bd7f11b652decce47a
Products branch : master SHA - 4019cd9a039aa9bb8252b865410207f8d4cf3eb4
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

git

2024-03-18 03:25

administrator   ~0115399

Branch CR33638 has been deleted by vglukhik.

SHA-1: d43591fd640b5f2a7b0e5916012c57183576f2b5

Related Changesets

occt: master 9d93d9b9

2024-03-12 13:49:21

ichesnok


Committer: vglukhik Details Diff
0033638: Data Exchange, Step Import - Style for tessellated object missed

TransferBRep_ShapeBinder used for tessellated face.
Affected Issues
0033638
mod - src/StepToTopoDS/StepToTopoDS_TranslateFace.cxx Diff File
add - tests/bugs/step/bug33638 Diff File

Issue History

Date Modified Username Field Change
2024-03-10 14:24 dpasukhi New Issue
2024-03-10 14:24 dpasukhi Assigned To => ika
2024-03-10 14:24 dpasukhi Note Added: 0115298
2024-03-10 14:24 dpasukhi File Added: CatiaCube_Tess.stp_.txt
2024-03-10 14:24 dpasukhi File Added: CatiaCube_NoTess.stp_.txt
2024-03-11 18:27 dpasukhi Assigned To ika => ichesnokova
2024-03-12 17:33 git Note Added: 0115333
2024-03-14 11:54 ichesnokova Assigned To ichesnokova => ika
2024-03-14 11:54 ichesnokova Status new => resolved
2024-03-14 11:54 ichesnokova Note Added: 0115359
2024-03-14 15:17 ika Assigned To ika => bugmaster
2024-03-14 15:17 ika Status resolved => reviewed
2024-03-14 15:17 ika Note Added: 0115363
2024-03-18 03:16 vglukhik Note Added: 0115389
2024-03-18 03:19 vglukhik Changeset attached => occt master 9d93d9b9
2024-03-18 03:19 vglukhik Assigned To bugmaster => vglukhik
2024-03-18 03:19 vglukhik Status reviewed => verified
2024-03-18 03:19 vglukhik Resolution open => fixed
2024-03-18 03:25 git Note Added: 0115399