242da3e5 |
1 | puts "============" |
2 | puts "OCC24496" |
3 | puts "============" |
4 | puts "" |
5 | ################################# |
6 | # Crash on BRepAlgoAPI_Section |
7 | ################################# |
8 | |
9 | restore [locate_data_file bug24496_face1.brep] f1 |
10 | restore [locate_data_file bug24496_face2.brep] f2 |
11 | |
12 | bsection result f1 f2 |
13 | |
14 | if { [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 | |
20 | set length 11.7031 |
21 | set 2dviewer 1 |