Creates a user-customizable menu
Build your easy-to-use and accessible menu by userself.
It is possible to automatically translate to English using the translation function on the site.
How to use
First menu state.
1. Add menu
When you press the + button on the upper left, the " Set Just Before History " button is added.
2. Menu registration
“Set Just Before History” by clicking the button, you can register the operation which was executed immediately before the menu.
In the example, I registered after running “Primitive Monkey Add” .
By default, the code type is command , and you can make detailed options of operators and properties into buttons.
3. Edit details
Menu for creating and adjusting menus
To edit detailed settings, enable “ Edit Mode ” and open the detailed setting menu.
You can switch the active menu with the “.” button at the bottom left.
After creating the menu , save the user settings with the " Save " button.
4. Completed menu
Export menu as add-on
↑ Exported add-on menu
You can save the created menu as an add-on in a .py file.
It is available as an add-on independent from the Customize Menu Editor add-on.
- Export as add-on
- Export to a text block in Blender
- Copy only menu script to clipboard
You can export/import the menu to a text file.
You can back up the menu or move it to another environment.
Available code layout elements
For command operator menu properties, each code must be in a fixed form.
If you register from “Register previous history”, it will be automatically formatted according to the type.
|command||The code will be a button that can be executed as an operator. You can change the
operator’s detailed options and properties as it is. When you
register with “Register previous history”, the name for display will be generated based on the code
below. Must be in a form like
bpy.xxx.xxx.xxx = True
|operator||Operator can be a button Operator can be
a button without registering detailed options
The name for display is the name of the operator
It must be in the following
|Property||Create a menu of property
you can set in the menu that can be switched or adjusted
in the form such as the following must
You can register the context menu It
must be in the following form
Insert a blank You
can adjust the size with factor
You can change the menu display to vertically or horizontally.
If “Follow the layout above” option is off, stop following the previous layout element.
|text||You can change the display name of the menu item,
leaving the text empty will display the icon only
|icon||You can change the icon of the menu item.
You can set it by selecting the icon built into Blender from the icon setting menu.
row = layout.row (align = True)
col = layout.column(align=True)
|box||Enclose in a box
box = layout.box()
|split||Split into two horizontally
sp = layout.split(align=True,factor=0.9)
Icon setting menu
|scale_x / scale_y||Change the horizontal/vertical size|
|emboss||Turn off emboss|
You can divide the menu into multiple tabs.
Tabs can be added and renamed by the user.
- 3D view → Sidebar (N key) → Tools → Customize Menu
You can change the location of the added tabs other than “Tools”.