0027958: Visualization, AIS_Trihedron - add shaded presentation option
[occt.git] / tests / bugs / vis / bug27692
1 puts "========"
2 puts "Visualization, AIS_AngleDimension - exterior angle and arrows visibility improvements"
3 puts "========"
4
5 # Test case creates three angle dimensions with exterior/interior presentation for the angle
6 # and different visual state of presentation arrows
7
8 pload MODELING VISUALIZATION
9
10 vinit
11 vpoint p1 0 0 0
12 vpoint p2 10 0 0
13 vpoint p3 10 5 0
14 vdimension dim1 -angle -plane xoy -shapes p1 p2 p3
15 vangleparam dim1 -type exterior -showarrow first
16
17 vpoint p4 50 0 0
18 vpoint p5 60 0 0
19 vpoint p6 60 5 0
20 vdimension dim2 -angle -plane xoy -shapes p4 p5 p6
21 vangleparam dim2 -type interior -showarrow none
22
23 vpoint p7 30 -40 0
24 vpoint p8 40 -40 0
25 vpoint p9 50 -35 0
26 vdimension dim3 -angle -plane xoy -shapes p7 p8 p9
27 vangleparam dim3 -type exterior -showarrow second
28
29 vfit
30 vdump $imagedir/${casename}.png