1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/moddata_3/bug23943_1
2013-05-23 14:52:21 +04:00

29 lines
678 B
Plaintext
Executable File

puts "============"
puts "OCC23943"
puts "============"
puts ""
#######################################################################
# OCC fails to work with offset surfaces with singularities
#######################################################################
set BugNumber OCC23943
pload XDE
restore [locate_data_file bug23943_a.brep] s
fixshape result s
checkshape result
regexp {EDGE +: +([-0-9.+eE]+)} [numshapes s] full EDGE_num_s
regexp {EDGE +: +([-0-9.+eE]+)} [numshapes result] full EDGE_num_result
if {${EDGE_num_result} != ${EDGE_num_s} || ${EDGE_num_result} == 0} {
puts "Faulty ${BugNumber}"
} else {
puts "OK ${BugNumber}"
}
set 2dviewer 0