View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033875 | Community | OCCT:Data Exchange | public | 2025-02-19 19:05 | 2025-02-19 19:12 |
Reporter | Thomas.Dunker_157106 | Assigned To | dpasukhi | ||
Priority | normal | Severity | minor | ||
Status | new | Resolution | open | ||
Platform | Windows | OS | VC++ 2017 | ||
Product Version | 7.8.0 | ||||
Summary | 0033875: For some STEP files we fail for geometric tolerances to read the "geometric_tolerance.magnitude" | ||||
Description | For some STEP files we fail for geometric tolerances to read the "geometric_tolerance.magnitude" as a StepBasic_MeasureWithUnit. The parameter 3 may be of type StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI or StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI. There is a method ``` Handle<StepBasic_MeasureWithUnit> GetMeasureWithUnit () const ``` inherited from StepRepr_ReprItemAndMeasureWithUnit (parent of the parent), which would return the needed handle, but none of the parent Types satisfies isKind("StepBasic_MeasureWithUnit") There are multiple tolerances concerned in src\RWStepDimTol\: - RWStepDimTol_RWAngularityTolerance.cxx - RWStepDimTol_RWCircularRunoutTolerance.cxx - RWStepDimTol_RWCoaxialityTolerance.cxx - RWStepDimTol_RWConcentricityTolerance.cxx - RWStepDimTol_RWCylindricityTolerance.cxx - RWStepDimTol_RWFlatnessTolerance.cxx - RWStepDimTol_RWGeometricToleranceWithDatumReference.cxx - RWStepDimTol_RWGeometricToleranceWithDefinedAreaUnit.cxx - RWStepDimTol_RWGeometricToleranceWithDefinedUnit.cxx - RWStepDimTol_RWGeometricToleranceWithMaximumTolerance.cxx - RWStepDimTol_RWGeometricToleranceWithModifiers.cxx - RWStepDimTol_RWLineProfileTolerance.cxx - RWStepDimTol_RWModifiedGeometricTolerance.cxx - RWStepDimTol_RWParallelismTolerance.cxx - RWStepDimTol_RWPerpendicularityTolerance.cxx - RWStepDimTol_RWPositionTolerance.cxx - RWStepDimTol_RWRoundnessTolerance.cxx - RWStepDimTol_RWStraightnessTolerance.cxx - RWStepDimTol_RWSurfaceProfileTolerance.cxx - RWStepDimTol_RWSymmetryTolerance.cxx - RWStepDimTol_RWTotalRunoutTolerance.cxx - RWStepDimTol_RWUnequallyDisposedGeometricTolerance.cxx Among the NIST PMI step file examples there are some, where the 3rd parameter of the geometric tolerances is of the form #id=( LENGTH_MEASURE_WITH_UNIT() MEASURE_REPRESENTATION_ITEM() MEASURE_WITH_UNIT(LENGTH_MEASURE(value),#id) REPRESENTATION_ITEM('') ); where the reading fails: - nist_ctc_01_asme1_ap242-e1.stp - nist_ctc_02_asme1_ap242-e2.stp - nist_ctc_03_asme1_ap242-e2.stp - nist_ftc_08_asme1_ap242-e2.stp - nist_stc_10_asme1_ap242-e2.stp For others the 3rd parameter is of the expected form #id=LENGTH_MEASURE_WITH_UNIT(LENGTH_MEASURE(value),#id); and the reading of the magnitude succeds: - nist_ctc_05_asme1_ap242-e1.stp - nist_ftc_06_asme1_ap242-e2.stp - nist_ftc_07_asme1_ap242-e2.stp - nist_ftc_09_asme1_ap242-e1.stp - nist_ftc_10_asme1_ap242-e2.stp - nist_stc_06_asme1_ap242-e3.stp - nist_stc_08_asme1_ap242-e3.stp - nist_stc_09_asme1_ap242-e3.stp | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Dear @Thomas.Dunker_157106 Could you please share the files? I would recommend to create an issue in https://github.com/Open-Cascade-SAS/OCCT/issues Mantis at the moment on migration process. If you would prefer no create a new issue on GH - then we will create manually. And will inform you here (on Mantis) about progress Originally, the issue will planned to 7.9.1 |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-19 19:05 | Thomas.Dunker_157106 | New Issue | |
2025-02-19 19:05 | Thomas.Dunker_157106 | Assigned To | => ika |
2025-02-19 19:09 | dpasukhi | Note Added: 0116968 | |
2025-02-19 19:09 | dpasukhi | Note Edited: 0116968 | |
2025-02-19 19:10 | dpasukhi | Note Edited: 0116968 | |
2025-02-19 19:12 | dpasukhi | Assigned To | ika => dpasukhi |