DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0026657

Data Exchange - IGES/STEP OCAF writers should keep hierarchy and colors when saving non-root elements

Open CASCADEOCCT:Data Exchangeclosed9 public notes

Search issues

Description

New feature implemented within #0026500 has limited usage, because some information is lost during export (hierarchy of sub-assemblies and assigned colors).

Steps to reproduce

Branch CR26657 is ready to be reviewed.

Public activity

9 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: gka
Date: Wed Sep 9 12:12:56 2015 +0300

    0026657: Data Exchange - IGES/STEP OCAF writers should keep hierarchy and colors when saving non-root elements
    
    Make modification to save in the file part of the XCAF document starting from specified label.
    If specified label is component of the high-level assembly then high-level assembly is saved in document with one specified component.
    In other case only part of the document starting from the specified label is saved.
02Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
03Commenter 3
Input file to test script is attached.
04Commenter 4
Branch CR26657 is ready to be reviewed

05Commenter 5
No remarks, please test
06Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
07Commenter 7
Dear Commenter 1,
Branch CR26657 was rebased on current master of occt git-repository.
[revision removed]
08Commenter 8
Dear Commenter 1,
Branch CR26657 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)

products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
http://occt-tests/CR26657-master-occt-64/Debian70-64/bugs/step/bug26657.html
http://occt-tests/CR26657-master-occt-64/Windows-64-VC10/bugs/step/bug26657.html
bugs step bug26657: OK

Testing on Linux:
occt component :
Total MEMORY difference: 92317248 / 92768096 [-0.49%]
Total CPU difference: 18029.13999999899 / 17943.559999999085 [+0.48%]
products component :
Total MEMORY difference: 25870266 / 25875135 [-0.02%]
Total CPU difference: 7073.759999999999 / 7185.6699999999955 [-1.56%]

Testing on Windows:
occt component :
Total MEMORY difference: 57713938 / 57706677 [+0.01%]
Total CPU difference: 16443.207404498975 / 16459.36910809923 [-0.10%]
products component :
Total MEMORY difference: 16782679 / 16782651 [+0.00%]
Total CPU difference: 5522.1857983999735 / 5565.444875699965 [-0.78%]

There are no differences in images found by testdiff.
09Commenter 2
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records