mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +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:
parent
cc2b0ec0e3
commit
3eac3f55a5
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
|
Loading…
x
Reference in New Issue
Block a user