mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026010: [OCCT 6.8.0 regression] BRepFeat_SplitShape returns invalid shapes
This commit is contained in:
35
tests/bugs/modalg_6/bug26010
Executable file
35
tests/bugs/modalg_6/bug26010
Executable file
@@ -0,0 +1,35 @@
|
|||||||
|
puts "============"
|
||||||
|
puts "OCC26010"
|
||||||
|
puts "============"
|
||||||
|
puts ""
|
||||||
|
#######################################################################
|
||||||
|
# [OCCT 6.8.0 regression] BRepFeat_SplitShape returns invalid shapes
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug26010_splitnoproblem671.brep] s
|
||||||
|
|
||||||
|
explode s
|
||||||
|
whatis s_1
|
||||||
|
whatis s_2
|
||||||
|
|
||||||
|
settolerance s_1 1e-5
|
||||||
|
|
||||||
|
splitshape result s s_2 s_1
|
||||||
|
|
||||||
|
whatis result
|
||||||
|
|
||||||
|
set result_length [ llength [explode result] ]
|
||||||
|
if { ${result_length} != 3} {
|
||||||
|
puts "Error: shape number is wrong"
|
||||||
|
}
|
||||||
|
|
||||||
|
checkshape result_1
|
||||||
|
checkshape result_2
|
||||||
|
checkshape result_3
|
||||||
|
|
||||||
|
vinit
|
||||||
|
vdisplay result_1
|
||||||
|
vdisplay result_2
|
||||||
|
vdisplay result_3
|
||||||
|
|
||||||
|
set only_screen 1
|
Reference in New Issue
Block a user