mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0021624: BRepFeat_SplitShape produce invalid shape
Added test case bugs/modalg_6/bug21624
This commit is contained in:
parent
35d1221827
commit
b0deeecfba
21
tests/bugs/modalg_6/bug21624
Normal file
21
tests/bugs/modalg_6/bug21624
Normal file
@ -0,0 +1,21 @@
|
||||
puts "=========="
|
||||
puts "OCC21624"
|
||||
puts "=========="
|
||||
puts ""
|
||||
##############################################
|
||||
# BRepFeat_SplitShape produce invalid shape
|
||||
##############################################
|
||||
|
||||
restore [locate_data_file bug21624_splitBug.brep] cc
|
||||
explode cc
|
||||
splitshape result cc_1 cc_1 cc_2 cc_1 cc_3
|
||||
|
||||
set info [ checkshape result f ]
|
||||
|
||||
if { [regexp {The Shape result looks OK} $info] } {
|
||||
puts "OK: Splitshape produces valid shape"
|
||||
} else {
|
||||
puts "Error: Splitshape produces invalid shape"
|
||||
}
|
||||
|
||||
set 2dviewer 1
|
Loading…
x
Reference in New Issue
Block a user