1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/tests/bugs/modalg/bug60703_4

36 lines
860 B
Plaintext
Executable File

puts "========================"
puts "BUC60703"
puts "========================"
puts ""
####################################
## Crash during a fuse whilst two plans are tangent.
####################################
restore [locate_data_file buc60703d.brep] a
#maxtolerance a
puts [checkshape a]
restore [locate_data_file buc60703f.brep] b
#maxtolerance b
puts [checkshape b]
if [catch {bfuse result a b } catch_result] {
puts "Faulty BUC60703: here is problem with FUSE operation"
} else {
puts "OK OCC348: function FUSE works ok"
if [catch {checkshape result} catch_result] {
set mistake 1
} else {
set mistake 0
}
if { $mistake != 0} {
puts "Faulty BUC60703 : here is checking problem. See also OCC438: 919 D3 and D4"
} else {
puts "BUC60703 : here is NOT checking problem"
}
}
set square 505.797
set 2dviewer 0