1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0029979: Data Exchange - Crash by reading STEP file

Added work-around against specific problem of ORIENTED_EDGE referring to another ORIENTED_EDGE instead of EDGE_CURVE.
Added handling of edges with null EDGE_CURVE, to allow passing the translation further instead of exception.

Off-topic: text of warning message is corrected in genproj

Added test bugs step bug29979
This commit is contained in:
abv
2019-07-09 14:47:21 +03:00
committed by bugmaster
parent ba165db3d3
commit fa68c1e116
3 changed files with 47 additions and 17 deletions

11
tests/bugs/step/bug29979 Normal file
View File

@@ -0,0 +1,11 @@
puts "==============================================================="
puts "0029979: Data Exchange - Crash by reading STEP file"
puts "==============================================================="
puts ""
puts "Read only the solid that contains broken edges"
stepread [locate_data_file bug29979_firetherm_12.step] a #10154
tpstat c
puts "\nCheck that result is not empty"
checknbshapes a_1 -solid 1 -face 1565