Blender For Dummies. Jason van Gumster

Чтение книги онлайн.

Читать онлайн книгу Blender For Dummies - Jason van Gumster страница 29

Blender For Dummies - Jason van Gumster

Скачать книгу

style="font-size:15px;">       Middle-click the header and drag your mouse left and right.The contents of the header move left and right so that you can bring those obscured buttons into view. I personally like this approach because it feels more direct.

      Setting user preferences

      Icon depicting preferences. This section on user preferences is by no means comprehensive. The number of options available in Blender’s Preferences editor is mind-bogglingly large. My intent here is to introduce you to the editor itself. Have a look on this book’s supplementary website (blenderbasics.com) for setting some of the most useful and relevant options in the Preferences editor. For specific details on every single button, see the online documentation available at https://docs.blender.org/manual.

      

If you choose Edit ⇒ Preferences, and you don’t see a new window with the Preferences editor, your Blender window may be in a full-screen state and your operating system’s window manager may not be allowing the window with Preferences to sit atop that full-screen window. To get around this issue, toggle off the full-screen view by choosing Window ⇒ Toggle Window Fullscreen.

      

Icon depicting hamburger menu. By default, Blender automatically saves any changes you make in the Preferences editor so they’ll persist to the next time you launch Blender. If you don’t want this auto-save behavior, click the button with the three-line icon (sometimes called a hamburger menu). You’ll get a menu that includes a toggle option for Auto-Save Preferences. Click that menu item to toggle it off. With auto-save disabled, you manually choose to save them as your personal defaults by clicking the Save Preferences button at the bottom of the Preferences editor next to the hamburger menu.

      Using custom event maps

      Blender has one of the most customizable event systems of any application I’ve worked with. An event system is required for a complex program to interact with you and me, the users. Each time you press a button or move your mouse, it registers with the program as an event. The program then handles the event by performing an action of some sort. As an example, moving your mouse registers as an event, which then triggers your computer to perform the action of updating the location of the mouse cursor on your monitor.

      Blender provides you the ability to customize the event system to suit your needs, mapping events to a wide variety of possible Blender operations. Don’t like using a particular hotkey in Blender’s default configuration? You’re free to change it. And that’s just the start!

      The majority of the Keymap section in Preferences (Edit ⇒ Preferences) is devoted to modifying how events are handled within Blender. This list of events is particularly daunting to look at, and you can easily get lost among all those expanding and collapsing categories of events. Fortunately, you can modify how events are handled in a much easier way, and you don’t even have to use the Preferences editor if you don’t want to. Instead, you can follow these steps:

      1 Find the operator you want to bind in Blender’s menu system.As mentioned earlier in this chapter, an operator is a thing that Blender does; it’s the thing that happens when you click a menu item in Blender’s interface. As an example, say that you want to change the hotkey for saving a project from Ctrl+S (the current hotkey) to Ctrl+W, the hotkey used in older versions of Blender. You can find this operator by going to the menus at the top of your Blender window and choosing File ⇒ Save. Go to that menu item, but don’t click it yet. Just hover your mouse cursor over it and proceed to the next step.

      2 Right-click the menu item for the operator and choose Change Shortcut from the menu that appears.In this example, choose File ⇒ Save, right-click it, and choose Change Shortcut. Blender prompts you for a new hotkey.

      3 When prompted, use the new hotkey that you want to assign to the operation.In this case, you press Ctrl+W.Congratulations! Your new hotkey is assigned!

Flow diagram depicting three screenshots of Save selected in File menu, Change Shortcut selected in Save, and Press a key option.

      FIGURE 2-14: Customizing a hotkey sequence directly from Blender’s menus.

      

As of this writing, Blender doesn’t warn you if you attempt to assign a hotkey that has already been bound to another operator. Blender simply double-binds the hotkey, favoring default behaviors over custom ones. Blender’s interface will still say your custom hotkey is assigned to the desired action, but it just won’t work as expected. Currently, the only way to get around this problem is to make sure that your desired hotkey isn’t already assigned.

      1  In the search filter field, type all or part of the operator you want to customize and press Enter.The listing below updates with Blender’s best guesses for the operator you’re looking for. Alternatively, you can just drill down through the categories until you find the event you want. Using the previous example, you might type “save” in this field to find the Save Blender File operator. If you don’t know the name of the operator, you can search by the hotkey it uses. Left-click the drop-down menu to the left of the search filter field. You can choose between Name (the default) to search by operator name or Key-Binding to search by hotkey.

      2 Modify the event you want to change.Changing an actual event is much like the process used to add hotkeys to menu items. It works like so:Use the Type of Event Mapping drop-down menu displayed to the right or the operation name to stipulate whether the event is coming from a keyboard, mouse, text input, or some other source. For example, if you’re adjusting a hotkey, make sure that you’ve set it to Keyboard.Left-click the Type of Event field that comes after the Type of Event Mapping menu. It will either be blank or already have an event in it. Upon doing so, Blender prompts

Скачать книгу