cba287d6 |
1 | puts "========" |
2 | puts "OCC26563" |
3 | puts "========" |
4 | puts "" |
5 | ################################################################################# |
6 | # Boolean cut operation in new API multi-tool mode performs fuse instead of cut |
7 | ################################################################################# |
8 | |
9 | restore [locate_data_file bug26563_BodyShape.brep] bodyshape |
10 | restore [locate_data_file bug26563_CutShape.brep] cutshape |
11 | |
12 | bclearobjects |
13 | bcleartools |
14 | baddobjects bodyshape |
15 | baddtools cutshape |
16 | bfuzzyvalue 1e-5 |
17 | bapibop result 2 |
18 | |
19 | checkshape result |
20 | checkprops result -v 1.52043e+7 |
21 | checknbshapes result -vertex 234 -edge 354 -wire 122 -face 121 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 834 |
22 | |
23 | checkview -display result -2d -path ${imagedir}/${test_image}.png |