0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / vis / bug30669
CommitLineData
245cbf94 1puts "============="
2puts "0030669: Visualization - AIS_Manipulator ignores parent transformation"
3puts "============="
4
5pload MODELING VISUALIZATION
6box b1 0 0 0 1 2 3
7box b2 2 0 0 2 1 3
8vclear
9vinit View1
10vpoint p0 0 0 0
11vdisplay -dispMode 1 b1 b2
12vchild b1 -add b2
13vlocation b1 -setRotation 1 0 0 1 -setLocation 4 -2 0
14vfit
15vmanipulator m -attach b2
16
17set mouse_pick {265 265}
18set mouse_drag {265 200}
19
20vmoveto {*}$mouse_pick
21vselect {*}$mouse_pick
22vmanipulator m -startTransform {*}$mouse_pick
23vmanipulator m -transform {*}$mouse_drag
24vmanipulator m -stopTransform
25vselect 0 0
26
27if { [string trim [vlocation b2 -location]] != "0 1.80711 0" } { puts "Error: wrong location" }
28vdump $imagedir/${casename}.png