1
0
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:
apn 2016-10-27 15:50:24 +03:00
parent e2a37a80f6
commit 91764a8f6d

View 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