0026938: Boolean operations fail between two ellipsoids
[occt.git] / tests / bugs / modalg_1 / buc60782_2
CommitLineData
a87752f3 1puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_2"
2puts "TODO OCC12345 ALL: Faulty : mistakes are found in SOURCE shape by checkshape command"
3puts "TODO OCC12345 ALL: Faulty BUC60782"
a87752f3 4
5puts "========================"
6puts "BUC60782"
7puts "CASE 2"
8puts "========================"
9puts ""
10puts "Results of Geom2d_OffsetCurve are sometimes strange (not correct). "
11puts ""
12
13restore [locate_data_file buc60782b.brep] a
14set che [checkshape a]
15if { [regexp {Faulty} $che ] == 1 } {
16 puts "Faulty BUC60782 (case 2): Source shape is invalid"
17} else {
18 puts "BUC60782 OK (case 2): Sourse shape is correct"
19}
20
21set che [checkshape a rr]
22if { [regexp {OK} $che ] != 1} {
23 puts "Faulty : mistakes are found in SOURCE shape by checkshape command"
24 puts "Body of the script was not executed"
25} else {
26 puts "Checking of SOURCE shape by checkshape - OK"
27 if [catch { mkoffset result a 1 10 } catch_result] {
28 puts "Faulty BUC60782: mkoffset works wrongly"
29 renamevar a result
30 } else {
31 puts "OK BUC60782: offset is created"
32 tpcompound result
33 }
58cf74e0 34 checkprops result -s 0
35checkshape result
5747059b 36 checkview -display result -2d -path ${imagedir}/${test_image}.png
a87752f3 37}