0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / modalg_2 / bug397
CommitLineData
a87752f3 1puts "========================"
2puts " OCC397 "
3puts "========================"
4
9c1519c4 5puts "TODO OCC27226 ALL: Colors are not equal in default"
6puts "TODO OCC27226 ALL: Shading is missing in 3D Viewer"
7
a87752f3 8pload QAcommands
9
a87752f3 10restore [locate_data_file OCC397.brep] a
352ffd73 11checkshape a
a87752f3 12
13tclean a
14explode a f
15renamevar a_55 result
16
17vinit
18vdisplay result
19vfit
20vsetdispmode result 1
21
f1aa2b62 22set x_coord 235
23set y_coord 180
a87752f3 24
f1aa2b62 25checkcolor $x_coord $y_coord 0.5 0.35 0.05
a87752f3 26
f1aa2b62 27if { ${stat} != 1 } {
a87752f3 28 puts "Error : Shading is missing in 3D Viewer"
29}
30
4754e164 31vselect 220 170
a87752f3 32
58cf74e0 33checkprops result -s 92.9029
34checkshape result
5747059b 35checkview -screenshot -3d -path ${imagedir}/${test_image}.png
a87752f3 36
37