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:
11
tests/bugs/step/bug29979
Normal file
11
tests/bugs/step/bug29979
Normal 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
|
Reference in New Issue
Block a user