rotate box around its center

Help
2009-09-18
2013-04-22
  • Daniel Santos
    Daniel Santos
    2009-09-18

    I have an arb8 that is a cube centered on the origin.
    When I do<br>
    sed box1<br>
    rot 0 45 0<br>
    accept

    it rotates around the axis relative to the 1st vertex. How do I rotate it around the origin ?

     
  • Sean Morrison
    Sean Morrison
    2009-09-18

    sed box1
    keypoint 0 0 0
    rot 0 45 0
    accept

    Without defining a keypoint, each primitive has a predefined implicit keypoint.  You can run keypoint without any arguments to see what it is but by default, it's some user-provided value (which for the arb8, as you noticed, is the first vertex).

    Cheers!
    Sean