0029395: Visualization, V3d_View - Grid disappears forever after enabling RayTracing
[occt.git] / tests / bugs / vis / bug27688
1 puts "========"
2 puts "Visualization, AIS_Dimension - add possibility to set custom text value"
3 puts "========"
4
5 # Test case creates three lenght dimensions where value is set as real,
6 # as text and is reset to auto value state.
7
8 pload MODELING VISUALIZATION
9
10 vinit
11 vpoint p1 0 0 0
12 vpoint p2 50 50 0
13
14 vdimension dim1 -length -plane xoy -shapes p1 p2
15 vdimparam dim1 -flyout -15 -arrowlength 4 -showunits -value 10
16
17
18 vpoint p3 100 100 0
19 vpoint p4 150 150 0
20
21 vdimension dim2 -length -plane xoy -shapes p3 p4
22 vdimparam dim2 -flyout -15 -arrowlength 4 -hideunits -textvalue "w_1"
23 vfit
24
25
26 vpoint p5 200 200 0
27 vpoint p6 250 250 0
28
29 vdimension dim3 -length -plane xoy -shapes p5 p6
30 vdimparam dim3 -flyout -15 -arrowlength 4 -showunits -textvalue "w_1"
31 vdimparam dim3 -autovalue
32
33 vfit
34 vdump $imagedir/${casename}.png