0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_5 / bug24496
CommitLineData
242da3e5 1puts "============"
2puts "OCC24496"
3puts "============"
4puts ""
5#################################
6# Crash on BRepAlgoAPI_Section
7#################################
8
9restore [locate_data_file bug24496_face1.brep] f1
10restore [locate_data_file bug24496_face2.brep] f2
11
12bsection result f1 f2
13
14if { [llength [explode result]] != 2 } {
15 puts "Error: wrong number of intersections. Should be result_1 and result_2"
16} else {
17 puts "OK: bsection works properly"
18}
19
58cf74e0 20checkprops result -l 11.7031
21checkshape result
22checksection result
5747059b 23checkview -display result -2d -path ${imagedir}/${test_image}.png