0030670: Modeling Algorithms - Performance improvement of Boolean Operations algorithm
[occt.git] / tests / perf / modalg / bug30670
1 puts "==============================================================="
2 puts "0030670: Modeling Algorithms - Performance improvement of Boolean Operations algorithm"
3 puts "==============================================================="
4 puts ""
5
6 autodisplay 0
7 restore [locate_data_file bug30670_prisms.brep] c
8
9 bglue 1
10 bfuzzyvalue 0
11 set exp [explode c]
12 bclearobjects
13 bcleartools
14 baddobjects c_1
15 eval baddtools [lrange $exp 1 end]
16
17 dchrono fillds reset
18 dchrono fillds start
19 bfillds 
20 dchrono fillds stop counter FILLER
21
22 dchrono fuse reset
23 dchrono fuse start
24 bbop result 1
25 dchrono fuse stop counter BUILDER
26
27 bglue 0
28
29 checknbshapes result -wire 12686 -face 12598 -shell 1 -solid 1 -t
30 checkprops result -s 1.34932e+06 -v 2.60155e+07
31
32 checkview -display result -2d -path ${imagedir}/${test_image}.png