1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0029029: Exception Raised with no Result during reading file 2033zsh1_1.stp

Static function stepstrcmp() in StepData_StepReaderData.cxx is replaced by plain strcmp() to have the full strings compared (stepstrcmp() returned true if one of strings was longer than the other but common part was equal).
Protection is added to avoid exception for cases when representation entities are NULL
This commit is contained in:
gka
2017-10-03 17:28:32 +03:00
committed by bugmaster
parent 385d47dde7
commit 2c25cc04e0
4 changed files with 33 additions and 35 deletions

15
tests/bugs/step/bug29029 Normal file
View File

@@ -0,0 +1,15 @@
puts "# ====================================================================="
puts "# 0029029: E x c e p t i o n Raised with no Result during reading file 2033zsh1_1.stp"
puts "# ====================================================================="
puts ""
puts "TODO 29029 ALL: Faulty shapes in variables faulty_1 to faulty_2"
set filepath [locate_data_file bug29029_2033zsh1_1.stp]
stepread $filepath a *
tpcompound result
checkshape result
checkprops result -s 10647.3
checknbshapes result -wire 196 -face 196 -shell 1 -solid 1 -compound 2
# checkview -display result -2d -path ${imagedir}/${test_image}.png