0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_5 / bug25568
CommitLineData
a4bb1420 1puts "============"
2puts "OCC25568"
3puts "============"
4puts ""
5#########################################################################
6# SIGSEGV in thrusections with edge without 3D curve
7#########################################################################
8
9restore [locate_data_file bug25568_loft-inv1-draw-Loft-00-section.brep] Loft-00-section
10restore [locate_data_file bug25568_loft-inv1-draw-Loft-01-section.brep] Loft-01-section
11
12if [info exists result] {unset result}
13
14thrusections result 0 0 Loft-00-section Loft-01-section
15
16if ![isdraw result] {
17 if {[info commands fixshape] == ""} {pload XSDRAW}
18 fixshape Loft-00-section_fixed Loft-00-section
19 thrusections result 0 0 Loft-00-section_fixed Loft-01-section
20 if ![isdraw result] {
21 puts "Error : thrusection is failed even after fixing arguments"
22 }
23}
24
58cf74e0 25checkprops result -s 25.236
26checkshape result
5747059b 27checkview -display result -2d -path ${imagedir}/${test_image}.png