mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0025342: [Regression] BRepAlgoAPI_Section returns wrong number of edges
Test case for issue CR25342
This commit is contained in:
parent
3da62e0ec3
commit
702ef49f22
22
tests/bugs/modalg_6/bug25342
Executable file
22
tests/bugs/modalg_6/bug25342
Executable file
@ -0,0 +1,22 @@
|
||||
puts "============"
|
||||
puts "OCC25342"
|
||||
puts "============"
|
||||
puts ""
|
||||
###############################
|
||||
## [Regression] BRepAlgoAPI_Section returns wrong number of edges
|
||||
###############################
|
||||
|
||||
restore [locate_data_file bug25342_pump2.brep] p
|
||||
|
||||
explode p
|
||||
bop p_1 p_2
|
||||
bopsection result
|
||||
|
||||
set nbshapes_expected "
|
||||
Number of shapes in shape
|
||||
EDGE : 4
|
||||
"
|
||||
|
||||
checknbshapes result -ref ${nbshapes_expected} -t -m "Number of edges"
|
||||
|
||||
set 3dviewer 1
|
Loading…
x
Reference in New Issue
Block a user