0030346: Modeling Algorithms - BRepPrimAPI_MakeRevol throws "BRepSweep_Translation...
[occt.git] / tests / bugs / modalg_7 / bug27760
1 puts "========"
2 puts "OCC27760"
3 puts "========"
4 puts ""
5 ########################################################
6 # [regression] BRepAlgoAPI_Common returns empty result
7 ########################################################
8
9 restore [locate_data_file bug27760_leid.brep] l
10
11 explode l
12 brunparallel 1
13 bop l_1 l_2
14 bopcommon result
15
16 set bug_info [string trim [explode result]]
17 if {[llength $bug_info] == 0} {
18   puts "ERROR: OCC27760 is reproduced. Result of bopcommon operation is empty compound."
19 }
20
21 vinit
22 vdisplay result
23 vfit
24
25 checkview -screenshot -3d -path ${imagedir}/${test_image}.png