0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_7 / bug25856_2
1 puts "============"
2 puts "OCC25856"
3 puts "============"
4 puts ""
5 #############################################################################################
6 # BRepOffsetAPI_ThruSections returns an invalid shape if one wire contains degenerated edges
7 #############################################################################################
8
9 restore [locate_data_file bug25856_threeWires.brep] t
10
11 explode t
12
13 thrusections -N r 0 0 t_1 t_2 t_3
14 checkshape r
15
16 fixshape rr r
17 checkshape rr
18
19 checkview -display r  -2d -path ${imagedir}/${test_image}_1.png
20 checkview -display rr -2d -path ${imagedir}/${test_image}_2.png