Archived issue #0023469
Shapes are not read properly in test cases xcaf stp_to_dxc G7 I1 I2 using new organization of datafiles
Description
Problem was reproduced on branch CR23438_1 during testing new organization of datafiles.
During execution command ReadStep we get errors on record:
.....
*** Error on Record 495 (on 561 -> 88 % in File) *** Ident #0000329
Complex Type incorrect : CAMERA_IMAGE_3D_WITH_SCALE / CAMERA_IMAGE ...
*** Error on Record 497 (on 561 -> 88 % in File) *** Ident #0000329
.....
During execution command ReadStep we get errors on record:
.....
*** Error on Record 495 (on 561 -> 88 % in File) *** Ident #0000329
Complex Type incorrect : CAMERA_IMAGE_3D_WITH_SCALE / CAMERA_IMAGE ...
*** Error on Record 497 (on 561 -> 88 % in File) *** Ident #0000329
.....
Steps to reproduce
launch test cases xcaf stp_to_dxc G7 I1 I2 using new organization of datafiles
Public activity
3 archived notes
Participants are labeled by their role within this record.
Please check that the files being loaded are the same as before.
Let me answer to myself: indeed, the STEP files involved in these tests has changed. The files in current data set contain complex STEP entity with non-alphabetically sorted items. Previous database contains the files with corrected order of items in these entities. For instance:
***** trj4_d2-tc-214.stp
# 370=PLANAR_BOX('# 370',77.01953819,73.06305506,# 369);
# 371=(CAMERA_IMAGE_3D_WITH_SCALE()CAMERA_IMAGE()MAPPED_ITEM(# 366,# 370)
GEOMETRIC_REPRESENTATION_ITEM()REPRESENTATION_ITEM(' '));
# 372=PRESENTATION_VIEW('LEFT',(# 371,# 369),# 316);
***** old_data_set/TRJ4_D2-TC-214.STP
# 370=PLANAR_BOX('# 370',77.01953819,73.06305506,# 369);
# 371=(CAMERA_IMAGE()CAMERA_IMAGE_3D_WITH_SCALE()
GEOMETRIC_REPRESENTATION_ITEM()MAPPED_ITEM(# 366,# 370)
REPRESENTATION_ITEM(' '));
# 372=PRESENTATION_VIEW('LEFT',(# 371,# 369),# 316);
*****
I wonder why our translator cannot sort the items; it seems that it should (see #0023148). Galina, could you please check this?
***** trj4_d2-tc-214.stp
# 370=PLANAR_BOX('# 370',77.01953819,73.06305506,# 369);
# 371=(CAMERA_IMAGE_3D_WITH_SCALE()CAMERA_IMAGE()MAPPED_ITEM(# 366,# 370)
GEOMETRIC_REPRESENTATION_ITEM()REPRESENTATION_ITEM(' '));
# 372=PRESENTATION_VIEW('LEFT',(# 371,# 369),# 316);
***** old_data_set/TRJ4_D2-TC-214.STP
# 370=PLANAR_BOX('# 370',77.01953819,73.06305506,# 369);
# 371=(CAMERA_IMAGE()CAMERA_IMAGE_3D_WITH_SCALE()
GEOMETRIC_REPRESENTATION_ITEM()MAPPED_ITEM(# 366,# 370)
REPRESENTATION_ITEM(' '));
# 372=PRESENTATION_VIEW('LEFT',(# 371,# 369),# 316);
*****
I wonder why our translator cannot sort the items; it seems that it should (see #0023148). Galina, could you please check this?
In current version of STEP reader CAMERA_IMAGE is not recognized as complex entity. Therefore sort by types applied to complex entity is not performed for such entities.
So error messages is correct behavior because in test test file in the complex entity CAMERA_IMAGE order of types is mixed.
So error messages is correct behavior because in test test file in the complex entity CAMERA_IMAGE order of types is mixed.
Related records