Hi, I want to rotate an object (box) around his origin.When I execute the attached script in the Mged command window, rotation is well done around the box origin. But, when I execute the instruction "mged test.g source test.inp" in a command line, rotation is done along the view origin instead of the box origin !
Regards -- Patrick HUGONNARD CEA Grenoble LETI/DTBS/STD
# Rotation du collimateur # les dimensions sont en mm # Creation de l'objet centre de rotation # in sphrot sph 0 0 0 1 # Creation boite a tourner in boite box 0 0 0 10 0 0 0 20 0 0 0 30 # Creation combinaison comb obj2 u boite # On travaille sur cette region B obj2 oed / obj2/boite # fixed keypoint keypoint 0 0 0 # Rotation (x, y, z) rot -45.000 -0.000 0.000 # transformation acceptée accept
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
