• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Anyone know why changing "RotZ" to 45...

Scheduled Pinned Locked Moved Dynamic Components
sketchup
5 Posts 2 Posters 980 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    fizgig
    last edited by 25 Feb 2011, 20:19

    flips the guy upside down?


    test.skp

    1 Reply Last reply Reply Quote 0
    • S Offline
      Saladyne
      last edited by 25 Feb 2011, 22:48

      The axis on this component are reversed; the blue axis is downwards (-180). Double click on the component to see the start point and axis orientation. In other words the X axis rotation is -180 (you can show this by displaying the RotX and RotY attributes (Pro version of Sketchup only). For some reason (not sure why - maybe someone from Google could explain?) when you change any rotation in a Component the other two rotations are set to 0 so when you change the Z axis rotation to 45 the guy is 'flipped' to 0 rotation on the X axis.

      You can sort this by reversing the original axis direction of the component using the axis tool or by rotating the Component by 180deg (round the X axis). If you want two rotations in a Component; say RotX and RotZ you will need to 'nest' the Component and rotate the nested elements separately... see my comments on the 'DC "jumping" when moved/rotated' thread.
      S

      1 Reply Last reply Reply Quote 0
      • F Offline
        fizgig
        last edited by 25 Feb 2011, 22:56

        That makes sense. I've edited the body to not have the -180 degree problem and when I now click on it, it swings the way I want it to. I'd like it to return to home position if you click on it again. For some reason, it blows up on the second click. No idea why.


        test2.skp

        1 Reply Last reply Reply Quote 0
        • S Offline
          Saladyne
          last edited by 25 Feb 2011, 23:56

          There must be syntax issues - that I don't fully understand; perhaps a more experienced DC creator could comment? It would appear you can't have negative values or nested links (with this arrangement of variables)... However hopefully the attached solves your problem!


          test2_a.skp

          1 Reply Last reply Reply Quote 0
          • S Offline
            Saladyne
            last edited by 25 Feb 2011, 23:58

            Oops! V7 version of model attached!


            test2_av7.skp

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              4/5
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement