Skip to content

Instantly share code, notes, and snippets.

@come25136
Last active December 22, 2019 15:53
Show Gist options
  • Save come25136/4af13d2f2b16217aedbd3771974b3724 to your computer and use it in GitHub Desktop.
Save come25136/4af13d2f2b16217aedbd3771974b3724 to your computer and use it in GitHub Desktop.
Blender 2.8のマウスの操作性をUnityと同じにできるやつ
keyconfig_data = \
[("Screen Editing",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("screen.actionzone",
{"type": 'LEFTMOUSE', "value": 'PRESS'},
{"properties":
[("modifier", 0),
],
},
),
("screen.actionzone",
{"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
{"properties":
[("modifier", 1),
],
},
),
("screen.actionzone",
{"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
{"properties":
[("modifier", 2),
],
},
),
("screen.area_split", {"type": 'ACTIONZONE_AREA', "value": 'ANY'}, None),
("screen.area_join", {"type": 'ACTIONZONE_AREA', "value": 'ANY'}, None),
("screen.area_dupli", {"type": 'ACTIONZONE_AREA', "value": 'ANY', "shift": True}, None),
("screen.area_swap", {"type": 'ACTIONZONE_AREA', "value": 'ANY', "ctrl": True}, None),
("screen.region_scale", {"type": 'ACTIONZONE_REGION', "value": 'ANY'}, None),
("screen.screen_full_area",
{"type": 'ACTIONZONE_FULLSCREEN', "value": 'ANY'},
{"properties":
[("use_hide_panels", True),
],
},
),
("screen.area_move", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
("screen.area_options", {"type": 'RIGHTMOUSE', "value": 'CLICK'}, None),
],
},
),
("Property Editor",
{"space_type": 'PROPERTIES', "region_type": 'WINDOW'},
{"items":
[("buttons.context_menu", {"type": 'RIGHTMOUSE', "value": 'CLICK'}, None),
("screen.space_context_cycle",
{"type": 'WHEELUPMOUSE', "value": 'CLICK', "ctrl": True},
{"properties":
[("direction", 'PREV'),
],
},
),
("screen.space_context_cycle",
{"type": 'WHEELDOWNMOUSE', "value": 'CLICK', "ctrl": True},
{"properties":
[("direction", 'NEXT'),
],
},
),
],
},
),
("Outliner",
{"space_type": 'OUTLINER', "region_type": 'WINDOW'},
{"items":
[("outliner.highlight_update", {"type": 'MOUSEMOVE', "value": 'ANY', "any": True}, None),
("outliner.item_rename", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None),
("outliner.item_activate",
{"type": 'LEFTMOUSE', "value": 'CLICK'},
{"properties":
[("extend", False),
("recursive", False),
("deselect_all", True),
],
},
),
("outliner.item_activate",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
{"properties":
[("extend", True),
("recursive", False),
],
},
),
("outliner.item_activate",
{"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
{"properties":
[("extend", False),
("recursive", True),
],
},
),
("outliner.item_activate",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
{"properties":
[("extend", True),
("recursive", True),
],
},
),
("outliner.select_box", {"type": 'B', "value": 'PRESS'}, None),
("outliner.item_openclose",
{"type": 'RET', "value": 'PRESS'},
{"properties":
[("all", False),
],
},
),
("outliner.item_openclose",
{"type": 'RET', "value": 'PRESS', "shift": True},
{"properties":
[("all", True),
],
},
),
("outliner.item_rename", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
("outliner.operation", {"type": 'RIGHTMOUSE', "value": 'CLICK'}, None),
("outliner.item_drag_drop", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
("outliner.item_drag_drop", {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True}, None),
("outliner.show_hierarchy", {"type": 'HOME', "value": 'PRESS'}, None),
("outliner.show_active", {"type": 'PERIOD', "value": 'PRESS'}, None),
("outliner.show_active", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
("outliner.scroll_page",
{"type": 'PAGE_DOWN', "value": 'PRESS'},
{"properties":
[("up", False),
],
},
),
("outliner.scroll_page",
{"type": 'PAGE_UP', "value": 'PRESS'},
{"properties":
[("up", True),
],
},
),
("outliner.show_one_level", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, None),
("outliner.show_one_level",
{"type": 'NUMPAD_MINUS', "value": 'PRESS'},
{"properties":
[("open", False),
],
},
),
("outliner.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("outliner.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("outliner.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("outliner.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("outliner.expanded_toggle", {"type": 'A', "value": 'PRESS', "shift": True}, None),
("outliner.keyingset_add_selected", {"type": 'K', "value": 'PRESS'}, None),
("outliner.keyingset_remove_selected", {"type": 'K', "value": 'PRESS', "alt": True}, None),
("anim.keyframe_insert", {"type": 'I', "value": 'PRESS'}, None),
("anim.keyframe_delete", {"type": 'I', "value": 'PRESS', "alt": True}, None),
("outliner.drivers_add_selected", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
("outliner.drivers_delete_selected", {"type": 'D', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("outliner.collection_new", {"type": 'C', "value": 'PRESS'}, None),
("outliner.collection_delete", {"type": 'X', "value": 'PRESS'}, None),
("outliner.collection_delete", {"type": 'DEL', "value": 'PRESS'}, None),
("object.move_to_collection", {"type": 'M', "value": 'PRESS'}, None),
("object.link_to_collection", {"type": 'M', "value": 'PRESS', "shift": True}, None),
("outliner.collection_exclude_set", {"type": 'E', "value": 'PRESS'}, None),
("outliner.collection_exclude_clear", {"type": 'E', "value": 'PRESS', "alt": True}, None),
("outliner.hide", {"type": 'H', "value": 'PRESS'}, None),
("outliner.unhide_all", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("outliner.id_copy", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
("outliner.id_paste", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
],
},
),
("Grease Pencil Stroke Edit Mode",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("gpencil.interpolate", {"type": 'E', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("gpencil.interpolate_sequence", {"type": 'E', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("gpencil.select",
{"type": 'LEFTMOUSE', "value": 'CLICK'},
{"properties":
[("deselect_all", True),
],
},
),
("gpencil.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("gpencil.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("gpencil.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("gpencil.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("gpencil.select_circle", {"type": 'C', "value": 'PRESS'}, None),
("gpencil.select_box", {"type": 'B', "value": 'PRESS'}, None),
("gpencil.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
{"properties":
[("mode", 'ADD'),
],
},
),
("gpencil.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
{"properties":
[("mode", 'SUB'),
],
},
),
("gpencil.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True},
{"properties":
[("mode", 'ADD'),
],
},
),
("gpencil.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True, "alt": True},
{"properties":
[("mode", 'SUB'),
],
},
),
("gpencil.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
{"properties":
[("extend", True),
("toggle", True),
],
},
),
("gpencil.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
{"properties":
[("entire_strokes", True),
],
},
),
("gpencil.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
{"properties":
[("extend", True),
("entire_strokes", True),
],
},
),
("gpencil.select_linked", {"type": 'L', "value": 'PRESS'}, None),
("gpencil.select_linked", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
("gpencil.select_alternate", {"type": 'L', "value": 'PRESS', "shift": True}, None),
("gpencil.select_grouped", {"type": 'G', "value": 'PRESS', "shift": True}, None),
("gpencil.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
("gpencil.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
("gpencil.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
("gpencil.extrude_move", {"type": 'E', "value": 'PRESS'}, None),
("wm.call_menu",
{"type": 'X', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_edit_gpencil_delete'),
],
},
),
("wm.call_menu",
{"type": 'DEL', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_edit_gpencil_delete'),
],
},
),
("gpencil.dissolve", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
("gpencil.dissolve", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
("gpencil.active_frames_delete_all", {"type": 'X', "value": 'PRESS', "shift": True}, None),
("gpencil.active_frames_delete_all", {"type": 'DEL', "value": 'PRESS', "shift": True}, None),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_gpencil_edit_context_menu'),
],
},
),
("wm.call_menu",
{"type": 'P', "value": 'PRESS'},
{"properties":
[("name", 'GPENCIL_MT_separate'),
],
},
),
("gpencil.stroke_split", {"type": 'V', "value": 'PRESS'}, None),
("gpencil.stroke_join", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
("gpencil.stroke_join",
{"type": 'J', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'JOINCOPY'),
],
},
),
("gpencil.stroke_cyclical_set",
{"type": 'F', "value": 'PRESS'},
{"properties":
[("type", 'CLOSE'),
("geometry", True),
],
},
),
("gpencil.copy", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
("gpencil.paste", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
("wm.call_menu",
{"type": 'S', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'GPENCIL_MT_snap'),
],
},
),
("gpencil.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("gpencil.hide",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("unselected", False),
],
},
),
("gpencil.hide",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("unselected", True),
],
},
),
("gpencil.selection_opacity_toggle", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
("wm.context_toggle",
{"type": 'Q', "value": 'PRESS', "shift": True},
{"properties":
[("data_path", 'space_data.overlay.use_gpencil_edit_lines'),
],
},
),
("wm.context_toggle",
{"type": 'Q', "value": 'PRESS', "shift": True, "alt": True},
{"properties":
[("data_path", 'space_data.overlay.use_gpencil_multiedit_line_only'),
],
},
),
("gpencil.layer_isolate", {"type": 'NUMPAD_ASTERIX', "value": 'PRESS'}, None),
("gpencil.move_to_layer", {"type": 'M', "value": 'PRESS'}, None),
("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
("transform.rotate", {"type": 'R', "value": 'PRESS'}, None),
("transform.resize", {"type": 'S', "value": 'PRESS'}, None),
("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
("transform.bend", {"type": 'W', "value": 'PRESS', "shift": True}, None),
("transform.tosphere", {"type": 'S', "value": 'PRESS', "shift": True, "alt": True}, None),
("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
("transform.transform",
{"type": 'S', "value": 'PRESS', "alt": True},
{"properties":
[("mode", 'GPENCIL_SHRINKFATTEN'),
],
},
),
("transform.transform",
{"type": 'F', "value": 'PRESS', "shift": True},
{"properties":
[("mode", 'GPENCIL_OPACITY'),
],
},
),
("wm.call_menu_pie",
{"type": 'O', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.use_proportional_edit'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS', "alt": True},
{"properties":
[("data_path", 'tool_settings.use_proportional_connected'),
],
},
),
("object.gpencil_add", {"type": 'A', "value": 'PRESS', "shift": True}, None),
("wm.call_menu",
{"type": 'G', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'GPENCIL_MT_gpencil_vertex_group'),
],
},
),
("gpencil.selectmode_toggle",
{"type": 'ONE', "value": 'PRESS'},
{"properties":
[("mode", 0),
],
},
),
("gpencil.selectmode_toggle",
{"type": 'TWO', "value": 'PRESS'},
{"properties":
[("mode", 1),
],
},
),
("gpencil.selectmode_toggle",
{"type": 'THREE', "value": 'PRESS'},
{"properties":
[("mode", 2),
],
},
),
],
},
),
("Grease Pencil Stroke Paint Mode",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("wm.radial_control",
{"type": 'F', "value": 'PRESS', "shift": True},
{"properties":
[("data_path_primary", 'tool_settings.gpencil_paint.brush.gpencil_settings.pen_strength'),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS'},
{"properties":
[("data_path_primary", 'tool_settings.gpencil_paint.brush.size'),
],
},
),
("wm.call_panel",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_PT_gpencil_draw_context_menu'),
],
},
),
("wm.call_menu",
{"type": 'X', "value": 'PRESS'},
{"properties":
[("name", 'GPENCIL_MT_gpencil_draw_delete'),
],
},
),
],
},
),
("Grease Pencil Stroke Sculpt Mode",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("gpencil.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("gpencil.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("gpencil.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("gpencil.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("gpencil.select_circle", {"type": 'C', "value": 'PRESS'}, None),
("gpencil.select_box", {"type": 'B', "value": 'PRESS'}, None),
("gpencil.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
{"properties":
[("mode", 'ADD'),
],
},
),
("gpencil.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
{"properties":
[("mode", 'SUB'),
],
},
),
("gpencil.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True},
{"properties":
[("mode", 'ADD'),
],
},
),
("gpencil.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True, "alt": True},
{"properties":
[("mode", 'SUB'),
],
},
),
("gpencil.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
{"properties":
[("extend", True),
("toggle", True),
],
},
),
("gpencil.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
{"properties":
[("entire_strokes", True),
],
},
),
("gpencil.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
{"properties":
[("extend", True),
("entire_strokes", True),
],
},
),
("gpencil.select_linked", {"type": 'L', "value": 'PRESS'}, None),
("gpencil.select_linked", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
("gpencil.select_alternate", {"type": 'L', "value": 'PRESS', "shift": True}, None),
("gpencil.select_grouped", {"type": 'G', "value": 'PRESS', "shift": True}, None),
("gpencil.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
("gpencil.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "shift": True},
{"properties":
[("data_path_primary", 'tool_settings.gpencil_sculpt.brush.strength'),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS'},
{"properties":
[("data_path_primary", 'tool_settings.gpencil_sculpt.brush.size'),
],
},
),
("wm.call_panel",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_PT_gpencil_sculpt_context_menu'),
],
},
),
("gpencil.copy", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
("wm.context_toggle",
{"type": 'Q', "value": 'PRESS', "shift": True},
{"properties":
[("data_path", 'space_data.overlay.use_gpencil_edit_lines'),
],
},
),
("wm.context_toggle",
{"type": 'Q', "value": 'PRESS', "shift": True, "alt": True},
{"properties":
[("data_path", 'space_data.overlay.use_gpencil_multiedit_line_only'),
],
},
),
],
},
),
("Pose",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("object.parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
("wm.call_menu",
{"type": 'A', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_add'),
],
},
),
("pose.hide",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("unselected", False),
],
},
),
("pose.hide",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("unselected", True),
],
},
),
("pose.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("wm.call_menu",
{"type": 'A', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_pose_apply'),
],
},
),
("pose.rot_clear", {"type": 'R', "value": 'PRESS', "alt": True}, None),
("pose.loc_clear", {"type": 'G', "value": 'PRESS', "alt": True}, None),
("pose.scale_clear", {"type": 'S', "value": 'PRESS', "alt": True}, None),
("pose.quaternions_flip", {"type": 'F', "value": 'PRESS', "alt": True}, None),
("pose.rotation_mode_set", {"type": 'R', "value": 'PRESS', "ctrl": True}, None),
("pose.copy", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
("pose.paste",
{"type": 'V', "value": 'PRESS', "ctrl": True},
{"properties":
[("flipped", False),
],
},
),
("pose.paste",
{"type": 'V', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("flipped", True),
],
},
),
("pose.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("pose.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("pose.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("pose.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("pose.select_parent", {"type": 'P', "value": 'PRESS', "shift": True}, None),
("pose.select_hierarchy",
{"type": 'LEFT_BRACKET', "value": 'PRESS'},
{"properties":
[("direction", 'PARENT'),
("extend", False),
],
},
),
("pose.select_hierarchy",
{"type": 'LEFT_BRACKET', "value": 'PRESS', "shift": True},
{"properties":
[("direction", 'PARENT'),
("extend", True),
],
},
),
("pose.select_hierarchy",
{"type": 'RIGHT_BRACKET', "value": 'PRESS'},
{"properties":
[("direction", 'CHILD'),
("extend", False),
],
},
),
("pose.select_hierarchy",
{"type": 'RIGHT_BRACKET', "value": 'PRESS', "shift": True},
{"properties":
[("direction", 'CHILD'),
("extend", True),
],
},
),
("pose.select_linked", {"type": 'L', "value": 'PRESS'}, None),
("pose.select_grouped", {"type": 'G', "value": 'PRESS', "shift": True}, None),
("pose.select_mirror", {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("pose.constraint_add_with_targets", {"type": 'C', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("pose.constraints_clear", {"type": 'C', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("pose.ik_add", {"type": 'I', "value": 'PRESS', "shift": True}, None),
("pose.ik_clear", {"type": 'I', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("wm.call_menu",
{"type": 'G', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_pose_group'),
],
},
),
("wm.call_menu",
{"type": 'W', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_bone_options_toggle'),
],
},
),
("wm.call_menu",
{"type": 'W', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_bone_options_enable'),
],
},
),
("wm.call_menu",
{"type": 'W', "value": 'PRESS', "alt": True},
{"properties":
[("name", 'VIEW3D_MT_bone_options_disable'),
],
},
),
("armature.layers_show_all", {"type": 'ACCENT_GRAVE', "value": 'PRESS', "ctrl": True}, None),
("armature.armature_layers", {"type": 'M', "value": 'PRESS', "shift": True}, None),
("pose.bone_layers", {"type": 'M', "value": 'PRESS'}, None),
("transform.transform",
{"type": 'S', "value": 'PRESS', "ctrl": True, "alt": True},
{"properties":
[("mode", 'BONE_SIZE'),
],
},
),
("anim.keyframe_insert_menu", {"type": 'I', "value": 'PRESS'}, None),
("anim.keyframe_delete_v3d", {"type": 'I', "value": 'PRESS', "alt": True}, None),
("anim.keying_set_active_set", {"type": 'I', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
("poselib.browse_interactive", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
("poselib.pose_add", {"type": 'L', "value": 'PRESS', "shift": True}, None),
("poselib.pose_remove", {"type": 'L', "value": 'PRESS', "alt": True}, None),
("poselib.pose_rename", {"type": 'L', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("pose.push", {"type": 'E', "value": 'PRESS', "ctrl": True}, None),
("pose.relax", {"type": 'E', "value": 'PRESS', "alt": True}, None),
("pose.breakdown", {"type": 'E', "value": 'PRESS', "shift": True}, None),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_pose_context_menu'),
],
},
),
("wm.call_menu",
{"type": 'P', "value": 'PRESS', "alt": True},
{"properties":
[("name", 'VIEW3D_MT_pose_propagate'),
],
},
),
("object.hide_collection",
{"type": 'ONE', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 1),
],
},
),
("object.hide_collection",
{"type": 'TWO', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 2),
],
},
),
("object.hide_collection",
{"type": 'THREE', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 3),
],
},
),
("object.hide_collection",
{"type": 'FOUR', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 4),
],
},
),
("object.hide_collection",
{"type": 'FIVE', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 5),
],
},
),
("object.hide_collection",
{"type": 'SIX', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 6),
],
},
),
("object.hide_collection",
{"type": 'SEVEN', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 7),
],
},
),
("object.hide_collection",
{"type": 'EIGHT', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 8),
],
},
),
("object.hide_collection",
{"type": 'NINE', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 9),
],
},
),
("object.hide_collection",
{"type": 'ZERO', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 10),
],
},
),
],
},
),
("Curve",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("wm.call_menu",
{"type": 'A', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_curve_add'),
],
},
),
("curve.handle_type_set", {"type": 'V', "value": 'PRESS'}, None),
("curve.vertex_add", {"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True}, None),
("curve.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("curve.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("curve.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("curve.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("curve.select_row", {"type": 'R', "value": 'PRESS', "shift": True}, None),
("curve.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
("curve.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
("curve.select_linked", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
("curve.select_similar", {"type": 'G', "value": 'PRESS', "shift": True}, None),
("curve.select_linked_pick",
{"type": 'L', "value": 'PRESS'},
{"properties":
[("deselect", False),
],
},
),
("curve.select_linked_pick",
{"type": 'L', "value": 'PRESS', "shift": True},
{"properties":
[("deselect", True),
],
},
),
("curve.shortest_path_pick", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True}, None),
("curve.separate", {"type": 'P', "value": 'PRESS'}, None),
("curve.split", {"type": 'Y', "value": 'PRESS'}, None),
("curve.extrude_move", {"type": 'E', "value": 'PRESS'}, None),
("curve.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
("curve.make_segment", {"type": 'F', "value": 'PRESS'}, None),
("curve.cyclic_toggle", {"type": 'C', "value": 'PRESS', "alt": True}, None),
("wm.call_menu",
{"type": 'X', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_edit_curve_delete'),
],
},
),
("wm.call_menu",
{"type": 'DEL', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_edit_curve_delete'),
],
},
),
("curve.dissolve_verts", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
("curve.dissolve_verts", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
("curve.tilt_clear", {"type": 'T', "value": 'PRESS', "alt": True}, None),
("transform.tilt", {"type": 'T', "value": 'PRESS', "ctrl": True}, None),
("transform.transform",
{"type": 'S', "value": 'PRESS', "alt": True},
{"properties":
[("mode", 'CURVE_SHRINKFATTEN'),
],
},
),
("curve.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("curve.hide",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("unselected", False),
],
},
),
("curve.hide",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("unselected", True),
],
},
),
("curve.normals_make_consistent", {"type": 'N', "value": 'PRESS', "shift": True}, None),
("object.vertex_parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_edit_curve_context_menu'),
],
},
),
("wm.call_menu",
{"type": 'H', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_hook'),
],
},
),
("wm.call_menu_pie",
{"type": 'O', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.use_proportional_edit'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS', "alt": True},
{"properties":
[("data_path", 'tool_settings.use_proportional_connected'),
],
},
),
],
},
),
("Image Paint",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("paint.image_paint",
{"type": 'LEFTMOUSE', "value": 'PRESS'},
{"properties":
[("mode", 'NORMAL'),
],
},
),
("paint.image_paint",
{"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
{"properties":
[("mode", 'INVERT'),
],
},
),
("paint.brush_colors_flip", {"type": 'X', "value": 'PRESS'}, None),
("paint.grab_clone", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
("paint.sample_color", {"type": 'S', "value": 'PRESS'}, None),
("brush.scale_size",
{"type": 'LEFT_BRACKET', "value": 'PRESS'},
{"properties":
[("scalar", 0.9),
],
},
),
("brush.scale_size",
{"type": 'RIGHT_BRACKET', "value": 'PRESS'},
{"properties":
[("scalar", 1.1111112),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS'},
{"properties":
[("data_path_primary", 'tool_settings.image_paint.brush.size'),
("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
("rotation_path", 'tool_settings.image_paint.brush.mask_texture_slot.angle'),
("color_path", 'tool_settings.image_paint.brush.cursor_color_add'),
("fill_color_path", 'tool_settings.image_paint.brush.color'),
("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
("zoom_path", 'space_data.zoom'),
("image_id", 'tool_settings.image_paint.brush'),
("secondary_tex", True),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "shift": True},
{"properties":
[("data_path_primary", 'tool_settings.image_paint.brush.strength'),
("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
("rotation_path", 'tool_settings.image_paint.brush.mask_texture_slot.angle'),
("color_path", 'tool_settings.image_paint.brush.cursor_color_add'),
("fill_color_path", 'tool_settings.image_paint.brush.color'),
("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
("zoom_path", ''),
("image_id", 'tool_settings.image_paint.brush'),
("secondary_tex", True),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "ctrl": True},
{"properties":
[("data_path_primary", 'tool_settings.image_paint.brush.texture_slot.angle'),
("data_path_secondary", ''),
("use_secondary", ''),
("rotation_path", 'tool_settings.image_paint.brush.texture_slot.angle'),
("color_path", 'tool_settings.image_paint.brush.cursor_color_add'),
("fill_color_path", 'tool_settings.image_paint.brush.color'),
("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
("zoom_path", ''),
("image_id", 'tool_settings.image_paint.brush'),
("secondary_tex", False),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "ctrl": True, "alt": True},
{"properties":
[("data_path_primary", 'tool_settings.image_paint.brush.mask_texture_slot.angle'),
("data_path_secondary", ''),
("use_secondary", ''),
("rotation_path", 'tool_settings.image_paint.brush.mask_texture_slot.angle'),
("color_path", 'tool_settings.image_paint.brush.cursor_color_add'),
("fill_color_path", 'tool_settings.image_paint.brush.color'),
("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
("zoom_path", ''),
("image_id", 'tool_settings.image_paint.brush'),
("secondary_tex", True),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS'},
{"properties":
[("mode", 'TRANSLATION'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
{"properties":
[("mode", 'SCALE'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True},
{"properties":
[("mode", 'ROTATION'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "alt": True},
{"properties":
[("mode", 'TRANSLATION'),
("texmode", 'SECONDARY'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
{"properties":
[("mode", 'SCALE'),
("texmode", 'SECONDARY'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
{"properties":
[("mode", 'ROTATION'),
("texmode", 'SECONDARY'),
],
},
),
("wm.context_toggle",
{"type": 'M', "value": 'PRESS'},
{"properties":
[("data_path", 'image_paint_object.data.use_paint_mask'),
],
},
),
("wm.context_toggle",
{"type": 'S', "value": 'PRESS', "shift": True},
{"properties":
[("data_path", 'tool_settings.image_paint.brush.use_smooth_stroke'),
],
},
),
("wm.call_menu",
{"type": 'R', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_angle_control'),
],
},
),
("wm.context_menu_enum",
{"type": 'E', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.image_paint.brush.stroke_method'),
],
},
),
("wm.call_panel",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_PT_paint_texture_context_menu'),
],
},
),
],
},
),
("Vertex Paint",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("paint.vertex_paint",
{"type": 'LEFTMOUSE', "value": 'PRESS'},
{"properties":
[("mode", 'NORMAL'),
],
},
),
("paint.vertex_paint",
{"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
{"properties":
[("mode", 'INVERT'),
],
},
),
("paint.brush_colors_flip", {"type": 'X', "value": 'PRESS'}, None),
("paint.sample_color", {"type": 'S', "value": 'PRESS'}, None),
("paint.vertex_color_set", {"type": 'K', "value": 'PRESS', "shift": True}, None),
("brush.scale_size",
{"type": 'LEFT_BRACKET', "value": 'PRESS'},
{"properties":
[("scalar", 0.9),
],
},
),
("brush.scale_size",
{"type": 'RIGHT_BRACKET', "value": 'PRESS'},
{"properties":
[("scalar", 1.1111112),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS'},
{"properties":
[("data_path_primary", 'tool_settings.vertex_paint.brush.size'),
("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
("rotation_path", 'tool_settings.vertex_paint.brush.texture_slot.angle'),
("color_path", 'tool_settings.vertex_paint.brush.cursor_color_add'),
("fill_color_path", 'tool_settings.vertex_paint.brush.color'),
("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
("zoom_path", ''),
("image_id", 'tool_settings.vertex_paint.brush'),
("secondary_tex", False),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "shift": True},
{"properties":
[("data_path_primary", 'tool_settings.vertex_paint.brush.strength'),
("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
("rotation_path", 'tool_settings.vertex_paint.brush.texture_slot.angle'),
("color_path", 'tool_settings.vertex_paint.brush.cursor_color_add'),
("fill_color_path", 'tool_settings.vertex_paint.brush.color'),
("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
("zoom_path", ''),
("image_id", 'tool_settings.vertex_paint.brush'),
("secondary_tex", False),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "ctrl": True},
{"properties":
[("data_path_primary", 'tool_settings.vertex_paint.brush.texture_slot.angle'),
("data_path_secondary", ''),
("use_secondary", ''),
("rotation_path", 'tool_settings.vertex_paint.brush.texture_slot.angle'),
("color_path", 'tool_settings.vertex_paint.brush.cursor_color_add'),
("fill_color_path", 'tool_settings.vertex_paint.brush.color'),
("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
("zoom_path", ''),
("image_id", 'tool_settings.vertex_paint.brush'),
("secondary_tex", False),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS'},
{"properties":
[("mode", 'TRANSLATION'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
{"properties":
[("mode", 'SCALE'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True},
{"properties":
[("mode", 'ROTATION'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "alt": True},
{"properties":
[("mode", 'TRANSLATION'),
("texmode", 'SECONDARY'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
{"properties":
[("mode", 'SCALE'),
("texmode", 'SECONDARY'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
{"properties":
[("mode", 'ROTATION'),
("texmode", 'SECONDARY'),
],
},
),
("wm.context_toggle",
{"type": 'M', "value": 'PRESS'},
{"properties":
[("data_path", 'vertex_paint_object.data.use_paint_mask'),
],
},
),
("wm.context_toggle",
{"type": 'S', "value": 'PRESS', "shift": True},
{"properties":
[("data_path", 'tool_settings.vertex_paint.brush.use_smooth_stroke'),
],
},
),
("wm.call_menu",
{"type": 'R', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_angle_control'),
],
},
),
("wm.context_menu_enum",
{"type": 'E', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.vertex_paint.brush.stroke_method'),
],
},
),
("wm.call_panel",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_PT_paint_vertex_context_menu'),
],
},
),
("wm.context_toggle",
{"type": 'V', "value": 'PRESS'},
{"properties":
[("data_path", 'vertex_paint_object.data.use_paint_mask_vertex'),
],
},
),
],
},
),
("Weight Paint",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("paint.weight_paint", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
("paint.weight_sample", {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True}, None),
("paint.weight_sample_group", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
("paint.weight_gradient",
{"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
{"properties":
[("type", 'LINEAR'),
],
},
),
("paint.weight_gradient",
{"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
{"properties":
[("type", 'RADIAL'),
],
},
),
("paint.weight_set", {"type": 'K', "value": 'PRESS', "shift": True}, None),
("brush.scale_size",
{"type": 'LEFT_BRACKET', "value": 'PRESS'},
{"properties":
[("scalar", 0.9),
],
},
),
("brush.scale_size",
{"type": 'RIGHT_BRACKET', "value": 'PRESS'},
{"properties":
[("scalar", 1.1111112),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS'},
{"properties":
[("data_path_primary", 'tool_settings.weight_paint.brush.size'),
("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
("rotation_path", 'tool_settings.weight_paint.brush.texture_slot.angle'),
("color_path", 'tool_settings.weight_paint.brush.cursor_color_add'),
("fill_color_path", ''),
("fill_color_override_path", ''),
("fill_color_override_test_path", ''),
("zoom_path", ''),
("image_id", 'tool_settings.weight_paint.brush'),
("secondary_tex", False),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "shift": True},
{"properties":
[("data_path_primary", 'tool_settings.weight_paint.brush.strength'),
("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
("rotation_path", 'tool_settings.weight_paint.brush.texture_slot.angle'),
("color_path", 'tool_settings.weight_paint.brush.cursor_color_add'),
("fill_color_path", ''),
("fill_color_override_path", ''),
("fill_color_override_test_path", ''),
("zoom_path", ''),
("image_id", 'tool_settings.weight_paint.brush'),
("secondary_tex", False),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "ctrl": True},
{"properties":
[("data_path_primary", 'tool_settings.weight_paint.brush.weight'),
("data_path_secondary", 'tool_settings.unified_paint_settings.weight'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_weight'),
("rotation_path", 'tool_settings.weight_paint.brush.texture_slot.angle'),
("color_path", 'tool_settings.weight_paint.brush.cursor_color_add'),
("fill_color_path", ''),
("fill_color_override_path", ''),
("fill_color_override_test_path", ''),
("zoom_path", ''),
("image_id", 'tool_settings.weight_paint.brush'),
("secondary_tex", False),
],
},
),
("wm.context_menu_enum",
{"type": 'E', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.vertex_paint.brush.stroke_method'),
],
},
),
("wm.context_toggle",
{"type": 'M', "value": 'PRESS'},
{"properties":
[("data_path", 'weight_paint_object.data.use_paint_mask'),
],
},
),
("wm.context_toggle",
{"type": 'V', "value": 'PRESS'},
{"properties":
[("data_path", 'weight_paint_object.data.use_paint_mask_vertex'),
],
},
),
("wm.context_toggle",
{"type": 'S', "value": 'PRESS', "shift": True},
{"properties":
[("data_path", 'tool_settings.weight_paint.brush.use_smooth_stroke'),
],
},
),
("wm.call_panel",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_PT_paint_weight_context_menu'),
],
},
),
("view3d.select", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
],
},
),
("Sculpt",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("sculpt.brush_stroke",
{"type": 'LEFTMOUSE', "value": 'PRESS'},
{"properties":
[("mode", 'NORMAL'),
],
},
),
("sculpt.brush_stroke",
{"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
{"properties":
[("mode", 'INVERT'),
],
},
),
("sculpt.brush_stroke",
{"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
{"properties":
[("mode", 'SMOOTH'),
],
},
),
("paint.hide_show",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("action", 'SHOW'),
("area", 'INSIDE'),
],
},
),
("paint.hide_show",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("action", 'HIDE'),
("area", 'INSIDE'),
],
},
),
("paint.hide_show",
{"type": 'H', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'SHOW'),
("area", 'ALL'),
],
},
),
("object.subdivision_set",
{"type": 'ZERO', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 0),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'ONE', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 1),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'TWO', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 2),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'THREE', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 3),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'FOUR', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 4),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'FIVE', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 5),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'PAGE_UP', "value": 'PRESS'},
{"properties":
[("level", 1),
("relative", True),
],
},
),
("object.subdivision_set",
{"type": 'PAGE_DOWN', "value": 'PRESS'},
{"properties":
[("level", -1),
("relative", True),
],
},
),
("paint.mask_flood_fill",
{"type": 'M', "value": 'PRESS', "alt": True},
{"properties":
[("mode", 'VALUE'),
("value", 0.0),
],
},
),
("paint.mask_flood_fill",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("mode", 'INVERT'),
],
},
),
("paint.mask_lasso_gesture", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("wm.context_toggle",
{"type": 'M', "value": 'PRESS', "ctrl": True},
{"properties":
[("data_path", 'scene.tool_settings.sculpt.show_mask'),
],
},
),
("sculpt.dynamic_topology_toggle", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
("sculpt.set_detail_size", {"type": 'D', "value": 'PRESS', "shift": True}, None),
("brush.scale_size",
{"type": 'LEFT_BRACKET', "value": 'PRESS'},
{"properties":
[("scalar", 0.9),
],
},
),
("brush.scale_size",
{"type": 'RIGHT_BRACKET', "value": 'PRESS'},
{"properties":
[("scalar", 1.1111112),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS'},
{"properties":
[("data_path_primary", 'tool_settings.sculpt.brush.size'),
("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
("rotation_path", 'tool_settings.sculpt.brush.texture_slot.angle'),
("color_path", 'tool_settings.sculpt.brush.cursor_color_add'),
("fill_color_path", ''),
("fill_color_override_path", ''),
("fill_color_override_test_path", ''),
("zoom_path", ''),
("image_id", 'tool_settings.sculpt.brush'),
("secondary_tex", False),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "shift": True},
{"properties":
[("data_path_primary", 'tool_settings.sculpt.brush.strength'),
("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
("rotation_path", 'tool_settings.sculpt.brush.texture_slot.angle'),
("color_path", 'tool_settings.sculpt.brush.cursor_color_add'),
("fill_color_path", ''),
("fill_color_override_path", ''),
("fill_color_override_test_path", ''),
("zoom_path", ''),
("image_id", 'tool_settings.sculpt.brush'),
("secondary_tex", False),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "ctrl": True},
{"properties":
[("data_path_primary", 'tool_settings.sculpt.brush.texture_slot.angle'),
("data_path_secondary", ''),
("use_secondary", ''),
("rotation_path", 'tool_settings.sculpt.brush.texture_slot.angle'),
("color_path", 'tool_settings.sculpt.brush.cursor_color_add'),
("fill_color_path", ''),
("fill_color_override_path", ''),
("fill_color_override_test_path", ''),
("zoom_path", ''),
("image_id", 'tool_settings.sculpt.brush'),
("secondary_tex", False),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS'},
{"properties":
[("mode", 'TRANSLATION'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
{"properties":
[("mode", 'SCALE'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True},
{"properties":
[("mode", 'ROTATION'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "alt": True},
{"properties":
[("mode", 'TRANSLATION'),
("texmode", 'SECONDARY'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
{"properties":
[("mode", 'SCALE'),
("texmode", 'SECONDARY'),
],
},
),
("brush.stencil_control",
{"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
{"properties":
[("mode", 'ROTATION'),
("texmode", 'SECONDARY'),
],
},
),
("paint.brush_select",
{"type": 'X', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'DRAW'),
],
},
),
("paint.brush_select",
{"type": 'S', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'SMOOTH'),
],
},
),
("paint.brush_select",
{"type": 'P', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'PINCH'),
],
},
),
("paint.brush_select",
{"type": 'I', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'INFLATE'),
],
},
),
("paint.brush_select",
{"type": 'G', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'GRAB'),
],
},
),
("paint.brush_select",
{"type": 'L', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'LAYER'),
],
},
),
("paint.brush_select",
{"type": 'T', "value": 'PRESS', "shift": True},
{"properties":
[("sculpt_tool", 'FLATTEN'),
],
},
),
("paint.brush_select",
{"type": 'C', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'CLAY'),
],
},
),
("paint.brush_select",
{"type": 'C', "value": 'PRESS', "shift": True},
{"properties":
[("sculpt_tool", 'CREASE'),
],
},
),
("paint.brush_select",
{"type": 'K', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'SNAKE_HOOK'),
],
},
),
("paint.brush_select",
{"type": 'M', "value": 'PRESS'},
{"properties":
[("sculpt_tool", 'MASK'),
("toggle", True),
("create_missing", True),
],
},
),
("wm.context_menu_enum",
{"type": 'E', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.sculpt.brush.stroke_method'),
],
},
),
("wm.context_toggle",
{"type": 'S', "value": 'PRESS', "shift": True},
{"properties":
[("data_path", 'tool_settings.sculpt.brush.use_smooth_stroke'),
],
},
),
("wm.call_menu",
{"type": 'R', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_angle_control'),
],
},
),
("wm.call_panel",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_PT_sculpt_context_menu'),
],
},
),
],
},
),
("Mesh",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("mesh.loopcut_slide",
{"type": 'R', "value": 'PRESS', "ctrl": True},
{"properties":
[("TRANSFORM_OT_edge_slide",
[("release_confirm", False),
],
),
],
},
),
("mesh.offset_edge_loops_slide",
{"type": 'R', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("TRANSFORM_OT_edge_slide",
[("release_confirm", False),
],
),
],
},
),
("mesh.inset", {"type": 'I', "value": 'PRESS'}, None),
("mesh.bevel",
{"type": 'B', "value": 'PRESS', "ctrl": True},
{"properties":
[("vertex_only", False),
],
},
),
("mesh.bevel",
{"type": 'B', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("vertex_only", True),
],
},
),
("mesh.select_mode",
{"type": 'ONE', "value": 'PRESS'},
{"properties":
[("type", 'VERT'),
],
},
),
("mesh.select_mode",
{"type": 'TWO', "value": 'PRESS'},
{"properties":
[("type", 'EDGE'),
],
},
),
("mesh.select_mode",
{"type": 'THREE', "value": 'PRESS'},
{"properties":
[("type", 'FACE'),
],
},
),
("mesh.select_mode",
{"type": 'ONE', "value": 'PRESS', "shift": True},
{"properties":
[("use_extend", True),
("type", 'VERT'),
],
},
),
("mesh.select_mode",
{"type": 'TWO', "value": 'PRESS', "shift": True},
{"properties":
[("use_extend", True),
("type", 'EDGE'),
],
},
),
("mesh.select_mode",
{"type": 'THREE', "value": 'PRESS', "shift": True},
{"properties":
[("use_extend", True),
("type", 'FACE'),
],
},
),
("mesh.select_mode",
{"type": 'ONE', "value": 'PRESS', "ctrl": True},
{"properties":
[("use_expand", True),
("type", 'VERT'),
],
},
),
("mesh.select_mode",
{"type": 'TWO', "value": 'PRESS', "ctrl": True},
{"properties":
[("use_expand", True),
("type", 'EDGE'),
],
},
),
("mesh.select_mode",
{"type": 'THREE', "value": 'PRESS', "ctrl": True},
{"properties":
[("use_expand", True),
("type", 'FACE'),
],
},
),
("mesh.select_mode",
{"type": 'ONE', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("use_extend", True),
("use_expand", True),
("type", 'VERT'),
],
},
),
("mesh.select_mode",
{"type": 'TWO', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("use_extend", True),
("use_expand", True),
("type", 'EDGE'),
],
},
),
("mesh.select_mode",
{"type": 'THREE', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("use_extend", True),
("use_expand", True),
("type", 'FACE'),
],
},
),
("mesh.loop_select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
{"properties":
[("extend", False),
("deselect", False),
("toggle", False),
],
},
),
("mesh.loop_select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
{"properties":
[("extend", False),
("deselect", False),
("toggle", True),
],
},
),
("mesh.edgering_select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True, "alt": True},
{"properties":
[("extend", False),
("deselect", False),
("toggle", False),
],
},
),
("mesh.edgering_select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True, "alt": True},
{"properties":
[("extend", False),
("deselect", False),
("toggle", True),
],
},
),
("mesh.shortest_path_pick",
{"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
{"properties":
[("use_fill", False),
],
},
),
("mesh.shortest_path_pick",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
{"properties":
[("use_fill", True),
],
},
),
("mesh.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("mesh.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("mesh.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("mesh.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("mesh.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
("mesh.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
("mesh.select_next_item", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("mesh.select_prev_item", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("mesh.select_linked", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
("mesh.select_linked_pick",
{"type": 'L', "value": 'PRESS'},
{"properties":
[("deselect", False),
],
},
),
("mesh.select_linked_pick",
{"type": 'L', "value": 'PRESS', "shift": True},
{"properties":
[("deselect", True),
],
},
),
("mesh.select_mirror", {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("wm.call_menu",
{"type": 'G', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_select_similar'),
],
},
),
("mesh.hide",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("unselected", False),
],
},
),
("mesh.hide",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("unselected", True),
],
},
),
("mesh.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("mesh.normals_make_consistent",
{"type": 'N', "value": 'PRESS', "shift": True},
{"properties":
[("inside", False),
],
},
),
("mesh.normals_make_consistent",
{"type": 'N', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("inside", True),
],
},
),
("view3d.edit_mesh_extrude_move_normal", {"type": 'E', "value": 'PRESS'}, None),
("wm.call_menu",
{"type": 'E', "value": 'PRESS', "alt": True},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_extrude'),
],
},
),
("transform.edge_crease", {"type": 'E', "value": 'PRESS', "shift": True}, None),
("mesh.fill", {"type": 'F', "value": 'PRESS', "alt": True}, None),
("mesh.quads_convert_to_tris",
{"type": 'T', "value": 'PRESS', "ctrl": True},
{"properties":
[("quad_method", 'BEAUTY'),
("ngon_method", 'BEAUTY'),
],
},
),
("mesh.quads_convert_to_tris",
{"type": 'T', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("quad_method", 'FIXED'),
("ngon_method", 'CLIP'),
],
},
),
("mesh.tris_convert_to_quads", {"type": 'J', "value": 'PRESS', "alt": True}, None),
("mesh.rip_move",
{"type": 'V', "value": 'PRESS'},
{"properties":
[("MESH_OT_rip",
[("use_fill", False),
],
),
],
},
),
("mesh.rip_move",
{"type": 'V', "value": 'PRESS', "alt": True},
{"properties":
[("MESH_OT_rip",
[("use_fill", True),
],
),
],
},
),
("mesh.rip_edge_move", {"type": 'D', "value": 'PRESS', "alt": True}, None),
("wm.call_menu",
{"type": 'M', "value": 'PRESS', "alt": True},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_merge'),
],
},
),
("transform.shrink_fatten", {"type": 'S', "value": 'PRESS', "alt": True}, None),
("mesh.edge_face_add", {"type": 'F', "value": 'PRESS'}, None),
("mesh.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
("wm.call_menu",
{"type": 'A', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_mesh_add'),
],
},
),
("mesh.separate", {"type": 'P', "value": 'PRESS'}, None),
("mesh.split", {"type": 'Y', "value": 'PRESS'}, None),
("mesh.vert_connect_path", {"type": 'J', "value": 'PRESS'}, None),
("mesh.point_normals", {"type": 'L', "value": 'PRESS', "alt": True}, None),
("transform.vert_slide", {"type": 'V', "value": 'PRESS', "shift": True}, None),
("mesh.dupli_extrude_cursor",
{"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True},
{"properties":
[("rotate_source", True),
],
},
),
("mesh.dupli_extrude_cursor",
{"type": 'RIGHTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
{"properties":
[("rotate_source", False),
],
},
),
("wm.call_menu",
{"type": 'X', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_delete'),
],
},
),
("wm.call_menu",
{"type": 'DEL', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_delete'),
],
},
),
("mesh.dissolve_mode", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
("mesh.dissolve_mode", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
("mesh.knife_tool",
{"type": 'K', "value": 'PRESS'},
{"properties":
[("use_occlude_geometry", True),
("only_selected", False),
],
},
),
("object.vertex_parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_context_menu'),
],
},
),
("wm.call_menu",
{"type": 'F', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_faces'),
],
},
),
("wm.call_menu",
{"type": 'E', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_edges'),
],
},
),
("wm.call_menu",
{"type": 'V', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_vertices'),
],
},
),
("wm.call_menu",
{"type": 'H', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_hook'),
],
},
),
("wm.call_menu",
{"type": 'U', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_uv_map'),
],
},
),
("wm.call_menu",
{"type": 'G', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_vertex_group'),
],
},
),
("wm.call_menu",
{"type": 'N', "value": 'PRESS', "alt": True},
{"properties":
[("name", 'VIEW3D_MT_edit_mesh_normals'),
],
},
),
("object.vertex_group_remove_from", {"type": 'G', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("wm.call_menu_pie",
{"type": 'O', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.use_proportional_edit'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS', "alt": True},
{"properties":
[("data_path", 'tool_settings.use_proportional_connected'),
],
},
),
],
},
),
("Armature",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("armature.hide",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("unselected", False),
],
},
),
("armature.hide",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("unselected", True),
],
},
),
("armature.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("armature.align", {"type": 'A', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("armature.calculate_roll", {"type": 'N', "value": 'PRESS', "shift": True}, None),
("armature.roll_clear", {"type": 'R', "value": 'PRESS', "alt": True}, None),
("armature.switch_direction", {"type": 'F', "value": 'PRESS', "alt": True}, None),
("armature.bone_primitive_add", {"type": 'A', "value": 'PRESS', "shift": True}, None),
("armature.parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
("armature.parent_clear", {"type": 'P', "value": 'PRESS', "alt": True}, None),
("armature.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("armature.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("armature.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("armature.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("armature.select_mirror",
{"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("extend", False),
],
},
),
("armature.select_hierarchy",
{"type": 'LEFT_BRACKET', "value": 'PRESS'},
{"properties":
[("direction", 'PARENT'),
("extend", False),
],
},
),
("armature.select_hierarchy",
{"type": 'LEFT_BRACKET', "value": 'PRESS', "shift": True},
{"properties":
[("direction", 'PARENT'),
("extend", True),
],
},
),
("armature.select_hierarchy",
{"type": 'RIGHT_BRACKET', "value": 'PRESS'},
{"properties":
[("direction", 'CHILD'),
("extend", False),
],
},
),
("armature.select_hierarchy",
{"type": 'RIGHT_BRACKET', "value": 'PRESS', "shift": True},
{"properties":
[("direction", 'CHILD'),
("extend", True),
],
},
),
("armature.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
("armature.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
("armature.select_similar", {"type": 'G', "value": 'PRESS', "shift": True}, None),
("armature.select_linked",
{"type": 'L', "value": 'PRESS'},
{"properties":
[("deselect", False),
],
},
),
("armature.select_linked",
{"type": 'L', "value": 'PRESS', "shift": True},
{"properties":
[("deselect", True),
],
},
),
("armature.shortest_path_pick", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True}, None),
("wm.call_menu",
{"type": 'X', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_edit_armature_delete'),
],
},
),
("wm.call_menu",
{"type": 'DEL', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_edit_armature_delete'),
],
},
),
("armature.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
("armature.dissolve", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
("armature.dissolve", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
("armature.extrude_move", {"type": 'E', "value": 'PRESS'}, None),
("armature.extrude_forked", {"type": 'E', "value": 'PRESS', "shift": True}, None),
("armature.click_extrude", {"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True}, None),
("armature.fill", {"type": 'F', "value": 'PRESS'}, None),
("armature.merge", {"type": 'M', "value": 'PRESS', "alt": True}, None),
("armature.split", {"type": 'Y', "value": 'PRESS'}, None),
("armature.separate", {"type": 'P', "value": 'PRESS'}, None),
("wm.call_menu",
{"type": 'W', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_bone_options_toggle'),
],
},
),
("wm.call_menu",
{"type": 'W', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_bone_options_enable'),
],
},
),
("wm.call_menu",
{"type": 'W', "value": 'PRESS', "alt": True},
{"properties":
[("name", 'VIEW3D_MT_bone_options_disable'),
],
},
),
("armature.layers_show_all", {"type": 'ACCENT_GRAVE', "value": 'PRESS', "ctrl": True}, None),
("armature.armature_layers", {"type": 'M', "value": 'PRESS', "shift": True}, None),
("armature.bone_layers", {"type": 'M', "value": 'PRESS'}, None),
("transform.transform",
{"type": 'S', "value": 'PRESS', "ctrl": True, "alt": True},
{"properties":
[("mode", 'BONE_SIZE'),
],
},
),
("transform.transform",
{"type": 'S', "value": 'PRESS', "alt": True},
{"properties":
[("mode", 'BONE_ENVELOPE'),
],
},
),
("transform.transform",
{"type": 'R', "value": 'PRESS', "ctrl": True},
{"properties":
[("mode", 'BONE_ROLL'),
],
},
),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_armature_context_menu'),
],
},
),
],
},
),
("Metaball",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("object.metaball_add", {"type": 'A', "value": 'PRESS', "shift": True}, None),
("mball.reveal_metaelems", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("mball.hide_metaelems",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("unselected", False),
],
},
),
("mball.hide_metaelems",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("unselected", True),
],
},
),
("mball.delete_metaelems", {"type": 'X', "value": 'PRESS'}, None),
("mball.delete_metaelems", {"type": 'DEL', "value": 'PRESS'}, None),
("mball.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
("mball.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("mball.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("mball.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("mball.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("mball.select_similar", {"type": 'G', "value": 'PRESS', "shift": True}, None),
("wm.call_menu_pie",
{"type": 'O', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.use_proportional_edit'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS', "alt": True},
{"properties":
[("data_path", 'tool_settings.use_proportional_connected'),
],
},
),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_edit_metaball_context_menu'),
],
},
),
],
},
),
("Lattice",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("lattice.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("lattice.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("lattice.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("lattice.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("lattice.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
("lattice.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
("object.vertex_parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
("lattice.flip", {"type": 'F', "value": 'PRESS', "alt": True}, None),
("wm.call_menu",
{"type": 'H', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_hook'),
],
},
),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_edit_lattice_context_menu'),
],
},
),
("wm.call_menu_pie",
{"type": 'O', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.use_proportional_edit'),
],
},
),
],
},
),
("Particle",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("particle.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("particle.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("particle.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("particle.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("particle.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
("particle.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
("particle.select_linked",
{"type": 'L', "value": 'PRESS'},
{"properties":
[("deselect", False),
],
},
),
("particle.select_linked",
{"type": 'L', "value": 'PRESS', "shift": True},
{"properties":
[("deselect", True),
],
},
),
("particle.delete", {"type": 'X', "value": 'PRESS'}, None),
("particle.delete", {"type": 'DEL', "value": 'PRESS'}, None),
("particle.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("particle.hide",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("unselected", False),
],
},
),
("particle.hide",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("unselected", True),
],
},
),
("particle.brush_edit", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
("particle.brush_edit", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, None),
("wm.radial_control",
{"type": 'F', "value": 'PRESS'},
{"properties":
[("data_path_primary", 'tool_settings.particle_edit.brush.size'),
],
},
),
("wm.radial_control",
{"type": 'F', "value": 'PRESS', "shift": True},
{"properties":
[("data_path_primary", 'tool_settings.particle_edit.brush.strength'),
],
},
),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_particle_context_menu'),
],
},
),
("particle.weight_set", {"type": 'K', "value": 'PRESS', "shift": True}, None),
("wm.context_set_enum",
{"type": 'ONE', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.particle_edit.select_mode'),
("value", 'PATH'),
],
},
),
("wm.context_set_enum",
{"type": 'TWO', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.particle_edit.select_mode'),
("value", 'POINT'),
],
},
),
("wm.context_set_enum",
{"type": 'THREE', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.particle_edit.select_mode'),
("value", 'TIP'),
],
},
),
("wm.call_menu_pie",
{"type": 'O', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.use_proportional_edit'),
],
},
),
],
},
),
("Font",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("font.style_toggle",
{"type": 'B', "value": 'PRESS', "ctrl": True},
{"properties":
[("style", 'BOLD'),
],
},
),
("font.style_toggle",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("style", 'ITALIC'),
],
},
),
("font.style_toggle",
{"type": 'U', "value": 'PRESS', "ctrl": True},
{"properties":
[("style", 'UNDERLINE'),
],
},
),
("font.style_toggle",
{"type": 'P', "value": 'PRESS', "ctrl": True},
{"properties":
[("style", 'SMALL_CAPS'),
],
},
),
("font.delete",
{"type": 'DEL', "value": 'PRESS'},
{"properties":
[("type", 'NEXT_OR_SELECTION'),
],
},
),
("font.delete",
{"type": 'DEL', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'NEXT_WORD'),
],
},
),
("font.delete",
{"type": 'BACK_SPACE', "value": 'PRESS'},
{"properties":
[("type", 'PREVIOUS_OR_SELECTION'),
],
},
),
("font.delete",
{"type": 'BACK_SPACE', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'PREVIOUS_OR_SELECTION'),
],
},
),
("font.delete",
{"type": 'BACK_SPACE', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'PREVIOUS_WORD'),
],
},
),
("font.move",
{"type": 'HOME', "value": 'PRESS'},
{"properties":
[("type", 'LINE_BEGIN'),
],
},
),
("font.move",
{"type": 'END', "value": 'PRESS'},
{"properties":
[("type", 'LINE_END'),
],
},
),
("font.move",
{"type": 'LEFT_ARROW', "value": 'PRESS'},
{"properties":
[("type", 'PREVIOUS_CHARACTER'),
],
},
),
("font.move",
{"type": 'RIGHT_ARROW', "value": 'PRESS'},
{"properties":
[("type", 'NEXT_CHARACTER'),
],
},
),
("font.move",
{"type": 'LEFT_ARROW', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'PREVIOUS_WORD'),
],
},
),
("font.move",
{"type": 'RIGHT_ARROW', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'NEXT_WORD'),
],
},
),
("font.move",
{"type": 'UP_ARROW', "value": 'PRESS'},
{"properties":
[("type", 'PREVIOUS_LINE'),
],
},
),
("font.move",
{"type": 'DOWN_ARROW', "value": 'PRESS'},
{"properties":
[("type", 'NEXT_LINE'),
],
},
),
("font.move",
{"type": 'PAGE_UP', "value": 'PRESS'},
{"properties":
[("type", 'PREVIOUS_PAGE'),
],
},
),
("font.move",
{"type": 'PAGE_DOWN', "value": 'PRESS'},
{"properties":
[("type", 'NEXT_PAGE'),
],
},
),
("font.move_select",
{"type": 'HOME', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'LINE_BEGIN'),
],
},
),
("font.move_select",
{"type": 'END', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'LINE_END'),
],
},
),
("font.move_select",
{"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'PREVIOUS_CHARACTER'),
],
},
),
("font.move_select",
{"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'NEXT_CHARACTER'),
],
},
),
("font.move_select",
{"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'PREVIOUS_WORD'),
],
},
),
("font.move_select",
{"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'NEXT_WORD'),
],
},
),
("font.move_select",
{"type": 'UP_ARROW', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'PREVIOUS_LINE'),
],
},
),
("font.move_select",
{"type": 'DOWN_ARROW', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'NEXT_LINE'),
],
},
),
("font.move_select",
{"type": 'PAGE_UP', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'PREVIOUS_PAGE'),
],
},
),
("font.move_select",
{"type": 'PAGE_DOWN', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'NEXT_PAGE'),
],
},
),
("font.change_spacing",
{"type": 'LEFT_ARROW', "value": 'PRESS', "alt": True},
{"properties":
[("delta", -1),
],
},
),
("font.change_spacing",
{"type": 'RIGHT_ARROW', "value": 'PRESS', "alt": True},
{"properties":
[("delta", 1),
],
},
),
("font.change_character",
{"type": 'UP_ARROW', "value": 'PRESS', "alt": True},
{"properties":
[("delta", 1),
],
},
),
("font.change_character",
{"type": 'DOWN_ARROW', "value": 'PRESS', "alt": True},
{"properties":
[("delta", -1),
],
},
),
("font.select_all", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
("font.text_copy", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
("font.text_cut", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
("font.text_paste", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
("font.line_break", {"type": 'RET', "value": 'PRESS'}, None),
("font.text_insert", {"type": 'TEXTINPUT', "value": 'ANY', "any": True}, None),
("font.text_insert",
{"type": 'BACK_SPACE', "value": 'PRESS', "alt": True},
{"properties":
[("accent", True),
],
},
),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_edit_text_context_menu'),
],
},
),
],
},
),
("Region Context Menu",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("screen.region_context_menu", {"type": 'RIGHTMOUSE', "value": 'CLICK'}, None),
],
},
),
("Object Mode",
{"space_type": 'EMPTY', "region_type": 'WINDOW'},
{"items":
[("wm.call_menu_pie",
{"type": 'O', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
],
},
),
("wm.context_toggle",
{"type": 'O', "value": 'PRESS'},
{"properties":
[("data_path", 'tool_settings.use_proportional_edit_objects'),
],
},
),
("object.select_all",
{"type": 'A', "value": 'PRESS'},
{"properties":
[("action", 'SELECT'),
],
},
),
("object.select_all",
{"type": 'A', "value": 'PRESS', "alt": True},
{"properties":
[("action", 'DESELECT'),
],
},
),
("object.select_all",
{"type": 'I', "value": 'PRESS', "ctrl": True},
{"properties":
[("action", 'INVERT'),
],
},
),
("object.select_all",
{"type": 'A', "value": 'DOUBLE_CLICK'},
{"properties":
[("action", 'DESELECT'),
],
},
),
("object.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
("object.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
("object.select_linked", {"type": 'L', "value": 'PRESS', "shift": True}, None),
("object.select_grouped", {"type": 'G', "value": 'PRESS', "shift": True}, None),
("object.select_hierarchy",
{"type": 'LEFT_BRACKET', "value": 'PRESS'},
{"properties":
[("direction", 'PARENT'),
("extend", False),
],
},
),
("object.select_hierarchy",
{"type": 'LEFT_BRACKET', "value": 'PRESS', "shift": True},
{"properties":
[("direction", 'PARENT'),
("extend", True),
],
},
),
("object.select_hierarchy",
{"type": 'RIGHT_BRACKET', "value": 'PRESS'},
{"properties":
[("direction", 'CHILD'),
("extend", False),
],
},
),
("object.select_hierarchy",
{"type": 'RIGHT_BRACKET', "value": 'PRESS', "shift": True},
{"properties":
[("direction", 'CHILD'),
("extend", True),
],
},
),
("object.parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
("object.parent_clear", {"type": 'P', "value": 'PRESS', "alt": True}, None),
("object.location_clear",
{"type": 'G', "value": 'PRESS', "alt": True},
{"properties":
[("clear_delta", False),
],
},
),
("object.rotation_clear",
{"type": 'R', "value": 'PRESS', "alt": True},
{"properties":
[("clear_delta", False),
],
},
),
("object.scale_clear",
{"type": 'S', "value": 'PRESS', "alt": True},
{"properties":
[("clear_delta", False),
],
},
),
("object.delete",
{"type": 'X', "value": 'PRESS'},
{"properties":
[("use_global", False),
],
},
),
("object.delete",
{"type": 'X', "value": 'PRESS', "shift": True},
{"properties":
[("use_global", True),
],
},
),
("object.delete",
{"type": 'DEL', "value": 'PRESS'},
{"properties":
[("use_global", False),
("confirm", False),
],
},
),
("object.delete",
{"type": 'DEL', "value": 'PRESS', "shift": True},
{"properties":
[("use_global", True),
("confirm", False),
],
},
),
("wm.call_menu",
{"type": 'A', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_add'),
],
},
),
("wm.call_menu",
{"type": 'A', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_object_apply'),
],
},
),
("wm.call_menu",
{"type": 'L', "value": 'PRESS', "ctrl": True},
{"properties":
[("name", 'VIEW3D_MT_make_links'),
],
},
),
("object.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
("object.duplicate_move_linked", {"type": 'D', "value": 'PRESS', "alt": True}, None),
("object.join", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
("anim.keyframe_insert_menu", {"type": 'I', "value": 'PRESS'}, None),
("anim.keyframe_delete_v3d", {"type": 'I', "value": 'PRESS', "alt": True}, None),
("anim.keying_set_active_set", {"type": 'I', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
("collection.create", {"type": 'G', "value": 'PRESS', "ctrl": True}, None),
("collection.objects_remove", {"type": 'G', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("collection.objects_remove_all", {"type": 'G', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
("collection.objects_add_active", {"type": 'G', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("collection.objects_remove_active", {"type": 'G', "value": 'PRESS', "shift": True, "alt": True}, None),
("wm.call_menu",
{"type": 'RIGHTMOUSE', "value": 'CLICK'},
{"properties":
[("name", 'VIEW3D_MT_object_context_menu'),
],
},
),
("object.subdivision_set",
{"type": 'ZERO', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 0),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'ONE', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 1),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'TWO', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 2),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'THREE', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 3),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'FOUR', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 4),
("relative", False),
],
},
),
("object.subdivision_set",
{"type": 'FIVE', "value": 'PRESS', "ctrl": True},
{"properties":
[("level", 5),
("relative", False),
],
},
),
("object.move_to_collection", {"type": 'M', "value": 'PRESS'}, None),
("object.link_to_collection", {"type": 'M', "value": 'PRESS', "shift": True}, None),
("object.hide_view_clear", {"type": 'H', "value": 'PRESS', "alt": True}, None),
("object.hide_view_set",
{"type": 'H', "value": 'PRESS'},
{"properties":
[("unselected", False),
],
},
),
("object.hide_view_set",
{"type": 'H', "value": 'PRESS', "shift": True},
{"properties":
[("unselected", True),
],
},
),
("object.hide_collection", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
("object.hide_collection",
{"type": 'ONE', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 1),
],
},
),
("object.hide_collection",
{"type": 'TWO', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 2),
],
},
),
("object.hide_collection",
{"type": 'THREE', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 3),
],
},
),
("object.hide_collection",
{"type": 'FOUR', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 4),
],
},
),
("object.hide_collection",
{"type": 'FIVE', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 5),
],
},
),
("object.hide_collection",
{"type": 'SIX', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 6),
],
},
),
("object.hide_collection",
{"type": 'SEVEN', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 7),
],
},
),
("object.hide_collection",
{"type": 'EIGHT', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 8),
],
},
),
("object.hide_collection",
{"type": 'NINE', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 9),
],
},
),
("object.hide_collection",
{"type": 'ZERO', "value": 'PRESS', "any": True},
{"properties":
[("collection_index", 10),
],
},
),
],
},
),
("3D View",
{"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
{"items":
[("view3d.cursor3d", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
("transform.translate",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True},
{"properties":
[("cursor_transform", True),
("release_confirm", True),
],
},
),
("view3d.localview", {"type": 'NUMPAD_SLASH', "value": 'PRESS'}, None),
("view3d.localview", {"type": 'SLASH', "value": 'PRESS'}, None),
("view3d.localview_remove_from", {"type": 'M', "value": 'PRESS'}, None),
("view3d.rotate", {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG'}, None),
("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
("view3d.zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
("view3d.dolly", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
("view3d.view_selected",
{"type": 'NUMPAD_PERIOD', "value": 'PRESS', "ctrl": True},
{"properties":
[("use_all_regions", True),
],
},
),
("view3d.view_selected",
{"type": 'NUMPAD_PERIOD', "value": 'PRESS'},
{"properties":
[("use_all_regions", False),
],
},
),
("view3d.smoothview", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
("view3d.rotate", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
("view3d.rotate", {"type": 'MOUSEROTATE', "value": 'ANY'}, None),
("view3d.move", {"type": 'TRACKPADPAN', "value": 'ANY', "shift": True}, None),
("view3d.zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
("view3d.zoom", {"type": 'TRACKPADPAN', "value": 'ANY', "ctrl": True}, None),
("view3d.zoom",
{"type": 'NUMPAD_PLUS', "value": 'PRESS'},
{"properties":
[("delta", 1),
],
},
),
("view3d.zoom",
{"type": 'NUMPAD_MINUS', "value": 'PRESS'},
{"properties":
[("delta", -1),
],
},
),
("view3d.zoom",
{"type": 'EQUAL', "value": 'PRESS', "ctrl": True},
{"properties":
[("delta", 1),
],
},
),
("view3d.zoom",
{"type": 'MINUS', "value": 'PRESS', "ctrl": True},
{"properties":
[("delta", -1),
],
},
),
("view3d.zoom",
{"type": 'WHEELINMOUSE', "value": 'PRESS'},
{"properties":
[("delta", 1),
],
},
),
("view3d.zoom",
{"type": 'WHEELOUTMOUSE', "value": 'PRESS'},
{"properties":
[("delta", -1),
],
},
),
("view3d.dolly",
{"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True},
{"properties":
[("delta", 1),
],
},
),
("view3d.dolly",
{"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True},
{"properties":
[("delta", -1),
],
},
),
("view3d.dolly",
{"type": 'EQUAL', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("delta", 1),
],
},
),
("view3d.dolly",
{"type": 'MINUS', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("delta", -1),
],
},
),
("view3d.view_center_camera", {"type": 'HOME', "value": 'PRESS'}, None),
("view3d.view_center_lock", {"type": 'HOME', "value": 'PRESS'}, None),
("view3d.view_all",
{"type": 'HOME', "value": 'PRESS'},
{"properties":
[("center", False),
],
},
),
("view3d.view_all",
{"type": 'HOME', "value": 'PRESS', "ctrl": True},
{"properties":
[("use_all_regions", True),
("center", False),
],
},
),
("view3d.view_all",
{"type": 'C', "value": 'PRESS', "shift": True},
{"properties":
[("center", True),
],
},
),
("wm.call_menu_pie",
{"type": 'ACCENT_GRAVE', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_view_pie'),
],
},
),
("view3d.navigate", {"type": 'ACCENT_GRAVE', "value": 'PRESS', "shift": True}, None),
("view3d.view_camera", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
("view3d.view_axis",
{"type": 'NUMPAD_1', "value": 'PRESS'},
{"properties":
[("type", 'FRONT'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_2', "value": 'PRESS'},
{"properties":
[("type", 'ORBITDOWN'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_3', "value": 'PRESS'},
{"properties":
[("type", 'RIGHT'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_4', "value": 'PRESS'},
{"properties":
[("type", 'ORBITLEFT'),
],
},
),
("view3d.view_persportho", {"type": 'NUMPAD_5', "value": 'PRESS'}, None),
("view3d.view_orbit",
{"type": 'NUMPAD_6', "value": 'PRESS'},
{"properties":
[("type", 'ORBITRIGHT'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS'},
{"properties":
[("type", 'TOP'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_8', "value": 'PRESS'},
{"properties":
[("type", 'ORBITUP'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_1', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'BACK'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_3', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'LEFT'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'BOTTOM'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'PANDOWN'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'PANLEFT'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_6', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'PANRIGHT'),
],
},
),
("view3d.view_pan",
{"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True},
{"properties":
[("type", 'PANUP'),
],
},
),
("view3d.view_roll",
{"type": 'NUMPAD_4', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'LEFT'),
],
},
),
("view3d.view_roll",
{"type": 'NUMPAD_6', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'RIGHT'),
],
},
),
("view3d.view_orbit",
{"type": 'NUMPAD_9', "value": 'PRESS'},
{"properties":
[("angle", 3.1415927),
("type", 'ORBITRIGHT'),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_1', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'FRONT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_3', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'RIGHT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'TOP'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_1', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'BACK'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_3', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'LEFT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NUMPAD_7', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("type", 'BOTTOM'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'EVT_TWEAK_M', "value": 'NORTH', "alt": True},
{"properties":
[("type", 'TOP'),
("relative", True),
],
},
),
("view3d.view_axis",
{"type": 'EVT_TWEAK_M', "value": 'SOUTH', "alt": True},
{"properties":
[("type", 'BOTTOM'),
("relative", True),
],
},
),
("view3d.view_axis",
{"type": 'EVT_TWEAK_M', "value": 'EAST', "alt": True},
{"properties":
[("type", 'RIGHT'),
("relative", True),
],
},
),
("view3d.view_axis",
{"type": 'EVT_TWEAK_M', "value": 'WEST', "alt": True},
{"properties":
[("type", 'LEFT'),
("relative", True),
],
},
),
("view3d.view_center_pick", {"type": 'MIDDLEMOUSE', "value": 'CLICK', "alt": True}, None),
("view3d.ndof_orbit_zoom", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
("view3d.ndof_orbit", {"type": 'NDOF_MOTION', "value": 'ANY', "ctrl": True}, None),
("view3d.ndof_pan", {"type": 'NDOF_MOTION', "value": 'ANY', "shift": True}, None),
("view3d.ndof_all", {"type": 'NDOF_MOTION', "value": 'ANY', "shift": True, "ctrl": True}, None),
("view3d.view_selected",
{"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'},
{"properties":
[("use_all_regions", False),
],
},
),
("view3d.view_roll",
{"type": 'NDOF_BUTTON_ROLL_CCW', "value": 'PRESS'},
{"properties":
[("type", 'LEFT'),
],
},
),
("view3d.view_roll",
{"type": 'NDOF_BUTTON_ROLL_CCW', "value": 'PRESS'},
{"properties":
[("type", 'RIGHT'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_FRONT', "value": 'PRESS'},
{"properties":
[("type", 'FRONT'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_BACK', "value": 'PRESS'},
{"properties":
[("type", 'BACK'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_LEFT', "value": 'PRESS'},
{"properties":
[("type", 'LEFT'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_RIGHT', "value": 'PRESS'},
{"properties":
[("type", 'RIGHT'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_TOP', "value": 'PRESS'},
{"properties":
[("type", 'TOP'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_BOTTOM', "value": 'PRESS'},
{"properties":
[("type", 'BOTTOM'),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_FRONT', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'FRONT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_RIGHT', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'RIGHT'),
("align_active", True),
],
},
),
("view3d.view_axis",
{"type": 'NDOF_BUTTON_TOP', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'TOP'),
("align_active", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK'},
{"properties":
[("deselect_all", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
{"properties":
[("toggle", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
{"properties":
[("center", True),
("object", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
{"properties":
[("enumerate", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
{"properties":
[("extend", True),
("toggle", True),
("center", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True, "alt": True},
{"properties":
[("center", True),
("enumerate", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
{"properties":
[("toggle", True),
("enumerate", True),
],
},
),
("view3d.select",
{"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True, "alt": True},
{"properties":
[("toggle", True),
("center", True),
("enumerate", True),
],
},
),
("view3d.select_box", {"type": 'B', "value": 'PRESS'}, None),
("view3d.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
{"properties":
[("mode", 'ADD'),
],
},
),
("view3d.select_lasso",
{"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
{"properties":
[("mode", 'SUB'),
],
},
),
("view3d.select_circle", {"type": 'C', "value": 'PRESS'}, None),
("view3d.clip_border", {"type": 'B', "value": 'PRESS', "alt": True}, None),
("view3d.zoom_border", {"type": 'B', "value": 'PRESS', "shift": True}, None),
("view3d.render_border", {"type": 'B', "value": 'PRESS', "ctrl": True}, None),
("view3d.clear_render_border", {"type": 'B', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("view3d.camera_to_view", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True, "alt": True}, None),
("view3d.object_as_camera", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True}, None),
("view3d.copybuffer", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
("view3d.pastebuffer", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
("transform.rotate", {"type": 'R', "value": 'PRESS'}, None),
("transform.resize", {"type": 'S', "value": 'PRESS'}, None),
("transform.bend", {"type": 'W', "value": 'PRESS', "shift": True}, None),
("transform.tosphere", {"type": 'S', "value": 'PRESS', "shift": True, "alt": True}, None),
("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
("wm.context_toggle",
{"type": 'TAB', "value": 'PRESS', "shift": True},
{"properties":
[("data_path", 'tool_settings.use_snap'),
],
},
),
("wm.call_panel",
{"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
{"properties":
[("name", 'VIEW3D_PT_snapping'),
("keep_open", False),
],
},
),
("object.transform_axis_target", {"type": 'T', "value": 'PRESS', "shift": True}, None),
("transform.skin_resize", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
("wm.call_menu_pie",
{"type": 'S', "value": 'PRESS', "shift": True},
{"properties":
[("name", 'VIEW3D_MT_snap_pie'),
],
},
),
("wm.context_toggle",
{"type": 'ACCENT_GRAVE', "value": 'PRESS', "ctrl": True},
{"properties":
[("data_path", 'space_data.show_gizmo'),
],
},
),
("wm.call_menu_pie",
{"type": 'PERIOD', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_pivot_pie'),
],
},
),
("wm.call_menu_pie",
{"type": 'COMMA', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_orientations_pie'),
],
},
),
("wm.call_menu_pie",
{"type": 'Z', "value": 'PRESS'},
{"properties":
[("name", 'VIEW3D_MT_shading_pie'),
],
},
),
("view3d.toggle_shading",
{"type": 'Z', "value": 'PRESS', "shift": True},
{"properties":
[("type", 'WIREFRAME'),
],
},
),
("view3d.toggle_xray", {"type": 'Z', "value": 'PRESS', "alt": True}, None),
("wm.context_toggle",
{"type": 'Z', "value": 'PRESS', "shift": True, "alt": True},
{"properties":
[("data_path", 'space_data.overlay.show_overlays'),
],
},
),
("wm.tool_set_by_id",
{"type": 'W', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select_box'),
("cycle", True),
],
},
),
],
},
),
("Toolbar Popup <temp>",
{"space_type": 'EMPTY', "region_type": 'TEMPORARY'},
{"items":
[("wm.tool_set_by_id",
{"type": 'W', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select'),
],
},
),
("wm.tool_set_by_id",
{"type": 'L', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select_lasso'),
],
},
),
("wm.tool_set_by_id",
{"type": 'T', "value": 'PRESS'},
{"properties":
[("name", 'builtin.transform'),
],
},
),
("wm.tool_set_by_id",
{"type": 'B', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select_box'),
],
},
),
("wm.tool_set_by_id",
{"type": 'C', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select_circle'),
],
},
),
("wm.tool_set_by_id",
{"type": 'G', "value": 'PRESS'},
{"properties":
[("name", 'builtin.move'),
],
},
),
("wm.tool_set_by_id",
{"type": 'R', "value": 'PRESS'},
{"properties":
[("name", 'builtin.rotate'),
],
},
),
("wm.tool_set_by_id",
{"type": 'S', "value": 'PRESS'},
{"properties":
[("name", 'builtin.scale'),
],
},
),
("wm.tool_set_by_id",
{"type": 'D', "value": 'PRESS'},
{"properties":
[("name", 'builtin.annotate'),
],
},
),
("wm.tool_set_by_id",
{"type": 'ONE', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_1', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select'),
],
},
),
("wm.tool_set_by_id",
{"type": 'TWO', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select_lasso'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_2', "value": 'PRESS'},
{"properties":
[("name", 'builtin.select_lasso'),
],
},
),
("wm.tool_set_by_id",
{"type": 'THREE', "value": 'PRESS'},
{"properties":
[("name", 'builtin.transform'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_3', "value": 'PRESS'},
{"properties":
[("name", 'builtin.transform'),
],
},
),
("wm.tool_set_by_id",
{"type": 'FOUR', "value": 'PRESS'},
{"properties":
[("name", 'builtin.annotate_line'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_4', "value": 'PRESS'},
{"properties":
[("name", 'builtin.annotate_line'),
],
},
),
("wm.tool_set_by_id",
{"type": 'FIVE', "value": 'PRESS'},
{"properties":
[("name", 'builtin.annotate_polygon'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_5', "value": 'PRESS'},
{"properties":
[("name", 'builtin.annotate_polygon'),
],
},
),
("wm.tool_set_by_id",
{"type": 'SIX', "value": 'PRESS'},
{"properties":
[("name", 'builtin.annotate_eraser'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_6', "value": 'PRESS'},
{"properties":
[("name", 'builtin.annotate_eraser'),
],
},
),
("wm.tool_set_by_id",
{"type": 'SEVEN', "value": 'PRESS'},
{"properties":
[("name", 'builtin_brush.Grab'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_7', "value": 'PRESS'},
{"properties":
[("name", 'builtin_brush.Grab'),
],
},
),
("wm.tool_set_by_id",
{"type": 'EIGHT', "value": 'PRESS'},
{"properties":
[("name", 'builtin_brush.Relax'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_8', "value": 'PRESS'},
{"properties":
[("name", 'builtin_brush.Relax'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NINE', "value": 'PRESS'},
{"properties":
[("name", 'builtin_brush.Pinch'),
],
},
),
("wm.tool_set_by_id",
{"type": 'NUMPAD_9', "value": 'PRESS'},
{"properties":
[("name", 'builtin_brush.Pinch'),
],
},
),
("wm.tool_set_by_id",
{"type": 'SPACE', "value": 'PRESS'},
{"properties":
[("name", 'builtin.cursor'),
],
},
),
("ui.button_execute",
{"type": 'SPACE', "value": 'RELEASE', "any": True},
{"properties":
[("skip_depressed", True),
],
},
),
("wm.tool_set_by_id", {"type": 'SPACE', "value": 'RELEASE', "any": True}, None),
],
},
),
]
if __name__ == "__main__":
import os
from bl_keymap_utils.io import keyconfig_import_from_data
keyconfig_import_from_data(os.path.splitext(os.path.basename(__file__))[0], keyconfig_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment