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