mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0022644: Incorrect result of Boolean operations (Fuse, Cut, Common)
Added test cases bugs/modalg_6/bug22644_1 bug22644_2 bug22644_3
This commit is contained in:
18
tests/bugs/modalg_6/bug22644_1
Normal file
18
tests/bugs/modalg_6/bug22644_1
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "=========="
|
||||
puts "OCC22644"
|
||||
puts "=========="
|
||||
puts ""
|
||||
##############################################################
|
||||
# Incorrect result of Boolean operations (Fuse, Cut, Common)
|
||||
##############################################################
|
||||
|
||||
restore [locate_data_file bug22644_Torus.brep] t
|
||||
restore [locate_data_file bug22644_Prism.brep] p
|
||||
checkshape t
|
||||
checkshape p
|
||||
|
||||
bop t p
|
||||
bopfuse result
|
||||
|
||||
set square 681.87
|
||||
set 2dviewer 1
|
18
tests/bugs/modalg_6/bug22644_2
Normal file
18
tests/bugs/modalg_6/bug22644_2
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "=========="
|
||||
puts "OCC22644"
|
||||
puts "=========="
|
||||
puts ""
|
||||
##############################################################
|
||||
# Incorrect result of Boolean operations (Fuse, Cut, Common)
|
||||
##############################################################
|
||||
|
||||
restore [locate_data_file bug22644_Torus.brep] t
|
||||
restore [locate_data_file bug22644_Prism.brep] p
|
||||
checkshape t
|
||||
checkshape p
|
||||
|
||||
bop t p
|
||||
bopcut result
|
||||
|
||||
set square 491.142
|
||||
set 2dviewer 1
|
18
tests/bugs/modalg_6/bug22644_3
Normal file
18
tests/bugs/modalg_6/bug22644_3
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "=========="
|
||||
puts "OCC22644"
|
||||
puts "=========="
|
||||
puts ""
|
||||
##############################################################
|
||||
# Incorrect result of Boolean operations (Fuse, Cut, Common)
|
||||
##############################################################
|
||||
|
||||
restore [locate_data_file bug22644_Torus.brep] t
|
||||
restore [locate_data_file bug22644_Prism.brep] p
|
||||
checkshape t
|
||||
checkshape p
|
||||
|
||||
bop t p
|
||||
bopcommon result
|
||||
|
||||
set square 102.34
|
||||
set 2dviewer 1
|
Reference in New Issue
Block a user