0026132: Invalid result of boolean operation
[occt.git] / tests / bugs / modalg_1 / buc60782_3
CommitLineData
9aa684ed 1puts "TODO OCC25919 ALL: Error: Offset is not done."
2puts "TODO OCC25919 ALL: Faulty BUC60782: mkoffset works wrongly"
58cf74e0 3puts "TODO OCC25919 ALL: Error : The area of result shape is"
0e94a94e 4
0e94a94e 5puts "========================"
6puts "BUC60782"
7puts "CASE 3"
8puts "========================"
9puts ""
10puts "Results of Geom2d_OffsetCurve are sometimes strange (not correct). "
11puts ""
12
13restore [locate_data_file buc60782c.brep] a
14
15set che [checkshape a]
16if { [regexp {Faulty} $che ] == 1 } {
17 puts "Faulty BUC60782 (case 3): Source shape is invalid"
18} else {
19 puts "BUC60782 OK (case 3): Sourse shape is correct"
20}
21
22set che [checkshape a rr]
23if { [regexp {OK} $che ] != 1 } {
24 puts "Faulty : mistakes are found in SOURCE shape by checkshape command"
25 puts "Body of the script was not executed"
26} else {
27 puts "Checking of SOURCE shape by checkshape - OK"
28 if [catch { mkoffset result a 1 10 } catch_result] {
29 puts "Faulty BUC60782: mkoffset works wrongly"
30 renamevar a result
31 } else {
32 puts "OK BUC60782: offset is created"
33 tpcompound result
34 }
35}
58cf74e0 36checkprops result -s 0
37checkshape result
0e94a94e 38set 2dviewer 0