18
$\begingroup$

Can I program a direct short-cut (keyboard) for the functions "cursor to selected" and "selection to cursor"? Couldn't find them under the User Preference/Input tab. I know they're under Shift+S, but then I still have to select from the pull-down menu, and that is too cumbersome.

$\endgroup$
  • 3
    $\begingroup$ Perhaps you already know this, but for pulldowns it often helps to use the menu accelerators. You can use the number row to select entries in order (1 for the top entry, 2 for the second, 3 for the third, etc.). Or you can use the letter key corresponding to the underlined letter in the entry you want. For example both Shift S 2 and Shift S T will snap the selection to the cursor. $\endgroup$ – gandalf3 Dec 16 '15 at 11:45
  • $\begingroup$ @gandalf3♦ I answered similar question some time ago and presented the same solution (blender.stackexchange.com/questions/36894/…). The answer got 'duplicate' status and was closed, but I think it shouldn't be (cause it shows different solution from the one that NᴏᴠɪᴄᴇIɴDɪsɢᴜɪsᴇ aka HATMAN presented). Could you please reopen it? $\endgroup$ – Paul Gonet Dec 16 '15 at 20:47
21
$\begingroup$

Bring up your snap menu with Shift+S.

Hover your mouse over 'cursor to selected', and then click on it with the RMB RMB. You will see an option to either add or change the keyboard shortcut.

Hover your mouse over the box that appears, (it should tell you to press a key), and then press the desired shortcut one key at a time while still holding them down to create your new shortcut.

Make sure to save your new shortcut as defaults by going to user preferences by pressing Ctrl+Alt+U, and then save user settings. After doing this, you should be all set.

animated gif showing the process of creating a shortcut

| improve this answer | |
$\endgroup$
9
$\begingroup$

Make a user-defined keyboard shortcut.

I sacrifice the default shortcut for To Sphere (shift+alt+S) and made it bpy.ops.view3d.snap_cursor_to_selected() instead.

enter image description here

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.