0026106: BRepMesh - revision of data model
[occt.git] / tests / bugs / modalg_7 / bug26776
CommitLineData
98f5d739 1puts "========"
2puts "OCC26776"
3puts "========"
4puts ""
5##################################################
6# Bad result of section algorithm
7##################################################
8
9restore [locate_data_file bug26580-plate-2.brep] a2
10restore [locate_data_file bug26776_b2.brep] b2
11
12bsection result a2 b2
13
14checkshape result
15
16checknbshapes result -vertex 2 -edge 1
17
18regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
19
20if { $nbv != 2 } {
21 puts "Error : Bad result of section algorithm"
22} else {
23 puts "OK: Good result of section algorithm"
24}
25
26checkprops result -l 27.3439
27
28smallview
29don result
30fit
31
32checkview -screenshot -2d -path ${imagedir}/${test_image}.png