0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug23153
CommitLineData
5bbe7380 1#puts "REQUIRED All: \\*\\*\\* Error on Record"
3bea4c16 2puts "============"
3puts "OCC23153"
4puts "============"
5puts ""
6#######################################################################
7# BRepMesh can't apply a mesh for a face of attached shape
8#######################################################################
9
10pload XDE
11set BugNumber OCC23153
12
13set TheFileName OCC23153-long_furrowed_shape.stp
6d368502 14
3bea4c16 15stepread [locate_data_file $TheFileName] a *
6d368502 16
3bea4c16 17tpcompound result
18
58cf74e0 19checkprops result -s 14684.4
20checkshape result
a4eba920 21checknbshapes result -vertex 1152 -edge 1735 -wire 635 -face 581 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 4106
3bea4c16 22vinit
23vsetdispmode 1
24vdisplay result
25vtop
26vfit
27
28set status 0
3bea4c16 29set x1 223
30set y1 195
ccadc126 31
32if { "[vreadpixel $x1 $y1 rgb name]" == "BLACK" } {
3bea4c16 33 set status 1
34 puts "Faulty Color1"
35}
36
37set x2 224
38set y2 240
ccadc126 39if { "[vreadpixel $x2 $y2 rgb name]" == "BLACK" } {
3bea4c16 40 set status 1
41 puts "Faulty Color2"
42}
43
44set x3 223
45set y3 266
ccadc126 46if { "[vreadpixel $x3 $y3 rgb name]" == "BLACK" } {
3bea4c16 47 set status 1
48 puts "Faulty Color3"
49}
50
51# Resume
52puts ""
53if { ${status} == 0 } {
54 puts "OK ${BugNumber}"
55} else {
56 puts "Faulty ${BugNumber}"
57}
58
5747059b 59checkview -screenshot -3d -path ${imagedir}/${test_image}.png
3bea4c16 60
61