Читать книгу Blender For Dummies - Jason van Gumster - Страница 73

Hotkeys and coordinate systems

Оглавление

By default, your transformations all happen in the View coordinate system when you use hotkeys. So no matter how you’re viewing the scene, you’re working in the XY plane of the 3D Viewport.

Suppose, however, that you want to grab your object and move it in the global Z-axis. You use a sequence of keypresses to do this action. Follow these steps to grab an object and move it to the global Z-axis:

1 With your object selected, press G.You’re now in Grab/Move mode.

2 Without canceling this operation, press Z.A blue line should appear that indicates the global Z-axis. Your object is locked to move only along that line. If you press Y, your object moves only along the global Y-axis, and pressing X constrains it to the global X-axis.

Pretty neat, huh? This method of using a sequence of hotkeys works with rotating and scaling as well (for example, R ⇒ Z rotates around the global Z-axis and S ⇒ X scales along the global X-axis).

What about any of the other orientations? That’s easy too. All you need to do is set the orientation you want from the Transform Orientations menu as described earlier in this chapter. Even though you’re not using gizmos to transform your selection, Blender still pays attention to the choice you’ve made in this menu. After you choose your preferred transform orientation, just use the standard G ⇒ X/Y/Z hotkey sequence to move your object along the corresponding axis in that transform orientation.

Again, this method of using a sequence of keypresses works with scaling and rotation as well. Keying the sequence R ⇒ Y rotates around your chosen orientation’s Y-axis and S ⇒ Z scales along your chosen orientation’s Z-axis.

If you keep your transform orientation set to Global, there’s a shortcut to transforming on the local axis. Just press that axis hotkey a second time. That is, if you’re using the Global transform orientation and you want to move your selection along the Local Z-axis, press G ⇒ Z ⇒ Z.

One of the more powerful features of the transform gizmos is the ability to work in a plane rather than just one axis. You can work in a plane with hotkeys as well. Use Shift plus the letter of the axis that’s perpendicular to the plane you want to move in. For example, to scale your object in the global XY plane, press S ⇒ Shift+Z. For the global YZ plane, press S ⇒ Shift+X. This same methodology also works for the Grab operation (though, not for the Rotate operation because rotating around a plane doesn’t make much sense).

Table 3-1 shows most of the useful hotkey sequences for transforming your objects assuming you’re in the Global transform orientation.

TABLE 3-1 Useful Hotkey Sequences for Transformations

Grab Scale Rotate Orientation
G S R View
G ⇒ Z S ⇒ Z R ⇒ Z Global Z-axis
G ⇒ Y S ⇒ Y R ⇒ Y Global Y-axis
G ⇒ X S ⇒ X R ⇒ X Global X-axis
G ⇒ Z ⇒ Z S ⇒ Z ⇒ Z R ⇒ Z ⇒ Z Local Z-axis
G ⇒ Y ⇒ Y S ⇒ Y ⇒ Y R ⇒ Y ⇒ Y Local Y-axis
G ⇒ X ⇒ X S ⇒ X ⇒ X R ⇒ X ⇒ X Local X-axis
G ⇒ Shift+Z S ⇒ Shift+Z N/A Global XY plane
G ⇒ Shift+Y S ⇒ Shift+Y N/A Global XZ plane
G ⇒ Shift+X S ⇒ Shift+X N/A Global YZ plane
G ⇒ Shift+Z ⇒ Shift+Z S ⇒ Shift+Z ⇒ Shift+Z N/A Local XY plane
G ⇒ Shift+Y ⇒ Shift+Y S ⇒ Shift+Y ⇒ Shift+Y N/A Local XZ plane

An even faster way to constrain to axes involves using the middle mouse button. As an example, select an object and grab (G) it. Now move your mouse in roughly the direction of the X-axis and then middle-click. A red line should appear through your object’s origin, and the object should be locked to moving along that line, constraining you to that axis. The same thing works in both the Y- and Z-axes. For an even more interactive way of constraining axes, hold down your middle mouse button while you’re grabbing. All three axes appear, and your object locks to one of them as you bring your mouse closer to them. I absolutely love this feature.

While you’re working with hotkeys to transform your objects in Blender, it’s worth noting that Blender has a tweak mode that allows for making very fast grab adjustments with your mouse. To make use of tweak mode, you first need to have the Select tool active. By default Blender starts with the Box Select tool active. To change to the regular Select tool, left-click and hold on the Box Select tool in the Toolbar (it’s the first one at the top). After about a second, the Toolbar will expand to show you four possible selection tools: Select, Select Box, Select Circle, and Select Lasso. Choose the first one, Select. Once you’ve activated the Select tool, left-click and drag your mouse cursor on any object in your 3D scene. This shortcut takes you right into grabbing as if you’d selected the object and then pressed G, only faster! You can even press the middle mouse button while working to enable axis constraints. The moment you release your mouse button, you’re done grabbing. Now that you know how tweak mode works, you can take full advantage of this time-saving feature.

Blender For Dummies

Подняться наверх