DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0030362

Data Exchange - Writing dimensions with inches produced invalid file.

Open CASCADEOCCT:Data Exchangeclosed6 public notes

Search issues

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') );

Steps to reproduce

bugs step bug30362

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 2
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.
02Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Author
04Commenter 4
Branch CR30362 was reviewed.
05Commenter 1
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
06Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]