Migrated from legacy OCCT ticket 33633.
Description
AP242 NIST files have zero semantic value.
The problem is UNIT conversion and some unsupported unit types.
Expected Behavior
The behavior should conform to the original ticket: Data Exchange, Step Import - Zero value of semantic dimentions. Confirm the intended result with a regression test before implementing the fix.
Current expectation: supported semantic-dimension units must be converted, while unsupported unit alternatives must be reported rather than silently producing a default value.
Actual Behavior
AP242 NIST files have zero semantic value.
The problem is UNIT conversion and some unsupported unit types.
Current reader skips dimension values whose STEP unit is absent or is not a named-unit alternative.
Sample Code or DRAW Tcl Script
No standalone C++ sample or DRAW Tcl script was preserved in the legacy report. Use the copied attachments and description to create a focused reproducer.
Operating System
Not specified
Compiler
Not specified
Bitness
Not specified
OCCT Version
Not specified
Additional Files
Migration Notes
- Legacy project:
Open CASCADE
- Legacy category:
OCCT:Data Exchange
- Legacy status:
new / open
- Submitted: 2024-03-06 18:04; last updated: 2024-03-06 18:09
Additional Legacy Information
No additional information was preserved in the legacy report.
Migrated from legacy OCCT ticket 33633.
Description
AP242 NIST files have zero semantic value.
The problem is UNIT conversion and some unsupported unit types.
Expected Behavior
The behavior should conform to the original ticket: Data Exchange, Step Import - Zero value of semantic dimentions. Confirm the intended result with a regression test before implementing the fix.
Current expectation: supported semantic-dimension units must be converted, while unsupported unit alternatives must be reported rather than silently producing a default value.
Actual Behavior
AP242 NIST files have zero semantic value.
The problem is UNIT conversion and some unsupported unit types.
Current reader skips dimension values whose STEP unit is absent or is not a named-unit alternative.
Sample Code or DRAW Tcl Script
Operating System
Not specified
Compiler
Not specified
Bitness
Not specified
OCCT Version
Not specified
Additional Files
attachments/image.pngMigration Notes
Open CASCADEOCCT:Data Exchangenew/openAdditional Legacy Information
No additional information was preserved in the legacy report.