0029682: Boolean intersection with fuzzy-option hangs
[occt.git] / tests / perf / modalg / bug29682
1 puts "========"
2 puts "OCC29682"
3 puts "========"
4 puts ""
5 #################################################
6 # Boolean intersection with fuzzy-option hangs
7 #################################################
8
9 restore [locate_data_file bug29682_f1.brep] s1
10 restore [locate_data_file bug29682_f2.brep] s2
11
12 copy s1 f1
13 copy s2 f2
14
15 bfuzzyvalue 0.0
16 dchrono h1 restart
17 bsection r1 f1 f2
18 dchrono h1 stop counter BSectionNoFV
19
20 checknbshapes r1 -vertex 2 -edge 1
21 checkprops r1 -l 2995.33
22
23 copy s1 f1
24 copy s2 f2
25
26 bfuzzyvalue 0.2
27 dchrono h2 restart
28 bsection r2 f1 f2
29 dchrono h2 stop counter BSectionFV
30
31 checknbshapes r2 -vertex 2 -edge 1
32 checkprops r2 -l 2995.33
33
34 smallview
35 don s1 s2 r2
36 fit
37
38 checkview -screenshot -2d -path ${imagedir}/${test_image}.png