mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0024496: Crash on BRepAlgoAPI_Section
Added test case bugs/modalg_5/bug24496
This commit is contained in:
parent
32856b630d
commit
242da3e5ef
21
tests/bugs/modalg_5/bug24496
Normal file
21
tests/bugs/modalg_5/bug24496
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
puts "============"
|
||||||
|
puts "OCC24496"
|
||||||
|
puts "============"
|
||||||
|
puts ""
|
||||||
|
#################################
|
||||||
|
# Crash on BRepAlgoAPI_Section
|
||||||
|
#################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug24496_face1.brep] f1
|
||||||
|
restore [locate_data_file bug24496_face2.brep] f2
|
||||||
|
|
||||||
|
bsection result f1 f2
|
||||||
|
|
||||||
|
if { [llength [explode result]] != 2 } {
|
||||||
|
puts "Error: wrong number of intersections. Should be result_1 and result_2"
|
||||||
|
} else {
|
||||||
|
puts "OK: bsection works properly"
|
||||||
|
}
|
||||||
|
|
||||||
|
set length 11.7031
|
||||||
|
set 2dviewer 1
|
Loading…
x
Reference in New Issue
Block a user