mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0025792: BRepAlgoAPI_Section fails depending on order of arguments
Added test case bugs/modalg_6/bug25792
This commit is contained in:
parent
e2a37a80f6
commit
91764a8f6d
23
tests/bugs/modalg_6/bug25792
Normal file
23
tests/bugs/modalg_6/bug25792
Normal file
@ -0,0 +1,23 @@
|
||||
puts "=========="
|
||||
puts "OCC25792"
|
||||
puts "=========="
|
||||
puts ""
|
||||
#############################################################
|
||||
# BRepAlgoAPI_Section fails depending on order of arguments
|
||||
#############################################################
|
||||
|
||||
restore [locate_data_file bug25792_Turbine_VTG.brep] t
|
||||
explode t
|
||||
bop t_1 t_2
|
||||
bopsection res
|
||||
explode res
|
||||
checkprops res -l 1.10148
|
||||
checknbshapes res -vertex 2 -edge 1
|
||||
|
||||
bop t_2 t_1
|
||||
bopsection result
|
||||
explode result
|
||||
checkprops result -l 1.10148
|
||||
checknbshapes result -vertex 2 -edge 1
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
Loading…
x
Reference in New Issue
Block a user