0028556: Invalid result of Fuse operation in the test case bugs moddata_2 bug469
[occt.git] / tests / bugs / moddata_2 / bug469
... / ...
CommitLineData
1puts "========================"
2puts " OCC469 "
3puts "========================"
4puts ""
5######################################################
6## It's impossible to fuse the two shapes in the file attached. #2740, SAM1493
7######################################################
8
9restore [locate_data_file OCC469.brep] a
10# remove small edges from the shape
11fixsmalledges a a 0.002
12
13# explode to get two arguemnts
14explode a
15
16# use fuzzy value to treat misalignment of the arguments
17bfuzzyvalue 0.002
18
19# perform Boolean operation
20bfuse result a_1 a_2
21
22# restoring fuzzy value to zero
23bfuzzyvalue 0.0
24
25# check the obtained result
26checkshape result
27checkprops result -s 30523.3 -v 22730.1
28checknbshapes result -shell 1 -solid 1
29
30checkview -display result -2d -path ${imagedir}/${test_image}.png