1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-31 11:15:31 +03:00
occt/tests/bugs/modalg/bug22725
apn 809eca9db6 Added test cases to folders /bugs/modalg and /bugs/moddata from chl grid.
Modified TODO in some offset cases.
Deleted the same test cases bug697_* in /bugs/modalg
Deleted test cases which is based on v2d commands
Added test cases to folder bugs
2013-01-25 16:22:41 +04:00

37 lines
811 B
Plaintext
Executable File

puts "============"
puts "OCC22725"
puts "============"
puts ""
#######################################################################
# BRepOffsetAPI_ThruSections algorithm produces twisted surface on some wires
#######################################################################
set BugNumber OCC22725
restore [locate_data_file OCC22725-ruled_arc9.brep] a
restore [locate_data_file OCC22725-ruled_bsc9.brep] b
wire w1 a
wire w2 b
set issolid 0
set isruled 1
if { [catch { thrusections result ${issolid} ${isruled} w1 w2 } catch_result] } {
puts "Faulty ${BugNumber} : thrusections is wrong"
}
set square 11010.6
set nb_v_good 2
set nb_e_good 3
set nb_w_good 1
set nb_f_good 1
set nb_sh_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 8
set 3dviewer 1