Rework/New: Camera, 3D View, Window Pies #8

Merged
Demeter Dzadik merged 7 commits from view_pie_rework into main 2024-08-21 03:23:39 +02:00
Collaborator

(Note: This PR description was updated after landing, to reflect some later changes.)


This pie menu was previously extremely bloated, and had a lot of overlap with the built-in grave key pie menu which did not exist at the time this pie was implemented.

Here's how the pie menu looked before:

Here's Blender's built-in grave-key pie menu as a reminder:

I decided to split it up into not one, not two, but three pie menus:

Alt+C: Camera Pie

This pie aims to house all frequently used camera-related operations, providing some new or improved ones over Blender's base set, and to be context-sensitive depending on if you're already looking through a camera or not.

  • Changed hotkey from Alt+Q since that got taken by core Blender since this pie was initially implemented. Alt+Q in core Blender is taken by "Transfer Mode" operator, which was blocking this pie menu in all modes other than Object mode.
  • Added "View Camera" option even though this already exists in the built-in Grave key pie, since it's still the most commonly used camera-related operation, and because Laptops don't have a Numpad 0.
  • Added "Set Active Object as Camera" because it's normally bound to Ctrl+Numpad 0, which isn't possible on numpadless keyboards like most laptops.
  • Added a custom "New Camera From View" operation, when not already looking through a camera. If already looking through a camera, this slot is taken by "Lock Camera to View".
  • Added a modified version of "Snap Camera to View", which should give more accurate results than Blender's built-in operator. Also, it will be grayed out if the camera is locked.
  • If already looking through a camera, this operator is replaced with the built-in "Frame Camera Bounds", which I think is super handy to maximize your screen efficiency.
  • Added some Camera properties that I think are frequently adjusted. Would love feedback on this!

Shift+C+Drag: 3D View Pie:

