0028248: [Regression] HLR Algo result is retrieved from the last added shape only
[occt.git] / tests / bugs / modalg_7 / bug24365
1 puts "TODO OCC24365 ALL: ERROR: OCC24365 is reproduced."
2
3 puts "========"
4 puts "OCC24365"
5 puts "========"
6 puts ""
7 ##################################################################
8 # BRepAlgoAPI_Section wrong result, BRepAlgo_Section good result
9 ##################################################################
10
11 restore [locate_data_file bug24365_faceA.brep] a
12 restore [locate_data_file bug24365_faceB.brep] b
13
14 bsection result a b
15
16 set bug_info [lprops result]
17
18 if {[lindex $bug_info 2] == 0} {
19   puts "ERROR: OCC24365 is reproduced. Section of two shapes is not built."
20 }
21
22 smallview
23 fit
24 checkview -screenshot -2d -path ${imagedir}/${test_image}.png