From 455459678bcbf4a4254829efa96d77cf5857457a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=A0=80?= Date: Thu, 5 Oct 2023 07:16:48 +0000 Subject: [PATCH] =?UTF-8?q?=E2=A0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../⚪ИN⚪Ⓞ⚪ꖴ⚪✤⚪ᗩ⚪ᴥ⚪ᑎ⚪ᕤᕦ⚪ꖴ⚪ꗳ⚪ИN⚪Ⓞ⚪ᑐᑕ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ᑐᑕ⚪Ⓞ⚪ИN⚪ꗳ⚪ꖴ⚪ᕤᕦ⚪ᑎ⚪ᴥ⚪ᗩ⚪✤⚪ꖴ⚪Ⓞ⚪ИN⚪/C/USERS/ADMINISTRATOR/APPDATA/ROAMING/BLENDER FOUNDATION/BLENDER/2.79/SCRIPTS/PRESETS/KEYCONFIG/O_97_2_O_2_79_O.PY | 707 ++++++++++++++++++ 1 file changed, 707 insertions(+) create mode 100644 ⚪ᔓᔕ⚪ᴥ⚪ᗱᗴ⚪ᙁ⚪ᗩ⚪✤⚪ᔓᔕ⚪ИN⚪ꖴ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ꖴ⚪ИN⚪ᔓᔕ⚪✤⚪ᗩ⚪ᙁ⚪ᗱᗴ⚪ᴥ⚪ᔓᔕ⚪/⚪ᗩ⚪I⚪ᗝ⚪І⚪Ẏ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪Ẏ⚪І⚪ᗝ⚪I⚪ᗩ⚪/⚪ЭЄ⚪ᗩ⚪Н⚪ߦ⚪ᗱᗴ⚪ᙏ⚪ЭЄ⚪Ⓞ⚪ߦ⚪✤⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪✤⚪ߦ⚪Ⓞ⚪ЭЄ⚪ᙏ⚪ᗱᗴ⚪ߦ⚪Н⚪ᗩ⚪ЭЄ⚪/⚪ᴥ⚪ᗱᗴ⚪ᗝ⚪ИN⚪ᗱᗴ⚪ᙁ⚪⚭⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪⚭⚪ᙁ⚪ᗱᗴ⚪ИN⚪ᗝ⚪ᗱᗴ⚪ᴥ⚪/⚪ИN⚪Ⓞ⚪ꖴ⚪✤⚪ᗩ⚪ᴥ⚪ᑎ⚪ᕤᕦ⚪ꖴ⚪ꗳ⚪ИN⚪Ⓞ⚪ᑐᑕ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ᑐᑕ⚪Ⓞ⚪ИN⚪ꗳ⚪ꖴ⚪ᕤᕦ⚪ᑎ⚪ᴥ⚪ᗩ⚪✤⚪ꖴ⚪Ⓞ⚪ИN⚪/C/USERS/ADMINISTRATOR/APPDATA/ROAMING/BLENDER FOUNDATION/BLENDER/2.79/SCRIPTS/PRESETS/KEYCONFIG/O_97_2_O_2_79_O.PY diff --git a/⚪ᔓᔕ⚪ᴥ⚪ᗱᗴ⚪ᙁ⚪ᗩ⚪✤⚪ᔓᔕ⚪ИN⚪ꖴ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ꖴ⚪ИN⚪ᔓᔕ⚪✤⚪ᗩ⚪ᙁ⚪ᗱᗴ⚪ᴥ⚪ᔓᔕ⚪/⚪ᗩ⚪I⚪ᗝ⚪І⚪Ẏ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪Ẏ⚪І⚪ᗝ⚪I⚪ᗩ⚪/⚪ЭЄ⚪ᗩ⚪Н⚪ߦ⚪ᗱᗴ⚪ᙏ⚪ЭЄ⚪Ⓞ⚪ߦ⚪✤⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪✤⚪ߦ⚪Ⓞ⚪ЭЄ⚪ᙏ⚪ᗱᗴ⚪ߦ⚪Н⚪ᗩ⚪ЭЄ⚪/⚪ᴥ⚪ᗱᗴ⚪ᗝ⚪ИN⚪ᗱᗴ⚪ᙁ⚪⚭⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪⚭⚪ᙁ⚪ᗱᗴ⚪ИN⚪ᗝ⚪ᗱᗴ⚪ᴥ⚪/⚪ИN⚪Ⓞ⚪ꖴ⚪✤⚪ᗩ⚪ᴥ⚪ᑎ⚪ᕤᕦ⚪ꖴ⚪ꗳ⚪ИN⚪Ⓞ⚪ᑐᑕ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ᑐᑕ⚪Ⓞ⚪ИN⚪ꗳ⚪ꖴ⚪ᕤᕦ⚪ᑎ⚪ᴥ⚪ᗩ⚪✤⚪ꖴ⚪Ⓞ⚪ИN⚪/C/USERS/ADMINISTRATOR/APPDATA/ROAMING/BLENDER FOUNDATION/BLENDER/2.79/SCRIPTS/PRESETS/KEYCONFIG/O_97_2_O_2_79_O.PY b/⚪ᔓᔕ⚪ᴥ⚪ᗱᗴ⚪ᙁ⚪ᗩ⚪✤⚪ᔓᔕ⚪ИN⚪ꖴ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ꖴ⚪ИN⚪ᔓᔕ⚪✤⚪ᗩ⚪ᙁ⚪ᗱᗴ⚪ᴥ⚪ᔓᔕ⚪/⚪ᗩ⚪I⚪ᗝ⚪І⚪Ẏ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪Ẏ⚪І⚪ᗝ⚪I⚪ᗩ⚪/⚪ЭЄ⚪ᗩ⚪Н⚪ߦ⚪ᗱᗴ⚪ᙏ⚪ЭЄ⚪Ⓞ⚪ߦ⚪✤⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪✤⚪ߦ⚪Ⓞ⚪ЭЄ⚪ᙏ⚪ᗱᗴ⚪ߦ⚪Н⚪ᗩ⚪ЭЄ⚪/⚪ᴥ⚪ᗱᗴ⚪ᗝ⚪ИN⚪ᗱᗴ⚪ᙁ⚪⚭⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪⚭⚪ᙁ⚪ᗱᗴ⚪ИN⚪ᗝ⚪ᗱᗴ⚪ᴥ⚪/⚪ИN⚪Ⓞ⚪ꖴ⚪✤⚪ᗩ⚪ᴥ⚪ᑎ⚪ᕤᕦ⚪ꖴ⚪ꗳ⚪ИN⚪Ⓞ⚪ᑐᑕ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ᑐᑕ⚪Ⓞ⚪ИN⚪ꗳ⚪ꖴ⚪ᕤᕦ⚪ᑎ⚪ᴥ⚪ᗩ⚪✤⚪ꖴ⚪Ⓞ⚪ИN⚪/C/USERS/ADMINISTRATOR/APPDATA/ROAMING/BLENDER FOUNDATION/BLENDER/2.79/SCRIPTS/PRESETS/KEYCONFIG/O_97_2_O_2_79_O.PY new file mode 100644 index 00000000..1976c5f3 --- /dev/null +++ b/⚪ᔓᔕ⚪ᴥ⚪ᗱᗴ⚪ᙁ⚪ᗩ⚪✤⚪ᔓᔕ⚪ИN⚪ꖴ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ꖴ⚪ИN⚪ᔓᔕ⚪✤⚪ᗩ⚪ᙁ⚪ᗱᗴ⚪ᴥ⚪ᔓᔕ⚪/⚪ᗩ⚪I⚪ᗝ⚪І⚪Ẏ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪Ẏ⚪І⚪ᗝ⚪I⚪ᗩ⚪/⚪ЭЄ⚪ᗩ⚪Н⚪ߦ⚪ᗱᗴ⚪ᙏ⚪ЭЄ⚪Ⓞ⚪ߦ⚪✤⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪✤⚪ߦ⚪Ⓞ⚪ЭЄ⚪ᙏ⚪ᗱᗴ⚪ߦ⚪Н⚪ᗩ⚪ЭЄ⚪/⚪ᴥ⚪ᗱᗴ⚪ᗝ⚪ИN⚪ᗱᗴ⚪ᙁ⚪⚭⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪⚭⚪ᙁ⚪ᗱᗴ⚪ИN⚪ᗝ⚪ᗱᗴ⚪ᴥ⚪/⚪ИN⚪Ⓞ⚪ꖴ⚪✤⚪ᗩ⚪ᴥ⚪ᑎ⚪ᕤᕦ⚪ꖴ⚪ꗳ⚪ИN⚪Ⓞ⚪ᑐᑕ⚪◌⚪◌⚪◌⚪◌⚪◌⚪◌⚪ᑐᑕ⚪Ⓞ⚪ИN⚪ꗳ⚪ꖴ⚪ᕤᕦ⚪ᑎ⚪ᴥ⚪ᗩ⚪✤⚪ꖴ⚪Ⓞ⚪ИN⚪/C/USERS/ADMINISTRATOR/APPDATA/ROAMING/BLENDER FOUNDATION/BLENDER/2.79/SCRIPTS/PRESETS/KEYCONFIG/O_97_2_O_2_79_O.PY @@ -0,0 +1,707 @@ +import bpy +import os + +def kmi_props_setattr(kmi_props, attr, value): + try: + setattr(kmi_props, attr, value) + except AttributeError: + print("Warning: property '%s' not found in keymap item '%s'" % + (attr, kmi_props.__class__.__name__)) + except Exception as e: + print("Warning: %r" % e) + +wm = bpy.context.window_manager +kc = wm.keyconfigs.new(os.path.splitext(os.path.basename(__file__))[0]) + +# Map Screen +km = kc.keymaps.new('Screen', space_type='EMPTY', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('pillar.browser', 'A', 'PRESS', shift=True, ctrl=True, alt=True) +kmi = km.keymap_items.new('pillar.browser', 'A', 'PRESS', shift=True, ctrl=True, alt=True) +kmi = km.keymap_items.new('pillar.browser', 'A', 'PRESS', shift=True, ctrl=True, alt=True) +kmi = km.keymap_items.new('pillar.browser', 'A', 'PRESS', shift=True, ctrl=True, alt=True) +kmi = km.keymap_items.new('screen.animation_step', 'TIMER0', 'ANY', any=True) +kmi = km.keymap_items.new('screen.region_blend', 'TIMERREGION', 'ANY', any=True) +kmi = km.keymap_items.new('screen.screen_set', 'RIGHT_ARROW', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'delta', 1) +kmi = km.keymap_items.new('screen.screen_set', 'LEFT_ARROW', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'delta', -1) +kmi = km.keymap_items.new('screen.screen_full_area', 'UP_ARROW', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('screen.screen_full_area', 'DOWN_ARROW', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('screen.screen_full_area', 'SPACE', 'PRESS', shift=True) +kmi = km.keymap_items.new('screen.screen_full_area', 'F10', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'use_hide_panels', True) +kmi = km.keymap_items.new('screen.screenshot', 'F3', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('screen.screencast', 'F3', 'PRESS', alt=True) +kmi = km.keymap_items.new('screen.space_context_cycle', 'TAB', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'direction', 'NEXT') +kmi = km.keymap_items.new('screen.space_context_cycle', 'TAB', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'direction', 'PREV') +kmi = km.keymap_items.new('screen.region_quadview', 'Q', 'PRESS', ctrl=True, alt=True) +kmi = km.keymap_items.new('screen.repeat_history', 'F3', 'PRESS') +kmi = km.keymap_items.new('screen.repeat_last', 'R', 'PRESS', shift=True) +kmi = km.keymap_items.new('screen.region_flip', 'F5', 'PRESS') +kmi = km.keymap_items.new('screen.redo_last', 'F6', 'PRESS') +kmi = km.keymap_items.new('script.reload', 'F8', 'PRESS') +kmi = km.keymap_items.new('file.execute', 'RET', 'PRESS') +kmi = km.keymap_items.new('file.execute', 'NUMPAD_ENTER', 'PRESS') +kmi = km.keymap_items.new('file.cancel', 'ESC', 'PRESS') +kmi = km.keymap_items.new('ed.undo', 'Z', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('ed.redo', 'Z', 'PRESS', shift=True, ctrl=True) +kmi = km.keymap_items.new('ed.undo_history', 'Z', 'PRESS', ctrl=True, alt=True) +kmi = km.keymap_items.new('render.render', 'F12', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'use_viewport', True) +kmi = km.keymap_items.new('render.render', 'F12', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'animation', True) +kmi_props_setattr(kmi.properties, 'use_viewport', True) +kmi = km.keymap_items.new('render.view_cancel', 'ESC', 'PRESS') +kmi = km.keymap_items.new('render.view_show', 'F11', 'PRESS') +kmi = km.keymap_items.new('render.play_rendered_anim', 'F11', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('screen.userpref_show', 'U', 'PRESS', shift=True, alt=True) +kmi = km.keymap_items.new('none', 'A', 'PRESS') +kmi = km.keymap_items.new('none', 'A', 'PRESS') +kmi = km.keymap_items.new('render.opengl', 'F12', 'PRESS') + +# Map Frames +km = kc.keymaps.new('Frames', space_type='EMPTY', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('screen.frame_offset', 'UP_ARROW', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'delta', 10) +kmi = km.keymap_items.new('screen.frame_offset', 'DOWN_ARROW', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'delta', -10) +kmi = km.keymap_items.new('screen.frame_offset', 'LEFT_ARROW', 'PRESS') +kmi_props_setattr(kmi.properties, 'delta', -1) +kmi = km.keymap_items.new('screen.frame_offset', 'RIGHT_ARROW', 'PRESS') +kmi_props_setattr(kmi.properties, 'delta', 1) +kmi = km.keymap_items.new('screen.frame_offset', 'WHEELDOWNMOUSE', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'delta', 1) +kmi = km.keymap_items.new('screen.frame_offset', 'WHEELUPMOUSE', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'delta', -1) +kmi = km.keymap_items.new('screen.frame_jump', 'UP_ARROW', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'end', True) +kmi = km.keymap_items.new('screen.frame_jump', 'DOWN_ARROW', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'end', False) +kmi = km.keymap_items.new('screen.frame_jump', 'RIGHT_ARROW', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'end', True) +kmi = km.keymap_items.new('screen.frame_jump', 'LEFT_ARROW', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'end', False) +kmi = km.keymap_items.new('screen.keyframe_jump', 'UP_ARROW', 'PRESS') +kmi_props_setattr(kmi.properties, 'next', True) +kmi = km.keymap_items.new('screen.keyframe_jump', 'DOWN_ARROW', 'PRESS') +kmi_props_setattr(kmi.properties, 'next', False) +kmi = km.keymap_items.new('screen.keyframe_jump', 'MEDIA_LAST', 'PRESS') +kmi_props_setattr(kmi.properties, 'next', True) +kmi = km.keymap_items.new('screen.keyframe_jump', 'MEDIA_FIRST', 'PRESS') +kmi_props_setattr(kmi.properties, 'next', False) +kmi = km.keymap_items.new('screen.animation_play', 'SPACE', 'PRESS') +kmi = km.keymap_items.new('screen.animation_play', 'A', 'PRESS', shift=True, alt=True) +kmi_props_setattr(kmi.properties, 'reverse', True) +kmi = km.keymap_items.new('screen.animation_cancel', 'ESC', 'PRESS') +kmi = km.keymap_items.new('screen.animation_play', 'MEDIA_PLAY', 'PRESS') +kmi = km.keymap_items.new('screen.animation_cancel', 'MEDIA_STOP', 'PRESS') + +# Map 3D View Generic +km = kc.keymaps.new('3D View Generic', space_type='VIEW_3D', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('view3d.properties', 'N', 'PRESS') +kmi = km.keymap_items.new('view3d.toolshelf', 'T', 'PRESS') +kmi = km.keymap_items.new('cycles.preview_pause', 'PAUSE', 'PRESS') +kmi = km.keymap_items.new('cycles.preview_pause', 'PAUSE', 'PRESS') + +# Map Object Non-modal +km = kc.keymaps.new('Object Non-modal', space_type='EMPTY', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('object.mode_set', 'TAB', 'PRESS') +kmi_props_setattr(kmi.properties, 'mode', 'EDIT') +kmi_props_setattr(kmi.properties, 'toggle', True) +kmi = km.keymap_items.new('object.mode_set', 'ACCENT_GRAVE', 'PRESS') +kmi_props_setattr(kmi.properties, 'mode', 'EDIT') +kmi_props_setattr(kmi.properties, 'toggle', True) +kmi = km.keymap_items.new('object.mode_set', 'V', 'PRESS') +kmi_props_setattr(kmi.properties, 'mode', 'VERTEX_PAINT') +kmi_props_setattr(kmi.properties, 'toggle', True) +kmi = km.keymap_items.new('object.origin_set', 'C', 'PRESS', shift=True, ctrl=True, alt=True) + +# Map 3D View +km = kc.keymaps.new('3D View', space_type='VIEW_3D', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('wm.call_menu', 'Q', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_master_material') +kmi = km.keymap_items.new('view3d.manipulator', 'LEFTMOUSE', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'release_confirm', True) +kmi_props_setattr(kmi.properties, 'use_accurate', False) +kmi_props_setattr(kmi.properties, 'use_planar_constraint', True) +kmi = km.keymap_items.new('view3d.manipulator', 'LEFTMOUSE', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'release_confirm', True) +kmi_props_setattr(kmi.properties, 'use_accurate', True) +kmi_props_setattr(kmi.properties, 'use_planar_constraint', False) +kmi = km.keymap_items.new('view3d.manipulator', 'LEFTMOUSE', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'release_confirm', True) +kmi_props_setattr(kmi.properties, 'use_accurate', False) +kmi_props_setattr(kmi.properties, 'use_planar_constraint', False) +kmi = km.keymap_items.new('view3d.cursor3d', 'ACTIONMOUSE', 'PRESS') +kmi = km.keymap_items.new('view3d.rotate', 'MIDDLEMOUSE', 'PRESS', alt=True) +kmi = km.keymap_items.new('view3d.zoom', 'MIDDLEMOUSE', 'PRESS', shift=True) +kmi = km.keymap_items.new('view3d.dolly', 'MIDDLEMOUSE', 'PRESS', shift=True, ctrl=True) +kmi = km.keymap_items.new('view3d.view_selected', 'NUMPAD_PERIOD', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'use_all_regions', True) +kmi = km.keymap_items.new('view3d.view_selected', 'NUMPAD_PERIOD', 'PRESS') +kmi_props_setattr(kmi.properties, 'use_all_regions', False) +kmi = km.keymap_items.new('view3d.view_lock_to_active', 'NUMPAD_PERIOD', 'PRESS', shift=True) +kmi = km.keymap_items.new('view3d.view_lock_clear', 'NUMPAD_PERIOD', 'PRESS', alt=True) +kmi = km.keymap_items.new('view3d.navigate', 'F', 'PRESS', shift=True) +kmi = km.keymap_items.new('view3d.smoothview', 'TIMER1', 'ANY', any=True) +kmi = km.keymap_items.new('view3d.rotate', 'TRACKPADPAN', 'ANY') +kmi = km.keymap_items.new('view3d.rotate', 'MOUSEROTATE', 'ANY') +kmi = km.keymap_items.new('view3d.move', 'MIDDLEMOUSE', 'PRESS') +kmi = km.keymap_items.new('view3d.zoom', 'TRACKPADZOOM', 'ANY') +kmi = km.keymap_items.new('view3d.zoom', 'TRACKPADPAN', 'ANY', ctrl=True) +kmi = km.keymap_items.new('view3d.zoom', 'NUMPAD_PLUS', 'PRESS') +kmi_props_setattr(kmi.properties, 'delta', 1) +kmi = km.keymap_items.new('view3d.zoom', 'NUMPAD_MINUS', 'PRESS') +kmi_props_setattr(kmi.properties, 'delta', -1) +kmi = km.keymap_items.new('view3d.zoom', 'EQUAL', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'delta', 1) +kmi = km.keymap_items.new('view3d.zoom', 'MINUS', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'delta', -1) +kmi = km.keymap_items.new('view3d.zoom', 'WHEELINMOUSE', 'PRESS') +kmi_props_setattr(kmi.properties, 'delta', 1) +kmi = km.keymap_items.new('view3d.zoom', 'WHEELOUTMOUSE', 'PRESS') +kmi_props_setattr(kmi.properties, 'delta', -1) +kmi = km.keymap_items.new('view3d.dolly', 'NUMPAD_PLUS', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'delta', 1) +kmi = km.keymap_items.new('view3d.dolly', 'NUMPAD_MINUS', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'delta', -1) +kmi = km.keymap_items.new('view3d.dolly', 'EQUAL', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'delta', 1) +kmi = km.keymap_items.new('view3d.dolly', 'MINUS', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'delta', -1) +kmi = km.keymap_items.new('view3d.zoom_camera_1_to_1', 'NUMPAD_ENTER', 'PRESS', shift=True) +kmi = km.keymap_items.new('view3d.view_center_camera', 'HOME', 'PRESS') +kmi = km.keymap_items.new('view3d.view_center_lock', 'HOME', 'PRESS') +kmi = km.keymap_items.new('view3d.view_center_cursor', 'HOME', 'PRESS', alt=True) +kmi = km.keymap_items.new('view3d.view_center_pick', 'F', 'PRESS', alt=True) +kmi = km.keymap_items.new('view3d.view_all', 'HOME', 'PRESS') +kmi_props_setattr(kmi.properties, 'center', False) +kmi = km.keymap_items.new('view3d.view_all', 'HOME', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'use_all_regions', True) +kmi_props_setattr(kmi.properties, 'center', False) +kmi = km.keymap_items.new('view3d.view_all', 'C', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'center', True) +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_0', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'CAMERA') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_1', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'FRONT') +kmi = km.keymap_items.new('view3d.view_orbit', 'NUMPAD_2', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'ORBITDOWN') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_3', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'RIGHT') +kmi = km.keymap_items.new('view3d.view_orbit', 'NUMPAD_4', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'ORBITLEFT') +kmi = km.keymap_items.new('view3d.view_persportho', 'NUMPAD_5', 'PRESS') +kmi = km.keymap_items.new('view3d.view_orbit', 'NUMPAD_6', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'ORBITRIGHT') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_7', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'TOP') +kmi = km.keymap_items.new('view3d.view_orbit', 'NUMPAD_8', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'ORBITUP') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_1', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'BACK') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_3', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'LEFT') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_7', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'BOTTOM') +kmi = km.keymap_items.new('view3d.view_pan', 'NUMPAD_2', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'PANDOWN') +kmi = km.keymap_items.new('view3d.view_pan', 'NUMPAD_4', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'PANLEFT') +kmi = km.keymap_items.new('view3d.view_pan', 'NUMPAD_6', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'PANRIGHT') +kmi = km.keymap_items.new('view3d.view_pan', 'NUMPAD_8', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'PANUP') +kmi = km.keymap_items.new('view3d.view_roll', 'NUMPAD_4', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'LEFT') +kmi = km.keymap_items.new('view3d.view_roll', 'NUMPAD_6', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'RIGHT') +kmi = km.keymap_items.new('view3d.view_orbit', 'NUMPAD_9', 'PRESS') +kmi_props_setattr(kmi.properties, 'angle', 3.1415927410125732) +kmi_props_setattr(kmi.properties, 'type', 'ORBITRIGHT') +kmi = km.keymap_items.new('view3d.view_pan', 'WHEELUPMOUSE', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'PANRIGHT') +kmi = km.keymap_items.new('view3d.view_pan', 'WHEELDOWNMOUSE', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'PANLEFT') +kmi = km.keymap_items.new('view3d.view_pan', 'WHEELUPMOUSE', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'PANUP') +kmi = km.keymap_items.new('view3d.view_pan', 'WHEELDOWNMOUSE', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'PANDOWN') +kmi = km.keymap_items.new('view3d.view_orbit', 'WHEELUPMOUSE', 'PRESS', ctrl=True, alt=True) +kmi_props_setattr(kmi.properties, 'type', 'ORBITLEFT') +kmi = km.keymap_items.new('view3d.view_orbit', 'WHEELDOWNMOUSE', 'PRESS', ctrl=True, alt=True) +kmi_props_setattr(kmi.properties, 'type', 'ORBITRIGHT') +kmi = km.keymap_items.new('view3d.view_orbit', 'WHEELUPMOUSE', 'PRESS', shift=True, alt=True) +kmi_props_setattr(kmi.properties, 'type', 'ORBITUP') +kmi = km.keymap_items.new('view3d.view_orbit', 'WHEELDOWNMOUSE', 'PRESS', shift=True, alt=True) +kmi_props_setattr(kmi.properties, 'type', 'ORBITDOWN') +kmi = km.keymap_items.new('view3d.view_roll', 'WHEELUPMOUSE', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'LEFT') +kmi = km.keymap_items.new('view3d.view_roll', 'WHEELDOWNMOUSE', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'RIGHT') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_1', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'FRONT') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_3', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'RIGHT') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_7', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'TOP') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_1', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'BACK') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_3', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'LEFT') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.viewnumpad', 'NUMPAD_7', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'type', 'BOTTOM') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.localview', 'NUMPAD_SLASH', 'PRESS') +kmi = km.keymap_items.new('view3d.ndof_orbit_zoom', 'NDOF_MOTION', 'ANY') +kmi = km.keymap_items.new('view3d.ndof_orbit', 'NDOF_MOTION', 'ANY', ctrl=True) +kmi = km.keymap_items.new('view3d.ndof_pan', 'NDOF_MOTION', 'ANY', shift=True) +kmi = km.keymap_items.new('view3d.ndof_all', 'NDOF_MOTION', 'ANY', shift=True, ctrl=True) +kmi = km.keymap_items.new('view3d.view_selected', 'NDOF_BUTTON_FIT', 'PRESS') +kmi_props_setattr(kmi.properties, 'use_all_regions', False) +kmi = km.keymap_items.new('view3d.view_roll', 'NDOF_BUTTON_ROLL_CCW', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'LEFT') +kmi = km.keymap_items.new('view3d.view_roll', 'NDOF_BUTTON_ROLL_CCW', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'RIGHT') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_FRONT', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'FRONT') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_BACK', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'BACK') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_LEFT', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'LEFT') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_RIGHT', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'RIGHT') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_TOP', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'TOP') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_BOTTOM', 'PRESS') +kmi_props_setattr(kmi.properties, 'type', 'BOTTOM') +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_FRONT', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'FRONT') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_RIGHT', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'RIGHT') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.viewnumpad', 'NDOF_BUTTON_TOP', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'type', 'TOP') +kmi_props_setattr(kmi.properties, 'align_active', True) +kmi = km.keymap_items.new('view3d.layers', 'ACCENT_GRAVE', 'PRESS') +kmi_props_setattr(kmi.properties, 'nr', 0) +kmi = km.keymap_items.new('view3d.layers', 'ONE', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 1) +kmi = km.keymap_items.new('view3d.layers', 'TWO', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 2) +kmi = km.keymap_items.new('view3d.layers', 'THREE', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 3) +kmi = km.keymap_items.new('view3d.layers', 'FOUR', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 4) +kmi = km.keymap_items.new('view3d.layers', 'FIVE', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 5) +kmi = km.keymap_items.new('view3d.layers', 'SIX', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 6) +kmi = km.keymap_items.new('view3d.layers', 'SEVEN', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 7) +kmi = km.keymap_items.new('view3d.layers', 'EIGHT', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 8) +kmi = km.keymap_items.new('view3d.layers', 'NINE', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 9) +kmi = km.keymap_items.new('view3d.layers', 'ZERO', 'PRESS', any=True) +kmi_props_setattr(kmi.properties, 'nr', 10) +kmi = km.keymap_items.new('wm.context_toggle_enum', 'Z', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.viewport_shade') +kmi_props_setattr(kmi.properties, 'value_1', 'MATERIAL') +kmi_props_setattr(kmi.properties, 'value_2', 'WIREFRAME') +kmi = km.keymap_items.new('wm.context_toggle_enum', 'Z', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.viewport_shade') +kmi_props_setattr(kmi.properties, 'value_1', 'SOLID') +kmi_props_setattr(kmi.properties, 'value_2', 'TEXTURED') +kmi = km.keymap_items.new('view3d.toggle_render', 'Z', 'PRESS', shift=True) +kmi = km.keymap_items.new('view3d.select', 'SELECTMOUSE', 'PRESS') +kmi_props_setattr(kmi.properties, 'extend', False) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi_props_setattr(kmi.properties, 'toggle', False) +kmi_props_setattr(kmi.properties, 'center', False) +kmi_props_setattr(kmi.properties, 'enumerate', False) +kmi_props_setattr(kmi.properties, 'object', False) +kmi = km.keymap_items.new('view3d.select', 'SELECTMOUSE', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'extend', False) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi_props_setattr(kmi.properties, 'toggle', True) +kmi_props_setattr(kmi.properties, 'center', False) +kmi_props_setattr(kmi.properties, 'enumerate', False) +kmi_props_setattr(kmi.properties, 'object', False) +kmi = km.keymap_items.new('view3d.select', 'SELECTMOUSE', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'extend', False) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi_props_setattr(kmi.properties, 'toggle', False) +kmi_props_setattr(kmi.properties, 'center', True) +kmi_props_setattr(kmi.properties, 'enumerate', False) +kmi_props_setattr(kmi.properties, 'object', True) +kmi = km.keymap_items.new('view3d.select', 'SELECTMOUSE', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'extend', False) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi_props_setattr(kmi.properties, 'toggle', False) +kmi_props_setattr(kmi.properties, 'center', False) +kmi_props_setattr(kmi.properties, 'enumerate', True) +kmi_props_setattr(kmi.properties, 'object', False) +kmi = km.keymap_items.new('view3d.select', 'SELECTMOUSE', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'extend', True) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi_props_setattr(kmi.properties, 'toggle', True) +kmi_props_setattr(kmi.properties, 'center', True) +kmi_props_setattr(kmi.properties, 'enumerate', False) +kmi_props_setattr(kmi.properties, 'object', False) +kmi = km.keymap_items.new('view3d.select', 'SELECTMOUSE', 'PRESS', ctrl=True, alt=True) +kmi_props_setattr(kmi.properties, 'extend', False) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi_props_setattr(kmi.properties, 'toggle', False) +kmi_props_setattr(kmi.properties, 'center', True) +kmi_props_setattr(kmi.properties, 'enumerate', True) +kmi_props_setattr(kmi.properties, 'object', False) +kmi = km.keymap_items.new('view3d.select', 'SELECTMOUSE', 'PRESS', shift=True, alt=True) +kmi_props_setattr(kmi.properties, 'extend', False) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi_props_setattr(kmi.properties, 'toggle', True) +kmi_props_setattr(kmi.properties, 'center', False) +kmi_props_setattr(kmi.properties, 'enumerate', True) +kmi_props_setattr(kmi.properties, 'object', False) +kmi = km.keymap_items.new('view3d.select', 'SELECTMOUSE', 'PRESS', shift=True, ctrl=True, alt=True) +kmi_props_setattr(kmi.properties, 'extend', False) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi_props_setattr(kmi.properties, 'toggle', True) +kmi_props_setattr(kmi.properties, 'center', True) +kmi_props_setattr(kmi.properties, 'enumerate', True) +kmi_props_setattr(kmi.properties, 'object', False) +kmi = km.keymap_items.new('view3d.select_border', 'B', 'PRESS') +kmi = km.keymap_items.new('view3d.select_lasso', 'EVT_TWEAK_A', 'ANY', ctrl=True) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi = km.keymap_items.new('view3d.select_lasso', 'EVT_TWEAK_A', 'ANY', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'deselect', True) +kmi = km.keymap_items.new('view3d.select_circle', 'C', 'PRESS') +kmi = km.keymap_items.new('view3d.clip_border', 'B', 'PRESS', alt=True) +kmi = km.keymap_items.new('view3d.zoom_border', 'B', 'PRESS', shift=True) +kmi = km.keymap_items.new('view3d.render_border', 'B', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'camera_only', True) +kmi = km.keymap_items.new('view3d.render_border', 'B', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'camera_only', False) +kmi = km.keymap_items.new('view3d.clear_render_border', 'B', 'PRESS', ctrl=True, alt=True) +kmi = km.keymap_items.new('view3d.camera_to_view', 'NUMPAD_0', 'PRESS', ctrl=True, alt=True) +kmi = km.keymap_items.new('view3d.object_as_camera', 'NUMPAD_0', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('wm.call_menu', 'S', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'VIEW3D_MT_snap') +kmi = km.keymap_items.new('view3d.copybuffer', 'C', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('view3d.pastebuffer', 'V', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('wm.context_set_enum', 'COMMA', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'BOUNDING_BOX_CENTER') +kmi = km.keymap_items.new('wm.context_set_enum', 'COMMA', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'MEDIAN_POINT') +kmi = km.keymap_items.new('wm.context_toggle', 'COMMA', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.use_pivot_point_align') +kmi = km.keymap_items.new('wm.context_toggle', 'SPACE', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.show_manipulator') +kmi = km.keymap_items.new('wm.context_set_enum', 'PERIOD', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'CURSOR') +kmi = km.keymap_items.new('wm.context_set_enum', 'PERIOD', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'INDIVIDUAL_ORIGINS') +kmi = km.keymap_items.new('wm.context_set_enum', 'PERIOD', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'ACTIVE_ELEMENT') +kmi = km.keymap_items.new('transform.translate', 'G', 'PRESS') +kmi = km.keymap_items.new('transform.translate', 'EVT_TWEAK_S', 'ANY') +kmi = km.keymap_items.new('transform.rotate', 'R', 'PRESS') +kmi = km.keymap_items.new('transform.resize', 'S', 'PRESS') +kmi = km.keymap_items.new('transform.bend', 'W', 'PRESS', shift=True) +kmi = km.keymap_items.new('transform.tosphere', 'S', 'PRESS', shift=True, alt=True) +kmi = km.keymap_items.new('transform.shear', 'S', 'PRESS', shift=True, ctrl=True, alt=True) +kmi = km.keymap_items.new('transform.select_orientation', 'SPACE', 'PRESS', alt=True) +kmi = km.keymap_items.new('transform.create_orientation', 'SPACE', 'PRESS', ctrl=True, alt=True) +kmi_props_setattr(kmi.properties, 'use', True) +kmi = km.keymap_items.new('transform.mirror', 'M', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('wm.context_toggle', 'TAB', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'data_path', 'tool_settings.use_snap') +kmi = km.keymap_items.new('wm.context_menu_enum', 'TAB', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'data_path', 'tool_settings.snap_element') +kmi = km.keymap_items.new('transform.translate', 'T', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'texture_space', True) +kmi = km.keymap_items.new('transform.resize', 'T', 'PRESS', shift=True, alt=True) +kmi_props_setattr(kmi.properties, 'texture_space', True) +kmi = km.keymap_items.new('transform.skin_resize', 'A', 'PRESS', ctrl=True) + +# Map View2D Buttons List +km = kc.keymaps.new('View2D Buttons List', space_type='EMPTY', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('view2d.scroller_activate', 'LEFTMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.scroller_activate', 'MIDDLEMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.pan', 'MIDDLEMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.pan', 'TRACKPADPAN', 'ANY') +kmi = km.keymap_items.new('view2d.scroll_down', 'WHEELDOWNMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.scroll_up', 'WHEELUPMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.scroll_down', 'PAGE_DOWN', 'PRESS') +kmi_props_setattr(kmi.properties, 'page', True) +kmi = km.keymap_items.new('view2d.scroll_up', 'PAGE_UP', 'PRESS') +kmi_props_setattr(kmi.properties, 'page', True) +kmi = km.keymap_items.new('view2d.zoom', 'MIDDLEMOUSE', 'ANY', shift=True) +kmi = km.keymap_items.new('view2d.zoom', 'MIDDLEMOUSE', 'ANY', shift=True) +kmi = km.keymap_items.new('view2d.zoom_out', 'NUMPAD_MINUS', 'PRESS') +kmi = km.keymap_items.new('view2d.zoom_in', 'NUMPAD_PLUS', 'PRESS') +kmi = km.keymap_items.new('view2d.reset', 'HOME', 'PRESS') + +# Map Image +km = kc.keymaps.new('Image', space_type='IMAGE_EDITOR', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('image.view_all', 'HOME', 'PRESS') +kmi = km.keymap_items.new('image.view_all', 'HOME', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'fit_view', True) +kmi = km.keymap_items.new('image.view_selected', 'NUMPAD_PERIOD', 'PRESS') +kmi = km.keymap_items.new('image.view_pan', 'MIDDLEMOUSE', 'PRESS') +kmi = km.keymap_items.new('image.view_pan', 'TRACKPADPAN', 'ANY') +kmi = km.keymap_items.new('image.view_all', 'NDOF_BUTTON_FIT', 'PRESS') +kmi = km.keymap_items.new('image.view_ndof', 'NDOF_MOTION', 'ANY') +kmi = km.keymap_items.new('image.view_zoom_in', 'WHEELINMOUSE', 'PRESS') +kmi = km.keymap_items.new('image.view_zoom_out', 'WHEELOUTMOUSE', 'PRESS') +kmi = km.keymap_items.new('image.view_zoom_in', 'NUMPAD_PLUS', 'PRESS') +kmi = km.keymap_items.new('image.view_zoom_out', 'NUMPAD_MINUS', 'PRESS') +kmi = km.keymap_items.new('image.view_zoom', 'MIDDLEMOUSE', 'ANY', shift=True) +kmi = km.keymap_items.new('image.view_zoom', 'MIDDLEMOUSE', 'ANY', shift=True) +kmi = km.keymap_items.new('image.view_zoom_border', 'B', 'PRESS', shift=True) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_8', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'ratio', 8.0) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_4', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'ratio', 4.0) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_2', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'ratio', 2.0) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_8', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'ratio', 8.0) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_4', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'ratio', 4.0) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_2', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'ratio', 2.0) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_1', 'PRESS') +kmi_props_setattr(kmi.properties, 'ratio', 1.0) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_2', 'PRESS') +kmi_props_setattr(kmi.properties, 'ratio', 0.5) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_4', 'PRESS') +kmi_props_setattr(kmi.properties, 'ratio', 0.25) +kmi = km.keymap_items.new('image.view_zoom_ratio', 'NUMPAD_8', 'PRESS') +kmi_props_setattr(kmi.properties, 'ratio', 0.125) +kmi = km.keymap_items.new('image.change_frame', 'LEFTMOUSE', 'PRESS') +kmi = km.keymap_items.new('image.sample', 'ACTIONMOUSE', 'PRESS') +kmi = km.keymap_items.new('image.curves_point_set', 'ACTIONMOUSE', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'point', 'BLACK_POINT') +kmi = km.keymap_items.new('image.curves_point_set', 'ACTIONMOUSE', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'point', 'WHITE_POINT') +kmi = km.keymap_items.new('object.mode_set', 'TAB', 'PRESS') +kmi_props_setattr(kmi.properties, 'mode', 'EDIT') +kmi_props_setattr(kmi.properties, 'toggle', True) +kmi = km.keymap_items.new('wm.context_set_int', 'ONE', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.image.render_slots.active_index') +kmi_props_setattr(kmi.properties, 'value', 0) +kmi = km.keymap_items.new('wm.context_set_int', 'TWO', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.image.render_slots.active_index') +kmi_props_setattr(kmi.properties, 'value', 1) +kmi = km.keymap_items.new('wm.context_set_int', 'THREE', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.image.render_slots.active_index') +kmi_props_setattr(kmi.properties, 'value', 2) +kmi = km.keymap_items.new('wm.context_set_int', 'FOUR', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.image.render_slots.active_index') +kmi_props_setattr(kmi.properties, 'value', 3) +kmi = km.keymap_items.new('wm.context_set_int', 'FIVE', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.image.render_slots.active_index') +kmi_props_setattr(kmi.properties, 'value', 4) +kmi = km.keymap_items.new('wm.context_set_int', 'SIX', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.image.render_slots.active_index') +kmi_props_setattr(kmi.properties, 'value', 5) +kmi = km.keymap_items.new('wm.context_set_int', 'SEVEN', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.image.render_slots.active_index') +kmi_props_setattr(kmi.properties, 'value', 6) +kmi = km.keymap_items.new('wm.context_set_int', 'EIGHT', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.image.render_slots.active_index') +kmi_props_setattr(kmi.properties, 'value', 7) +kmi = km.keymap_items.new('wm.context_set_enum', 'COMMA', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'CENTER') +kmi = km.keymap_items.new('wm.context_set_enum', 'COMMA', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'MEDIAN') +kmi = km.keymap_items.new('wm.context_set_enum', 'PERIOD', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'CURSOR') +kmi = km.keymap_items.new('image.render_border', 'B', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('image.clear_render_border', 'B', 'PRESS', ctrl=True, alt=True) + +# Map Clip Editor +km = kc.keymaps.new('Clip Editor', space_type='CLIP_EDITOR', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('clip.view_pan', 'MIDDLEMOUSE', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('clip.view_pan', 'TRACKPADPAN', 'ANY') +kmi = km.keymap_items.new('clip.view_zoom', 'MIDDLEMOUSE', 'ANY', shift=True) +kmi = km.keymap_items.new('clip.view_zoom', 'MIDDLEMOUSE', 'ANY', shift=True) +kmi = km.keymap_items.new('clip.view_zoom_in', 'WHEELINMOUSE', 'PRESS') +kmi = km.keymap_items.new('clip.view_zoom_out', 'WHEELOUTMOUSE', 'PRESS') +kmi = km.keymap_items.new('clip.view_zoom_in', 'NUMPAD_PLUS', 'PRESS') +kmi = km.keymap_items.new('clip.view_zoom_out', 'NUMPAD_MINUS', 'PRESS') +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_8', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'ratio', 8.0) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_4', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'ratio', 4.0) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_2', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'ratio', 2.0) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_8', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'ratio', 8.0) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_4', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'ratio', 4.0) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_2', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'ratio', 2.0) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_1', 'PRESS') +kmi_props_setattr(kmi.properties, 'ratio', 1.0) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_2', 'PRESS') +kmi_props_setattr(kmi.properties, 'ratio', 0.5) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_4', 'PRESS') +kmi_props_setattr(kmi.properties, 'ratio', 0.25) +kmi = km.keymap_items.new('clip.view_zoom_ratio', 'NUMPAD_8', 'PRESS') +kmi_props_setattr(kmi.properties, 'ratio', 0.125) +kmi = km.keymap_items.new('clip.view_all', 'HOME', 'PRESS') +kmi = km.keymap_items.new('clip.view_all', 'F', 'PRESS') +kmi_props_setattr(kmi.properties, 'fit_view', True) +kmi = km.keymap_items.new('clip.view_selected', 'NUMPAD_PERIOD', 'PRESS') +kmi = km.keymap_items.new('clip.view_all', 'NDOF_BUTTON_FIT', 'PRESS') +kmi = km.keymap_items.new('clip.view_ndof', 'NDOF_MOTION', 'ANY') +kmi = km.keymap_items.new('clip.frame_jump', 'LEFT_ARROW', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'position', 'PATHSTART') +kmi = km.keymap_items.new('clip.frame_jump', 'RIGHT_ARROW', 'PRESS', shift=True, ctrl=True) +kmi_props_setattr(kmi.properties, 'position', 'PATHEND') +kmi = km.keymap_items.new('clip.frame_jump', 'LEFT_ARROW', 'PRESS', shift=True, alt=True) +kmi_props_setattr(kmi.properties, 'position', 'FAILEDPREV') +kmi = km.keymap_items.new('clip.frame_jump', 'RIGHT_ARROW', 'PRESS', shift=True, alt=True) +kmi_props_setattr(kmi.properties, 'position', 'PATHSTART') +kmi = km.keymap_items.new('clip.change_frame', 'LEFTMOUSE', 'PRESS') +kmi = km.keymap_items.new('clip.select', 'SELECTMOUSE', 'PRESS') +kmi_props_setattr(kmi.properties, 'extend', False) +kmi = km.keymap_items.new('clip.select', 'SELECTMOUSE', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'extend', True) +kmi = km.keymap_items.new('clip.select_all', 'A', 'PRESS') +kmi_props_setattr(kmi.properties, 'action', 'TOGGLE') +kmi = km.keymap_items.new('clip.select_all', 'I', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'action', 'INVERT') +kmi = km.keymap_items.new('clip.select_border', 'B', 'PRESS') +kmi = km.keymap_items.new('clip.select_circle', 'C', 'PRESS') +kmi = km.keymap_items.new('wm.call_menu', 'G', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'name', 'CLIP_MT_select_grouped') +kmi = km.keymap_items.new('clip.select_lasso', 'EVT_TWEAK_A', 'ANY', ctrl=True, alt=True) +kmi_props_setattr(kmi.properties, 'deselect', False) +kmi = km.keymap_items.new('clip.select_lasso', 'EVT_TWEAK_A', 'ANY', shift=True, ctrl=True, alt=True) +kmi_props_setattr(kmi.properties, 'deselect', True) +kmi = km.keymap_items.new('clip.add_marker_slide', 'LEFTMOUSE', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('clip.delete_marker', 'DEL', 'PRESS', shift=True) +kmi = km.keymap_items.new('clip.delete_marker', 'X', 'PRESS', shift=True) +kmi = km.keymap_items.new('clip.slide_marker', 'LEFTMOUSE', 'PRESS') +kmi = km.keymap_items.new('clip.disable_markers', 'D', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'action', 'TOGGLE') +kmi = km.keymap_items.new('clip.delete_track', 'DEL', 'PRESS') +kmi = km.keymap_items.new('clip.delete_track', 'X', 'PRESS') +kmi = km.keymap_items.new('clip.lock_tracks', 'L', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'action', 'LOCK') +kmi = km.keymap_items.new('clip.lock_tracks', 'L', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'action', 'UNLOCK') +kmi = km.keymap_items.new('clip.hide_tracks', 'H', 'PRESS') +kmi_props_setattr(kmi.properties, 'unselected', False) +kmi = km.keymap_items.new('clip.hide_tracks', 'H', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'unselected', True) +kmi = km.keymap_items.new('clip.hide_tracks_clear', 'H', 'PRESS', alt=True) +kmi = km.keymap_items.new('clip.slide_plane_marker', 'ACTIONMOUSE', 'PRESS') +kmi = km.keymap_items.new('clip.keyframe_insert', 'I', 'PRESS') +kmi = km.keymap_items.new('clip.keyframe_delete', 'I', 'PRESS', alt=True) +kmi = km.keymap_items.new('clip.join_tracks', 'J', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('wm.call_menu', 'W', 'PRESS') +kmi_props_setattr(kmi.properties, 'name', 'CLIP_MT_tracking_specials') +kmi = km.keymap_items.new('wm.context_toggle', 'L', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.lock_selection') +kmi = km.keymap_items.new('wm.context_toggle', 'D', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.show_disabled') +kmi = km.keymap_items.new('wm.context_toggle', 'S', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.show_marker_search') +kmi = km.keymap_items.new('wm.context_toggle', 'M', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.use_mute_footage') +kmi = km.keymap_items.new('transform.translate', 'G', 'PRESS') +kmi = km.keymap_items.new('transform.translate', 'EVT_TWEAK_S', 'ANY') +kmi = km.keymap_items.new('transform.resize', 'S', 'PRESS') +kmi = km.keymap_items.new('transform.rotate', 'R', 'PRESS') +kmi = km.keymap_items.new('clip.clear_track_path', 'T', 'PRESS', alt=True) +kmi_props_setattr(kmi.properties, 'action', 'REMAINED') +kmi_props_setattr(kmi.properties, 'clear_active', False) +kmi = km.keymap_items.new('clip.clear_track_path', 'T', 'PRESS', shift=True) +kmi_props_setattr(kmi.properties, 'action', 'UPTO') +kmi_props_setattr(kmi.properties, 'clear_active', False) +kmi = km.keymap_items.new('clip.clear_track_path', 'T', 'PRESS', shift=True, alt=True) +kmi_props_setattr(kmi.properties, 'action', 'ALL') +kmi_props_setattr(kmi.properties, 'clear_active', False) +kmi = km.keymap_items.new('clip.cursor_set', 'ACTIONMOUSE', 'PRESS') +kmi = km.keymap_items.new('wm.context_set_enum', 'COMMA', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'BOUNDING_BOX_CENTER') +kmi = km.keymap_items.new('wm.context_set_enum', 'COMMA', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'MEDIAN_POINT') +kmi = km.keymap_items.new('wm.context_set_enum', 'PERIOD', 'PRESS') +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'CURSOR') +kmi = km.keymap_items.new('wm.context_set_enum', 'PERIOD', 'PRESS', ctrl=True) +kmi_props_setattr(kmi.properties, 'data_path', 'space_data.pivot_point') +kmi_props_setattr(kmi.properties, 'value', 'INDIVIDUAL_ORIGINS') +kmi = km.keymap_items.new('clip.copy_tracks', 'C', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('clip.paste_tracks', 'V', 'PRESS', ctrl=True) + +# Map View2D +km = kc.keymaps.new('View2D', space_type='EMPTY', region_type='WINDOW', modal=False) + +kmi = km.keymap_items.new('view2d.scroller_activate', 'LEFTMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.scroller_activate', 'MIDDLEMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.pan', 'MIDDLEMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.scroll_right', 'WHEELDOWNMOUSE', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('view2d.scroll_left', 'WHEELUPMOUSE', 'PRESS', ctrl=True) +kmi = km.keymap_items.new('view2d.scroll_down', 'WHEELDOWNMOUSE', 'PRESS', shift=True) +kmi = km.keymap_items.new('view2d.scroll_up', 'WHEELUPMOUSE', 'PRESS', shift=True) +kmi = km.keymap_items.new('view2d.ndof', 'NDOF_MOTION', 'ANY') +kmi = km.keymap_items.new('view2d.zoom_out', 'WHEELOUTMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.zoom_in', 'WHEELINMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.zoom_out', 'NUMPAD_MINUS', 'PRESS') +kmi = km.keymap_items.new('view2d.zoom_in', 'NUMPAD_PLUS', 'PRESS') +kmi = km.keymap_items.new('view2d.smoothview', 'TIMER1', 'ANY', any=True) +kmi = km.keymap_items.new('view2d.scroll_down', 'WHEELDOWNMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.scroll_up', 'WHEELUPMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.scroll_right', 'WHEELDOWNMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.scroll_left', 'WHEELUPMOUSE', 'PRESS') +kmi = km.keymap_items.new('view2d.zoom', 'MIDDLEMOUSE', 'ANY', shift=True) +kmi = km.keymap_items.new('view2d.zoom_border', 'B', 'PRESS', shift=True) +