0028786: Refactoring of the Warning/Error reporting system of Boolean Operations...
[occt.git] / tests / boolean / bopfuse_complex / D6
index f2e2c24..bd6ac2e 100644 (file)
@@ -1,10 +1,18 @@
-puts "TODO #22911 ALL: Error: The command cannot be built"
-
 restore [locate_data_file BUC60931.brep] sh
 explode sh
 
-bop sh_1 sh_2
-bopfuse result
+bclearobjects
+bcleartools
+baddobjects sh_1 sh_2
+bfillds
+bcbuild rx
+
+# Use Cells Builder algorithm to Fuse Shell to Solid
+bcadd result sh_2 1 -m 1 -u
+bcadd result sh_1 1 sh_2 0
+bcmakecontainers result
+
+checknbshapes result -solid 1 -shell 8 -face 466
+checkprops result -s 1.72392e+006 -v 7.37003e+006
 
-checkprops result -s 0
-checkview -display result -2d -otherwise { sh_1 sh_2 } -s -path ${imagedir}/${test_image}.png
+checkview -display result -2d -path ${imagedir}/${test_image}.png