1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

0026233: BRepOffset_MakeOffset makes incorrect result

Test-case for issue #26233
This commit is contained in:
ifv
2015-06-04 12:40:47 +03:00
committed by abv
parent 44d4c9e586
commit edab390e05
10 changed files with 314 additions and 60 deletions

View File

@@ -25,10 +25,10 @@ set nb_e_good 3
set nb_w_good 3
set nb_f_good 3
set nb_sh_good 1
set nb_sol_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 13
set nb_shape_good 12
set index [lsearch [whatis s] Closed]

View File

@@ -38,10 +38,10 @@ set nb_e_good 14
set nb_w_good 8
set nb_f_good 8
set nb_sh_good 1
set nb_sol_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 40
set nb_shape_good 39
}
set 2dviewer 0

View File

@@ -43,10 +43,10 @@ set nb_e_good 6
set nb_w_good 4
set nb_f_good 4
set nb_sh_good 1
set nb_sol_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 20
set nb_shape_good 19
}

View File

@@ -42,10 +42,10 @@ set nb_e_good 6
set nb_w_good 4
set nb_f_good 4
set nb_sh_good 1
set nb_sol_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 20
set nb_shape_good 19
}

View File

@@ -38,10 +38,10 @@ set nb_e_good 9
set nb_w_good 4
set nb_f_good 4
set nb_sh_good 1
set nb_sol_good 0
set nb_sol_good 1
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 22
set nb_shape_good 23
}

View File

@@ -38,10 +38,10 @@ set nb_e_good 9
set nb_w_good 4
set nb_f_good 4
set nb_sh_good 1
set nb_sol_good 0
set nb_sol_good 1
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 22
set nb_shape_good 23
}

View File

@@ -40,10 +40,10 @@ set nb_e_good 9
set nb_w_good 4
set nb_f_good 4
set nb_sh_good 1
set nb_sol_good 0
set nb_sol_good 1
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 22
set nb_shape_good 23
}

View File

@@ -38,10 +38,10 @@ set nb_e_good 6
set nb_w_good 4
set nb_f_good 4
set nb_sh_good 1
set nb_sol_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 20
set nb_shape_good 19
}

View File

@@ -0,0 +1,27 @@
puts "========"
puts "OCC26233"
puts "========"
puts ""
################################################
# BRepOffset_MakeOffset makes incorrect result
################################################
psphere a 100
explode a f
thickshell r a_1 10 i 1.e-7
explode r
set bug_info [whatis r]
if {$bug_info != "r is a shape SOLID FORWARD Free Modified Closed\n"} {
puts "ERROR: OCC26233 is reproduced. Shape r has incorrect characteristics."
}
set bug_info [whatis r_1]
if {$bug_info != "r_1 is a shape SHELL FORWARD Modified Orientable Closed\n"} {
puts "ERROR: OCC26233 is reproduced. Shape r_1 has incorrect characteristics."
}
set bug_info [whatis r_2]
if {$bug_info != "r_2 is a shape SHELL REVERSED Modified Orientable Closed\n"} {
puts "ERROR: OCC26233 is reproduced. Shape r_2 has incorrect characteristics."
}