0026833: Create command checkview containing all viewer types
[occt.git] / tests / bugs / vis / bug26035_2
1 puts "============"
2 puts "CR26035"
3 puts "============"
4 puts ""
5 #######################################################################
6 #  Exception when trying to draw dimension between face and point
7 #######################################################################
8
9 vfont add [locate_data_file DejaVuSans.ttf] SansFont
10
11 vinit View1
12 vclear
13 vaxo
14
15 box b -10 -10 -10 20 20 20
16 explode b F
17 vdisplay b_1
18
19 vpoint p 10 0 0
20
21 catch {vdimension len -length -shapes b_1 p -plane zox -font SansFont}
22
23 vfit
24
25 checkview -screenshot -3d -path ${imagedir}/${test_image}.png
26