mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
25 lines
651 B
Plaintext
Executable File
25 lines
651 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
|
|
|
|
checknbshapes result -vertex 10 -edge 10 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 21
|
|
}
|
|
|
|
set 2dviewer 1
|