1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/modalg_2/bug21722

33 lines
734 B
Plaintext
Executable File

puts "============"
puts "OCC21722"
puts "============"
puts ""
#######################################################################
# The operation Section produces non-complete result.
#######################################################################
set BugNumber OCC21722
puts "Load shape ..."
restore [locate_data_file OCC21722.brep] g
puts "Prepare first shape ..."
explode g
copy g_1 b1
puts "Prepare second shape ..."
copy g_2 b2
puts "Prepare boolean operation ..."
bop b1 b2
puts "Start boolean operation ..."
bopsection result
puts "Finish boolean operation ..."
set length 1.91376
checknbshapes result -vertex 4 -edge 2 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 7
set 2dviewer 0