0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug28944
CommitLineData
fc935b4f 1puts "========"
2puts "OCC28944"
3puts "========"
4puts ""
5#######################################################
6# Cannot find section between two faces
7#######################################################
8
9restore [locate_data_file bug28944_shell.brep] sh0
10plane pl0 28.0 0.0 0.0 1.0 0.0 0.0
11mkface f0 pl0 -50 50 -50 50
12
13# Incomplete section
14bsection result sh0 f0
15
16regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
17if { $nbv != 0 } { puts "Error : Section is incorrect" }
18
19checknbshapes result -vertex 2 -edge 2
20
21checkprops result -l 6.91796
22
23checkview -display result -2d -path ${imagedir}/${test_image}.png