Anyone know why changing "RotZ" to 45...
-
-
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 -
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.
-
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!
-
Advertisement