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