mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0024417: BRepAlgoAPI_Section fails on attached shapes
Creation test case for this issue
This commit is contained in:
parent
acb81c8314
commit
5fb5b5c432
35
tests/bugs/modalg_6/bug24417
Normal file
35
tests/bugs/modalg_6/bug24417
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
puts "============"
|
||||||
|
puts "OCC24417"
|
||||||
|
puts "============"
|
||||||
|
puts ""
|
||||||
|
#######################################################################
|
||||||
|
# BRepAlgoAPI_Section fails on attached shapes
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug24417_circle.brep] a
|
||||||
|
restore [locate_data_file bug24417_face.brep] b
|
||||||
|
|
||||||
|
checkshape a
|
||||||
|
checkshape b
|
||||||
|
|
||||||
|
bop a b
|
||||||
|
bopsection result
|
||||||
|
|
||||||
|
set length 19.8372
|
||||||
|
|
||||||
|
set nbshapes_expected "
|
||||||
|
Number of shapes in shape
|
||||||
|
VERTEX : 2
|
||||||
|
EDGE : 1
|
||||||
|
WIRE : 0
|
||||||
|
FACE : 0
|
||||||
|
SHELL : 0
|
||||||
|
SOLID : 0
|
||||||
|
COMPSOLID : 0
|
||||||
|
COMPOUND : 1
|
||||||
|
SHAPE : 4
|
||||||
|
|
||||||
|
"
|
||||||
|
checknbshapes result -ref ${nbshapes_expected} -t -m "Result of BRepAlgoAPI_Section"
|
||||||
|
|
||||||
|
set 2dviewer 1
|
Loading…
x
Reference in New Issue
Block a user