View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033874 | Community | OCCT:Data Exchange | public | 2025-02-19 18:58 | 2025-02-19 19:11 |
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 | 0033874: exception in debug mode when reading NIST-STEP-example nist_stc_07_asme1_ap242-e3.stp | ||||
Description | When reading nist_stc_07_asme1_ap242-e3.stp there is an exception in src/STEPCAFControl/STEPCAFControl_Reader.cxx line 3007. gp_Ax2 anA(aPnt, aDir, aDirR); This is a correct behavior, as the two passed directions are colinear. The reason are in lines 3004-6. aDir.SetCoord(aDirArr->Lower(), aDirArr->Lower() + 1, aDirArr->Lower() + 2); aDirR.SetCoord(aDirRArr->Lower(), aDirRArr->Lower() + 1, aDirRArr->Lower() + 2); aPnt.SetCoord(aLocArr->Lower(), aLocArr->Lower() + 1, aLocArr->Lower() + 2); There one passes consecutive indices instead of values. These lines need to be replaced by aDir.SetCoord(aDirArr->Value(aDirArr->Lower()), aDirArr->Value(aDirArr->Lower() + 1), aDirArr->Value(aDirArr->Lower() + 2)); aDirR.SetCoord(aDirRArr->Value(aDirRArr->Lower()), aDirRArr->Value(aDirRArr->Lower() + 1), aDirRArr->Value(aDirRArr->Lower() + 2)); aPnt.SetCoord(aLocArr->Value(aLocArr->Lower()), aLocArr->Value(aLocArr->Lower() + 1), aLocArr->Value(aLocArr->Lower() + 2)); | ||||
Steps To Reproduce | read and transform nist_stc_07_asme1_ap242-e3.stp | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-19 18:58 | Thomas.Dunker_157106 | New Issue | |
2025-02-19 18:58 | Thomas.Dunker_157106 | Assigned To | => ika |
2025-02-19 19:11 | dpasukhi | Assigned To | ika => dpasukhi |
2025-02-19 19:11 | dpasukhi | Note Added: 0116969 |