0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / modalg_1 / buc60409_1
CommitLineData
0e94a94e 1puts "=============="
2puts " BUC60409 "
3puts " FUSE "
4puts "=============="
5
6restore [locate_data_file buc60409a.brep] c
7restore [locate_data_file buc60409b.brep] s
8
9set che [checkshape c]
10if { [regexp {Faulty} $che ] == 1 } {
11 puts "Faulty BUC60409 (shape 1): Source shape is invalid. It was detected by Checkshape command"
12 puts "Body of the script was NOT executed"
13 renamevar c result
14} else {
15 puts "BUC60409 OK (shape 1): Source shape is valid"
16 set che [checkshape s]
17 if { [regexp {Faulty} $che ] == 1 } {
18 puts "Faulty BUC60409 (shape 2): Source shape is invalid. It was detected by Checkshape command"
19 puts "Body of the script was NOT executed"
20 renamevar s result
21 } else {
22 puts "BUC60409 OK (shape 2): Source shape is valid"
23 bfuse result c s
24 }
25}
26set square 39.0894
27set 2dviewer 0