1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_4/bug13595_2
jgv c8ea5b8e3f 0024204: The algorithm BRepOffsetAPI_MakePipeShell produces resulting shape with unwarrantably big tolerance
Added test case bugs/modalg_5/bug24204

Modified following test cases:
bugs modalg_3 bug605 - case with bad input data, command "settolerance w1 1.e-7" was added;
bugs modalg_4 bug629 - wrong case, now the algorithm can not build pipes on such profiles, test case was removed;
bugs modalg_4 bug13595_1, bug13595_1 - number of subshapes was has changed;
bugs modalg_5 bug23706_2 - square of resulting face was changed;
bugs modalg_5 bug23870_1, bug23870_2, bug23870_3, bug23870_4, bug23870_5 - the number of subshapes was changed.
2014-01-16 12:20:52 +04:00

33 lines
627 B
Plaintext
Executable File

puts "============"
puts "OCC13595"
puts "============"
puts ""
######################################################
# MakePipe raises exception
######################################################
set BugNumber OCC13595
restore [locate_data_file bug13595_spine.brep] sp
restore [locate_data_file bug13595_profile2.brep] p2
if [catch { pipe result sp p2 } catch_result] {
puts "${BugNumber}: Faulty (1)"
} else {
set square 407.922
set nb_v_good 6
set nb_e_good 7
set nb_w_good 2
set nb_f_good 2
set nb_sh_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 19
}
set 2dviewer 0