Most elements in this pie already have built-in shortcuts, which arguably makes it a bit redundant and unlike most pie menus of the add-on, but I see it as a way to reduce the amount of shortcuts a new user might have to memorize. I wouldn't be surprised if most old-school users don't really care for this one, but it houses better versions of some of the functionality from the old pie menu, such as Frame All/Selected, and Render Border.

  • Added "Frame Selected" even though it's already in the built-in Grave key pie because it's still a very commonly used 3D view operation.
  • Added a "Frame All" option that doesn't affect the cursor. This is normally on the Home key, which doesn't exist on laptops.
  • Added Clipping Border, Fly, for discoverability, and to potentially free up Shift+` and Alt+B hotkeys in the 3D View.
  • Added Set/Clear Render Border, for discoverability, to free up Ctrl+B and Ctrl+Alt+B, and as a replacement for the previously included "Toggle Border" button, which actually didn't really work half the time.

Ctrl+Space+Drag: Window Pie:

  • The original pie had a fullscreen button, which was available on Ctrl+Space anyways.
  • Added the other type of fullscreen that's available in Blender, which also hides headers and side panels.
  • Added an Exit Fullscreen button, which works no matter which type of fullscreening you used. In core Blender, if you do Ctrl+Alt+Space, you can't get out of it using Ctrl+Space, which is really confusing and can leave users stuck.
  • Added Toggle System Console (only on Windows), Window Fullscreen, Preferences, and Maximize, because I use these buttons often.
  • Added Toggle Status Bar and Pop Out Window operations because I think these are quite unknown functionalities in core Blender, but still useful. (Advanced users might not care for the status bar and prefer to hide it.)
(Note: This PR description was updated after landing, to reflect some later changes.) --- This pie menu was previously extremely bloated, and had a lot of overlap with the built-in grave key pie menu which did not exist at the time this pie was implemented. Here's how the pie menu looked before: <img src="/attachments/19edbc3f-5685-4fbd-b187-8e953b9b8a62" width=400> Here's Blender's built-in grave-key pie menu as a reminder: <img src="/attachments/ce9132c1-3340-418a-8126-51440473460c" width=400> I decided to split it up into not one, not two, but three pie menus: ### Alt+C: Camera Pie <img src="/attachments/340a80c8-560e-4689-88f7-89e4f6da432d" width=400> This pie aims to house all frequently used camera-related operations, providing some new or improved ones over Blender's base set, and to be context-sensitive depending on if you're already looking through a camera or not. - Changed hotkey from Alt+Q since that got taken by core Blender since this pie was initially implemented. Alt+Q in core Blender is taken by "Transfer Mode" operator, which was blocking this pie menu in all modes other than Object mode. - Added "View Camera" option even though this already exists in the built-in Grave key pie, since it's still the most commonly used camera-related operation, and because Laptops don't have a Numpad 0. - Added "Set Active Object as Camera" because it's normally bound to Ctrl+Numpad 0, which isn't possible on numpadless keyboards like most laptops. - Added a custom "New Camera From View" operation, when not already looking through a camera. If already looking through a camera, this slot is taken by "Lock Camera to View". - Added a modified version of "Snap Camera to View", which should give more accurate results than Blender's built-in operator. Also, it will be grayed out if the camera is locked. - If already looking through a camera, this operator is replaced with the built-in "Frame Camera Bounds", which I think is super handy to maximize your screen efficiency. - Added some Camera properties that I think are frequently adjusted. Would love feedback on this! ### Shift+C+Drag: 3D View Pie: <img src="/attachments/25c8de2a-6513-4da2-832e-ef5ee047aa36" width=400> Most elements in this pie already have built-in shortcuts, which arguably makes it a bit redundant and unlike most pie menus of the add-on, but I see it as a way to reduce the amount of shortcuts a new user might have to memorize. I wouldn't be surprised if most old-school users don't really care for this one, but it houses better versions of some of the functionality from the old pie menu, such as Frame All/Selected, and Render Border. - Added "Frame Selected" even though it's already in the built-in Grave key pie because it's still a very commonly used 3D view operation. - Added a "Frame All" option that doesn't affect the cursor. This is normally on the Home key, which doesn't exist on laptops. - Added Clipping Border, Fly, for discoverability, and to potentially free up Shift+\` and Alt+B hotkeys in the 3D View. - Added Set/Clear Render Border, for discoverability, to free up Ctrl+B and Ctrl+Alt+B, and as a replacement for the previously included "Toggle Border" button, which actually didn't really work half the time. ### Ctrl+Space+Drag: Window Pie: <img src="/attachments/48666cba-0d22-469d-90c7-8fa4e3b8a275" width=400> - The original pie had a fullscreen button, which was available on Ctrl+Space anyways. - Added the other type of fullscreen that's available in Blender, which also hides headers and side panels. - Added an Exit Fullscreen button, which works no matter which type of fullscreening you used. In core Blender, if you do Ctrl+Alt+Space, you can't get out of it using Ctrl+Space, which is really confusing and can leave users stuck. - Added Toggle System Console (only on Windows), Window Fullscreen, Preferences, and Maximize, because I use these buttons often. - Added Toggle Status Bar and Pop Out Window operations because I think these are quite unknown functionalities in core Blender, but still useful. (Advanced users might not care for the status bar and prefer to hide it.)
Demeter Dzadik added 1 commit 2024-08-18 01:57:14 +02:00
Demeter Dzadik added 1 commit 2024-08-18 01:57:52 +02:00
Demeter Dzadik added 1 commit 2024-08-18 02:11:19 +02:00
Demeter Dzadik added 4 commits 2024-08-21 02:37:24 +02:00
Demeter Dzadik merged commit 8ac082e6ad into main 2024-08-21 03:23:39 +02:00
Demeter Dzadik deleted branch view_pie_rework 2024-08-21 03:23:39 +02:00
Demeter Dzadik changed title from Rework/New: Camera, View, Window Pies to Rework/New: Camera, 3D View, Window Pies 2024-09-04 14:20:10 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: extensions/space_view3d_pie_menus#8
No description provided.