0027015: Sewing returns invalid shape if some faces are nearly plane cones
[occt.git] / tests / bugs / modalg_2 / bug23214
1 puts "============"
2 puts "OCC23214"
3 puts "============"
4 puts ""
5 #######################################################################
6 # BOP section operation produces incorrect result.
7 #######################################################################
8
9 restore [locate_data_file OCC23214-face_1188.brep] b1
10 restore [locate_data_file OCC23214-shell_for_line_1188.brep] b2
11
12 bop b1 b2
13 bopsection result
14
15 checkprops result -l 2.94086 
16 checkshape result 
17 checksection result
18 set nb_good_vertex 4
19 set nb_good_edge 2
20 set nb_good_wire 0
21 set nb_good_face 0
22 set nb_good_shell 0
23 set nb_good_solid 0
24 set nb_good_compsolid 0
25 set nb_good_compound 1
26 set nb_good_shape 7
27
28 checkview -display result -2d -path ${imagedir}/${test_image}.png