0028556: Invalid result of Fuse operation in the test case bugs moddata_2 bug469
[occt.git] / tests / bugs / moddata_2 / bug469
CommitLineData
0e94a94e 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
f80842e3 10# remove small edges from the shape
11fixsmalledges a a 0.002
12
13# explode to get two arguemnts
0e94a94e 14explode a
15
f80842e3 16# use fuzzy value to treat misalignment of the arguments
17bfuzzyvalue 0.002
18
19# perform Boolean operation
0e94a94e 20bfuse result a_1 a_2
093a3fe5 21
f80842e3 22# restoring fuzzy value to zero
23bfuzzyvalue 0.0
24
25# check the obtained result
352ffd73 26checkshape result
093a3fe5 27checkprops result -s 30523.3 -v 22730.1
28checknbshapes result -shell 1 -solid 1
0e94a94e 29
5747059b 30checkview -display result -2d -path ${imagedir}/${test_image}.png