mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
26 lines
475 B
Plaintext
Executable File
26 lines
475 B
Plaintext
Executable File
|
|
puts "========================"
|
|
puts "BUC60775"
|
|
puts "OCC160"
|
|
puts "(FUSE: A and B)"
|
|
puts "========================"
|
|
|
|
restore [locate_data_file buc60775a.brep] a
|
|
checkshape a
|
|
restore [locate_data_file buc60775b.brep] b
|
|
checkshape b
|
|
|
|
bfuse result a b
|
|
checkshape result
|
|
|
|
set nf [llength [explode result f]]
|
|
|
|
if {$nf < 6} {
|
|
puts "Error : the resulting shape is unclosed!!!"
|
|
}
|
|
|
|
checkprops result -s 328116
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
|
|
|
|