mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
33 lines
724 B
Plaintext
Executable File
33 lines
724 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC24573"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Wrong result of 2d-offset algorithm on customer's shape
|
|
#######################################################################
|
|
|
|
set BugNumber OCC24573
|
|
|
|
puts "Load shape ..."
|
|
restore [locate_data_file bug24573_Wire.brep] ww
|
|
|
|
if [catch { mkoffset resoffset ww 1 12.5 } ] {
|
|
puts "Faulty ${BugNumber} : mkoffset is wrong"
|
|
} else {
|
|
renamevar resoffset_1 result
|
|
|
|
set length 178.54
|
|
|
|
set nb_v_good 10
|
|
set nb_e_good 10
|
|
set nb_w_good 1
|
|
set nb_f_good 0
|
|
set nb_sh_good 0
|
|
set nb_sol_good 0
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 0
|
|
set nb_shape_good 21
|
|
}
|
|
|
|
set 2dviewer 1
|