Last active
February 18, 2025 16:25
-
-
Save p10q/c4702f2f211e49e9d066ef3f6420b803 to your computer and use it in GitHub Desktop.
Blender.py (for keyboard shortcuts)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| keyconfig_version = (4, 2, 66) | |
| keyconfig_data = \ | |
| [("Mesh", | |
| {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | |
| {"items": | |
| [("transform.translate", {"type": 'G', "value": 'PRESS'}, None), | |
| ("transform.rotate", {"type": 'R', "value": 'PRESS'}, None), | |
| ("transform.resize", {"type": 'S', "value": 'PRESS'}, None), | |
| ("transform.translate", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None), | |
| ("transform.bend", {"type": 'W', "value": 'PRESS', "shift": True}, None), | |
| ("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None), | |
| ("transform.tosphere", {"type": 'S', "value": 'PRESS', "shift": True, "alt": True}, None), | |
| ("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "alt": True, "oskey": True}, None), | |
| ("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None), | |
| ("transform.skin_resize", {"type": 'A', "value": 'PRESS', "oskey": True}, None), | |
| ("transform.skin_resize", {"type": 'A', "value": 'PRESS', "ctrl": True}, None), | |
| ("mesh.loopcut_slide", | |
| {"type": 'R', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("TRANSFORM_OT_edge_slide", | |
| [("release_confirm", False), | |
| ], | |
| ), | |
| ], | |
| }, | |
| ), | |
| ("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, "oskey": 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', "oskey": True}, | |
| {"properties": | |
| [("affect", 'EDGES'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.bevel", | |
| {"type": 'B', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("affect", 'EDGES'), | |
| ], | |
| }, | |
| ), | |
| ("transform.shrink_fatten", {"type": 'S', "value": 'PRESS', "alt": True}, None), | |
| ("mesh.bevel", | |
| {"type": 'B', "value": 'PRESS', "shift": True, "oskey": True}, | |
| {"properties": | |
| [("affect", 'VERTICES'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.bevel", | |
| {"type": 'B', "value": 'PRESS', "shift": True, "ctrl": True}, | |
| {"properties": | |
| [("affect", 'VERTICES'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'X', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("type", 'VERT'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'C', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("type", 'EDGE'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'V', "value": 'PRESS', "alt": True}, | |
| {"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', "oskey": True}, | |
| {"properties": | |
| [("use_expand", True), | |
| ("type", 'VERT'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'ONE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("use_expand", True), | |
| ("type", 'VERT'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'TWO', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("use_expand", True), | |
| ("type", 'EDGE'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'TWO', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("use_expand", True), | |
| ("type", 'EDGE'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'THREE', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("use_expand", True), | |
| ("type", 'FACE'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'THREE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("use_expand", True), | |
| ("type", 'FACE'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_mode", | |
| {"type": 'ONE', "value": 'PRESS', "shift": True, "oskey": True}, | |
| {"properties": | |
| [("use_extend", True), | |
| ("use_expand", True), | |
| ("type", 'VERT'), | |
| ], | |
| }, | |
| ), | |
| ("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, "oskey": True}, | |
| {"properties": | |
| [("use_extend", True), | |
| ("use_expand", True), | |
| ("type", 'EDGE'), | |
| ], | |
| }, | |
| ), | |
| ("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, "oskey": True}, | |
| {"properties": | |
| [("use_extend", True), | |
| ("use_expand", True), | |
| ("type", 'FACE'), | |
| ], | |
| }, | |
| ), | |
| ("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}, None), | |
| ("mesh.loop_select", | |
| {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True}, | |
| {"properties": | |
| [("toggle", True), | |
| ], | |
| }, | |
| ), | |
| ("mesh.edgering_select", {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True, "oskey": True}, None), | |
| ("mesh.edgering_select", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True, "alt": True}, None), | |
| ("mesh.edgering_select", | |
| {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True, "oskey": True}, | |
| {"properties": | |
| [("toggle", True), | |
| ], | |
| }, | |
| ), | |
| ("mesh.edgering_select", | |
| {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True, "alt": True}, | |
| {"properties": | |
| [("toggle", True), | |
| ], | |
| }, | |
| ), | |
| ("mesh.shortest_path_pick", | |
| {"type": 'LEFTMOUSE', "value": 'CLICK', "oskey": True}, | |
| {"properties": | |
| [("use_fill", False), | |
| ], | |
| }, | |
| ), | |
| ("mesh.shortest_path_pick", | |
| {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True}, | |
| {"properties": | |
| [("use_fill", False), | |
| ], | |
| }, | |
| ), | |
| ("mesh.shortest_path_pick", | |
| {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "oskey": True}, | |
| {"properties": | |
| [("use_fill", True), | |
| ], | |
| }, | |
| ), | |
| ("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", 'TOGGLE'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_all", | |
| {"type": 'A', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("action", 'DESELECT'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_all", | |
| {"type": 'I', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("action", 'INVERT'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_all", | |
| {"type": 'I', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("action", 'INVERT'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "oskey": True, "repeat": True}, None), | |
| ("mesh.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True, "repeat": True}, None), | |
| ("mesh.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "oskey": True, "repeat": True}, None), | |
| ("mesh.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True, "repeat": True}, None), | |
| ("mesh.select_next_item", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True, "oskey": True, "repeat": True}, None), | |
| ("mesh.select_next_item", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True}, None), | |
| ("mesh.select_prev_item", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True, "oskey": True, "repeat": True}, None), | |
| ("mesh.select_prev_item", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True}, None), | |
| ("mesh.select_linked", {"type": 'L', "value": 'PRESS', "oskey": 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, "oskey": True}, None), | |
| ("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.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None), | |
| ("mesh.hide", | |
| {"type": 'H', "value": 'PRESS'}, | |
| {"properties": | |
| [("unselected", False), | |
| ], | |
| }, | |
| ), | |
| ("mesh.hide", | |
| {"type": 'H', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("unselected", True), | |
| ], | |
| }, | |
| ), | |
| ("mesh.normals_make_consistent", | |
| {"type": 'N', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("inside", False), | |
| ], | |
| }, | |
| ), | |
| ("mesh.normals_make_consistent", | |
| {"type": 'N', "value": 'PRESS', "shift": True, "oskey": True}, | |
| {"properties": | |
| [("inside", True), | |
| ], | |
| }, | |
| ), | |
| ("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', "oskey": True}, | |
| {"properties": | |
| [("quad_method", 'BEAUTY'), | |
| ("ngon_method", 'BEAUTY'), | |
| ], | |
| }, | |
| ), | |
| ("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, "oskey": True}, | |
| {"properties": | |
| [("quad_method", 'FIXED'), | |
| ("ngon_method", 'CLIP'), | |
| ], | |
| }, | |
| ), | |
| ("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'}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_merge'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'M', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_split'), | |
| ], | |
| }, | |
| ), | |
| ("mesh.edge_face_add", {"type": 'F', "value": 'PRESS', "repeat": True}, 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', "oskey": True}, | |
| {"properties": | |
| [("rotate_source", True), | |
| ], | |
| }, | |
| ), | |
| ("mesh.dupli_extrude_cursor", | |
| {"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True}, | |
| {"properties": | |
| [("rotate_source", True), | |
| ], | |
| }, | |
| ), | |
| ("mesh.dupli_extrude_cursor", | |
| {"type": 'RIGHTMOUSE', "value": 'CLICK', "shift": True, "oskey": True}, | |
| {"properties": | |
| [("rotate_source", False), | |
| ], | |
| }, | |
| ), | |
| ("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', "oskey": True}, None), | |
| ("mesh.dissolve_mode", {"type": 'X', "value": 'PRESS', "ctrl": True}, None), | |
| ("mesh.dissolve_mode", {"type": 'DEL', "value": 'PRESS', "oskey": 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), | |
| ], | |
| }, | |
| ), | |
| ("mesh.knife_tool", | |
| {"type": 'K', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("use_occlude_geometry", False), | |
| ("only_selected", True), | |
| ], | |
| }, | |
| ), | |
| ("object.vertex_parent_set", {"type": 'P', "value": 'PRESS', "oskey": True}, None), | |
| ("object.vertex_parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None), | |
| ("wm.call_menu", | |
| {"type": 'F', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_faces'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'F', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_faces'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'E', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_edges'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'E', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_edges'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'V', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_vertices'), | |
| ], | |
| }, | |
| ), | |
| ("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', "oskey": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_vertex_group'), | |
| ], | |
| }, | |
| ), | |
| ("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', "alt": True, "oskey": True}, None), | |
| ("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'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS'}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_context_menu'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'APP', "value": 'PRESS'}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_edit_mesh_context_menu'), | |
| ], | |
| }, | |
| ), | |
| ], | |
| }, | |
| ), | |
| ("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", 'TOGGLE'), | |
| ], | |
| }, | |
| ), | |
| ("object.select_all", | |
| {"type": 'A', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("action", 'DESELECT'), | |
| ], | |
| }, | |
| ), | |
| ("object.select_all", | |
| {"type": 'I', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("action", 'INVERT'), | |
| ], | |
| }, | |
| ), | |
| ("object.select_all", | |
| {"type": 'I', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("action", 'INVERT'), | |
| ], | |
| }, | |
| ), | |
| ("object.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "oskey": True, "repeat": True}, None), | |
| ("object.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True, "repeat": True}, None), | |
| ("object.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "oskey": True, "repeat": True}, None), | |
| ("object.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True, "repeat": 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', "repeat": True}, | |
| {"properties": | |
| [("direction", 'PARENT'), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.select_hierarchy", | |
| {"type": 'LEFT_BRACKET', "value": 'PRESS', "shift": True, "repeat": True}, | |
| {"properties": | |
| [("direction", 'PARENT'), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.select_hierarchy", | |
| {"type": 'RIGHT_BRACKET', "value": 'PRESS', "repeat": True}, | |
| {"properties": | |
| [("direction", 'CHILD'), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.select_hierarchy", | |
| {"type": 'RIGHT_BRACKET', "value": 'PRESS', "shift": True, "repeat": True}, | |
| {"properties": | |
| [("direction", 'CHILD'), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.parent_set", {"type": 'P', "value": 'PRESS', "oskey": True}, None), | |
| ("object.parent_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None), | |
| ("object.parent_clear", {"type": 'P', "value": 'PRESS', "alt": True}, None), | |
| ("transform.translate", {"type": 'G', "value": 'PRESS'}, None), | |
| ("transform.rotate", {"type": 'R', "value": 'PRESS'}, None), | |
| ("transform.resize", {"type": 'S', "value": 'PRESS'}, None), | |
| ("transform.translate", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None), | |
| ("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None), | |
| ("object.transform_axis_target", {"type": 'T', "value": 'PRESS', "shift": 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', "oskey": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_object_apply'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'A', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_object_apply'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'L', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_make_links'), | |
| ], | |
| }, | |
| ), | |
| ("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', "oskey": True}, None), | |
| ("object.join", {"type": 'J', "value": 'PRESS', "ctrl": True}, None), | |
| ("wm.context_toggle", | |
| {"type": 'PERIOD', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("data_path", 'tool_settings.use_transform_data_origin'), | |
| ], | |
| }, | |
| ), | |
| ("anim.keyframe_insert_menu", | |
| {"type": 'K', "value": 'PRESS'}, | |
| {"properties": | |
| [("always_prompt", True), | |
| ], | |
| }, | |
| ), | |
| ("anim.keyframe_delete_v3d", {"type": 'I', "value": 'PRESS', "alt": True}, None), | |
| ("anim.keying_set_active_set", {"type": 'K', "value": 'PRESS', "shift": True}, None), | |
| ("collection.create", {"type": 'G', "value": 'PRESS', "oskey": True}, None), | |
| ("collection.create", {"type": 'G', "value": 'PRESS', "ctrl": True}, None), | |
| ("collection.objects_remove", {"type": 'G', "value": 'PRESS', "alt": True, "oskey": True}, None), | |
| ("collection.objects_remove", {"type": 'G', "value": 'PRESS', "ctrl": True, "alt": True}, None), | |
| ("collection.objects_remove_all", {"type": 'G', "value": 'PRESS', "shift": True, "alt": True, "oskey": 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, "oskey": 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), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_0', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 0), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'ZERO', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 0), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_1', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 1), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'ONE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 1), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_2', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 2), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'TWO', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 2), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_3', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 3), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'THREE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 3), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_4', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 4), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'FOUR', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 4), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_5', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 5), | |
| ("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'}, | |
| {"properties": | |
| [("collection_index", 1), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'TWO', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 2), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'THREE', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 3), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'FOUR', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 4), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'FIVE', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 5), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'SIX', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 6), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'SEVEN', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 7), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'EIGHT', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 8), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'NINE', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 9), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'ZERO', "value": 'PRESS'}, | |
| {"properties": | |
| [("collection_index", 10), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'ONE', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 11), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'TWO', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 12), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'THREE', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 13), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'FOUR', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 14), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'FIVE', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 15), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'SIX', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 16), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'SEVEN', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 17), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'EIGHT', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 18), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'NINE', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 19), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'ZERO', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("collection_index", 20), | |
| ("extend", False), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'ONE', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 1), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'TWO', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 2), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'THREE', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 3), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'FOUR', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 4), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'FIVE', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 5), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'SIX', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 6), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'SEVEN', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 7), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'EIGHT', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 8), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'NINE', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 9), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'ZERO', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("collection_index", 10), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'ONE', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 11), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'TWO', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 12), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'THREE', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 13), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'FOUR', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 14), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'FIVE', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 15), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'SIX', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 16), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'SEVEN', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 17), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'EIGHT', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 18), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'NINE', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 19), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("object.hide_collection", | |
| {"type": 'ZERO', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("collection_index", 20), | |
| ("extend", True), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS'}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_object_context_menu'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu", | |
| {"type": 'APP', "value": 'PRESS'}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_object_context_menu'), | |
| ], | |
| }, | |
| ), | |
| ("anim.keyframe_insert", {"type": 'I', "value": 'PRESS'}, None), | |
| ], | |
| }, | |
| ), | |
| ("Sculpt", | |
| {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | |
| {"items": | |
| [("sculpt.brush_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None), | |
| ("sculpt.brush_stroke", | |
| {"type": 'LEFTMOUSE', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("mode", 'INVERT'), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.brush_stroke", | |
| {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("mode", 'INVERT'), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.brush_stroke", | |
| {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("mode", 'SMOOTH'), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.expand", | |
| {"type": 'A', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("target", 'MASK'), | |
| ("falloff_type", 'GEODESIC'), | |
| ("invert", False), | |
| ("use_mask_preserve", True), | |
| ("use_auto_mask", False), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.expand", | |
| {"type": 'A', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("target", 'MASK'), | |
| ("falloff_type", 'NORMALS'), | |
| ("invert", False), | |
| ("use_mask_preserve", True), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.expand", | |
| {"type": 'W', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("target", 'FACE_SETS'), | |
| ("falloff_type", 'GEODESIC'), | |
| ("invert", False), | |
| ("use_mask_preserve", False), | |
| ("use_modify_active", False), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.expand", | |
| {"type": 'W', "value": 'PRESS', "shift": True, "alt": True}, | |
| {"properties": | |
| [("target", 'FACE_SETS'), | |
| ("falloff_type", 'BOUNDARY_FACE_SET'), | |
| ("invert", False), | |
| ("use_mask_preserve", False), | |
| ("use_modify_active", True), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.face_set_change_visibility", | |
| {"type": 'H', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("mode", 'TOGGLE'), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.face_set_change_visibility", | |
| {"type": 'H', "value": 'PRESS'}, | |
| {"properties": | |
| [("mode", 'HIDE_ACTIVE'), | |
| ], | |
| }, | |
| ), | |
| ("paint.hide_show_all", | |
| {"type": 'H', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("action", 'SHOW'), | |
| ], | |
| }, | |
| ), | |
| ("paint.visibility_filter", | |
| {"type": 'PAGE_UP', "value": 'PRESS', "repeat": True}, | |
| {"properties": | |
| [("action", 'GROW'), | |
| ], | |
| }, | |
| ), | |
| ("paint.visibility_filter", | |
| {"type": 'PAGE_DOWN', "value": 'PRESS', "repeat": True}, | |
| {"properties": | |
| [("action", 'SHRINK'), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.face_set_edit", | |
| {"type": 'W', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("mode", 'GROW'), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.face_set_edit", | |
| {"type": 'W', "value": 'PRESS', "alt": True, "oskey": True}, | |
| {"properties": | |
| [("mode", 'SHRINK'), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.face_set_edit", | |
| {"type": 'W', "value": 'PRESS', "ctrl": True, "alt": True}, | |
| {"properties": | |
| [("mode", 'SHRINK'), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_0', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 0), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'ZERO', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 0), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_1', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 1), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'ONE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 1), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_2', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 2), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'TWO', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 2), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_3', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 3), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'THREE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 3), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_4', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 4), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'FOUR', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 4), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'NUMPAD_5', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("level", 5), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'FIVE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("level", 5), | |
| ("relative", False), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'ONE', "value": 'PRESS', "alt": True, "repeat": True}, | |
| {"properties": | |
| [("level", -1), | |
| ("relative", True), | |
| ], | |
| }, | |
| ), | |
| ("object.subdivision_set", | |
| {"type": 'TWO', "value": 'PRESS', "alt": True, "repeat": True}, | |
| {"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', "oskey": True}, | |
| {"properties": | |
| [("mode", 'INVERT'), | |
| ], | |
| }, | |
| ), | |
| ("paint.mask_flood_fill", | |
| {"type": 'I', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("mode", 'INVERT'), | |
| ], | |
| }, | |
| ), | |
| ("paint.mask_box_gesture", | |
| {"type": 'B', "value": 'PRESS'}, | |
| {"properties": | |
| [("mode", 'VALUE'), | |
| ("value", 0.0), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.dyntopo_detail_size_edit", {"type": 'R', "value": 'PRESS'}, None), | |
| ("sculpt.detail_flood_fill", {"type": 'R', "value": 'PRESS', "oskey": True}, None), | |
| ("sculpt.detail_flood_fill", {"type": 'R', "value": 'PRESS', "ctrl": True}, None), | |
| ("object.voxel_remesh", {"type": 'R', "value": 'PRESS', "oskey": True}, None), | |
| ("object.voxel_remesh", {"type": 'R', "value": 'PRESS', "ctrl": True}, None), | |
| ("object.voxel_size_edit", {"type": 'R', "value": 'PRESS'}, None), | |
| ("sculpt.sample_color", {"type": 'X', "value": 'PRESS', "shift": True}, None), | |
| ("paint.brush_colors_flip", {"type": 'X', "value": 'PRESS'}, None), | |
| ("brush.scale_size", | |
| {"type": 'LEFT_BRACKET', "value": 'PRESS', "repeat": True}, | |
| {"properties": | |
| [("scalar", 0.9), | |
| ], | |
| }, | |
| ), | |
| ("brush.scale_size", | |
| {"type": 'RIGHT_BRACKET', "value": 'PRESS', "repeat": True}, | |
| {"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', "oskey": 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), | |
| ], | |
| }, | |
| ), | |
| ("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', "oskey": True}, | |
| {"properties": | |
| [("mode", 'ROTATION'), | |
| ], | |
| }, | |
| ), | |
| ("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', "alt": True, "oskey": True}, | |
| {"properties": | |
| [("mode", 'ROTATION'), | |
| ("texmode", 'SECONDARY'), | |
| ], | |
| }, | |
| ), | |
| ("brush.stencil_control", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True}, | |
| {"properties": | |
| [("mode", 'ROTATION'), | |
| ("texmode", 'SECONDARY'), | |
| ], | |
| }, | |
| ), | |
| ("sculpt.set_pivot_position", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("mode", 'SURFACE'), | |
| ], | |
| }, | |
| ), | |
| ("wm.context_menu_enum", | |
| {"type": 'E', "value": 'PRESS', "alt": True}, | |
| {"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_pie", | |
| {"type": 'A', "value": 'PRESS'}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_sculpt_mask_edit_pie'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu_pie", | |
| {"type": 'A', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_sculpt_automasking_pie'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_menu_pie", | |
| {"type": 'W', "value": 'PRESS', "alt": True}, | |
| {"properties": | |
| [("name", 'VIEW3D_MT_sculpt_face_sets_edit_pie'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_panel", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS'}, | |
| {"properties": | |
| [("name", 'VIEW3D_PT_sculpt_context_menu'), | |
| ], | |
| }, | |
| ), | |
| ("wm.call_panel", | |
| {"type": 'APP', "value": 'PRESS'}, | |
| {"properties": | |
| [("name", 'VIEW3D_PT_sculpt_context_menu'), | |
| ], | |
| }, | |
| ), | |
| ("paint.brush_select", | |
| {"type": 'V', "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": 'T', "value": 'PRESS', "shift": True}, | |
| {"properties": | |
| [("sculpt_tool", 'SCRAPE'), | |
| ], | |
| }, | |
| ), | |
| ("paint.brush_select", | |
| {"type": 'C', "value": 'PRESS'}, | |
| {"properties": | |
| [("sculpt_tool", 'CLAY_STRIPS'), | |
| ], | |
| }, | |
| ), | |
| ("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), | |
| ], | |
| }, | |
| ), | |
| ("paint.mask_lasso_gesture", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "oskey": True}, | |
| {"properties": | |
| [("value", 1.0), | |
| ], | |
| }, | |
| ), | |
| ("paint.mask_lasso_gesture", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, | |
| {"properties": | |
| [("value", 1.0), | |
| ], | |
| }, | |
| ), | |
| ("paint.mask_lasso_gesture", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS', "oskey": True}, | |
| {"properties": | |
| [("value", 0.0), | |
| ], | |
| }, | |
| ), | |
| ("paint.mask_lasso_gesture", | |
| {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True}, | |
| {"properties": | |
| [("value", 0.0), | |
| ], | |
| }, | |
| ), | |
| ], | |
| }, | |
| ), | |
| ] | |
| if __name__ == "__main__": | |
| # Only add keywords that are supported. | |
| from bpy.app import version as blender_version | |
| keywords = {} | |
| if blender_version >= (2, 92, 0): | |
| keywords["keyconfig_version"] = keyconfig_version | |
| 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, | |
| **keywords, | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment