Archived issue #0030362
Data Exchange - Writing dimensions with inches produced invalid file.
Description
Writing dimensions with inches produced invalid file with unknown references like this:
#12930 = ( LENGTH_MEASURE_WITH_UNIT() MEASURE_REPRESENTATION_ITEM()
MEASURE_WITH_UNIT(POSITIVE_LENGTH_MEASURE(35.),$
/* UNKNOWN REF */) REPRESENTATION_ITEM('nominal value') );
#12930 = ( LENGTH_MEASURE_WITH_UNIT() MEASURE_REPRESENTATION_ITEM()
MEASURE_WITH_UNIT(POSITIVE_LENGTH_MEASURE(35.),$
/* UNKNOWN REF */) REPRESENTATION_ITEM('nominal value') );
Steps to reproduce
bugs step bug30362
Public activity
6 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Thu Nov 8 15:16:12 2018 +0300
0030362: Data Exchange - Writing dimensions with inches produced invalid file.
Writing dimensions into STEP files in inches not produce invalid references between STEP entities.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Thu Nov 8 15:16:12 2018 +0300
0030362: Data Exchange - Writing dimensions with inches produced invalid file.
Writing dimensions into STEP files in inches not produce invalid references between STEP entities.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Dear GKA,
could you please review branch CR30362?
The problem was in creation of unit entity in STEP exporter, where only si units was used.
Test results:
http://occt-tests/CR30362-master-ika-Products/Windows-64-VC14/diff_summary.html
http://occt-tests/CR30362-master-ika-Products/Debian80-64/diff_summary.html
http://occt-tests/CR30362-master-ika-OCCT/Debian80-64/diff_summary.html
http://occt-tests/CR30362-master-ika-OCCT/Windows-64-VC14/diff_summary.html
could you please review branch CR30362?
The problem was in creation of unit entity in STEP exporter, where only si units was used.
Test results:
http://occt-tests/CR30362-master-ika-Products/Windows-64-VC14/diff_summary.html
http://occt-tests/CR30362-master-ika-Products/Debian80-64/diff_summary.html
http://occt-tests/CR30362-master-ika-OCCT/Debian80-64/diff_summary.html
http://occt-tests/CR30362-master-ika-OCCT/Windows-64-VC14/diff_summary.html
Branch CR30362 was reviewed.
Combination -
OCCT branch : [archived branch] SHA - [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
Test case:
bugs step bug30362 - OK
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16266.56000000002 / 16213.820000000038 [+0.33%]
Products
Total CPU difference: 7047.900000000023 / 7037.290000000033 [+0.15%]
Windows-64-VC14:
OCCT
Total CPU difference: 17783.828125 / 17699.171875 [+0.48%]
Products
Total CPU difference: 8515.1875 / 8523.453125 [-0.10%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch] SHA - [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
Test case:
bugs step bug30362 - OK
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16266.56000000002 / 16213.820000000038 [+0.33%]
Products
Total CPU difference: 7047.900000000023 / 7037.290000000033 [+0.15%]
Windows-64-VC14:
OCCT
Total CPU difference: 17783.828125 / 17699.171875 [+0.48%]
Products
Total CPU difference: 8515.1875 / 8523.453125 [-0.10%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]