0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / modalg_5 / bug24208_2
1 puts "============"
2 puts "OCC24208"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Optimization of the edge-edge intersection algorithms
7 #######################################################################
8
9 restore [locate_data_file bug24673_HYDRO_occt_case_3_after.brep] b
10
11 set objs [explode b]
12 set nbObjs [llength ${objs}]
13
14 bclearobjects
15 bcleartools
16
17 for {set i 0} {$i < $nbObjs} {incr i} {
18   baddobjects [lindex ${objs} ${i}]
19 }
20
21 bfillds
22 bbuild result
23
24 set square 182532
25
26 # Analysis of "nbshapes result"
27 checknbshapes result -vertex 46 -edge 86 -wire 30 -face 26 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 189
28 set 2dviewer 1