Skip to content

Data Exchange, Step Import - Zero value of semantic dimentions #1368

Description

@dpasukhi

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

  • attachments/image.png
Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Good candidateGood candidate for collaborators to use a entry for specific area of OCCT1. Data ExchangeImport/Export or iterating of the CAD data3. Not validatedThe issue is not validated and can be not reproduced on latest master.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions