Dynamic Spacebar Menu: move to folder structure/updates #68591

Closed
opened 2019-08-13 01:59:19 +02:00 by Brendon Murphy · 6 comments
Member

This is the task for the dynamic spacebar menu addon.
I'm moving the addon into a folder structure as it's very long to read and handle.
New structure will be:
folder:
space_view3d_spacebar_menu
files:
object_menus.py
edit_mesh.py
transform_menus.py
select_menus.py
view_menus.py
I'll split up some more based on use case. (in progress)
Thanks

This is the task for the dynamic spacebar menu addon. I'm moving the addon into a folder structure as it's very long to read and handle. New structure will be: folder: space_view3d_spacebar_menu files: object_menus.py edit_mesh.py transform_menus.py select_menus.py view_menus.py I'll split up some more based on use case. (in progress) Thanks
Brendon Murphy self-assigned this 2019-08-13 01:59:19 +02:00
Author
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Author
Member

hi, this will be a large commit. Initial structure is done.
space_view3d_spacebar_menu.zip

hi, this will be a large commit. Initial structure is done. [space_view3d_spacebar_menu.zip](https://archive.blender.org/developer/F7663224/space_view3d_spacebar_menu.zip)
Author
Member

spacebar menu2.jpg
hi, I've made several changes so far.
Folder Structure: the main menu is now in the init with the sub menus split into files.
Main Menu: By design, the spacebar menu addon replaces built in menus without restricting access to the built in functions.. This is seen in the first 3 entries covering Preferences > Keymaps > Spacebar actions with Search, Tools and Animation represented.
Quick Favorites has been added, also an important fast access tool.
View Menu: I've fallen back to default menu and appended the "Shading menu". The compromise here is Align View > Align View to Active gives longer depth to the sub menu set. This is offset by the Tools and Sidebar toggles no longer needed in the main menu. the shading menu still needs work.
Animation menu: simple reorder, moved to own file, more can to be done here. Keyframe menu in particular can be improved.

Further improvements to follow.

![spacebar menu2.jpg](https://archive.blender.org/developer/F7702539/spacebar_menu2.jpg) hi, I've made several changes so far. Folder Structure: the main menu is now in the init with the sub menus split into files. Main Menu: By design, the spacebar menu addon replaces built in menus without restricting access to the built in functions.. This is seen in the first 3 entries covering Preferences > Keymaps > Spacebar actions with Search, Tools and Animation represented. Quick Favorites has been added, also an important fast access tool. View Menu: I've fallen back to default menu and appended the "Shading menu". The compromise here is Align View > Align View to Active gives longer depth to the sub menu set. This is offset by the Tools and Sidebar toggles no longer needed in the main menu. the shading menu still needs work. Animation menu: simple reorder, moved to own file, more can to be done here. Keyframe menu in particular can be improved. Further improvements to follow.
Author
Member

Leaving open as there's still some work to do on this menu.
Recent changes:
Fall back to default menu's where possible.
Reorder consistent menu structure.
Remove Select file: fall back to defaults.
Remove Sculpt/Paint file, I've kept a base menu for these modes but they are now covered by the Dynamic Brush Menu
To do:
Transform menu's may need adjustment.
Armature modes need checking.
Grease pencil entries need proper writing.
Investigate ways to use pop up menu's for the remaining header tools. (longer term)
Check Sidebar for usable entries such as bevel weights which could be added to edit mode. (longer term)

Current Object modes standard menu:
spacebar menu4.jpg
Block 1 (separated by lines:
Top 3 entries cover all the built in spacebar actions.
Next 2 entries Quick favs and Interactive modes for quick access.
Block 2 header menus:
View, Select, Add and new base for Camera menu (wip)
Block 3 Object menus:
Object menu was too long for this addon so it's split into smaller sections. This is especially apparent in mesh edit mode. Split up and consolidated into smaller sections.
The final menus/blocks add collections and some base tools.
Thanks. Feedback is welcome.

Leaving open as there's still some work to do on this menu. Recent changes: Fall back to default menu's where possible. Reorder consistent menu structure. Remove Select file: fall back to defaults. Remove Sculpt/Paint file, I've kept a base menu for these modes but they are now covered by the Dynamic Brush Menu To do: Transform menu's may need adjustment. Armature modes need checking. Grease pencil entries need proper writing. Investigate ways to use pop up menu's for the remaining header tools. (longer term) Check Sidebar for usable entries such as bevel weights which could be added to edit mode. (longer term) Current Object modes standard menu: ![spacebar menu4.jpg](https://archive.blender.org/developer/F7713547/spacebar_menu4.jpg) Block 1 (separated by lines: Top 3 entries cover all the built in spacebar actions. Next 2 entries Quick favs and Interactive modes for quick access. Block 2 header menus: View, Select, Add and new base for Camera menu (wip) Block 3 Object menus: Object menu was too long for this addon so it's split into smaller sections. This is especially apparent in mesh edit mode. Split up and consolidated into smaller sections. The final menus/blocks add collections and some base tools. Thanks. Feedback is welcome.
Author
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author
Member

closing as resolved, bulk of the major changes are done

closing as resolved, bulk of the major changes are done
Sign in to join this conversation.
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: blender/blender-addons#68591
No description provided.