0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_5 / bug25722
1 puts "=========="
2 puts "OCC25722"
3 puts "=========="
4 puts ""
5 #################################################
6 # Wrong implementation of SetFuzzyValue method
7 #################################################
8
9 box b1 10 10 10
10 box b2 10.0001 0 0 10 10 10
11 bfuzzyvalue 0.0001
12 bclearobjects
13 bcleartools
14 baddobjects b1
15 baddtools b2
16 bfillds
17 bbop r 1
18
19 checknbshapes r -solid 1
20
21 bfuzzyvalue 0.
22 box b1 10 10 10
23 box b2 10.0001 0 0 10 10 10
24 bclearobjects
25 bcleartools
26 baddobjects b1
27 baddtools b2
28 bfillds
29 bbop result 1
30
31 checknbshapes result -solid 2
32
33 checkview -display result -2d -path ${imagedir}/${test_image}.png