0027802: [Regression to 7.0] Solid classifier raises exception ConstructionError
[occt.git] / tests / bugs / modalg_6 / bug27179
CommitLineData
93e38faa 1puts "============"
2puts "OCC27179"
3puts "============"
4puts ""
5###############################
6## The algorithm of sharing edges in Boolean operation should be improved
7###############################
8
9plane pl 0.195808075898442, -0.229262227170656, 4.05546403129991 0 0 1
10psphere s1 pl 0.03101752454
11restore [locate_data_file bug27128-Helix_Pipe.brep] s2
12
13settolerance s1 2.0e-6
14
15explode s1 f
16explode s2 f
17
18bsection result s1_1 s2_2
19
20smallview
21donly s1
22fit
23donly result
24
25if { [string compare -nocase [checksection result] " nb alone Vertices : 0\n\n"] } {
26 puts "ERROR: the section is not closed"
27} else {
28 puts "The section is OK"
29}
30
31checkview -screenshot -2d -path ${imagedir}/${test_image}.png