Giter Club home page Giter Club logo

change-mode-menu's Introduction

This Blender Add-on is a replacement for the CTRL-TAB mode change menu in the 3D Viewport. It is invoked by CTRL-W (can be changed in preferences keymap).

The entire addon is in init.py.

Operators

TLA_OT_changemode

Trivial operator that changes the active object's mode if it is different than the desired new mode

TLA_OT_invokemenu

Trivial operator that invokes the menu that contains the buttons to invoke the change mode operator with different arguments.

Menu

TLA_MT_changemode

The menu with entries for the modes. This tries to be a "smart" menu and only presents legitimate modes for the active object. It probably has some unintended omissions.

Usage

Type CTRL-W and select a new mode from the popup menu

Shortcut

To change the shortcut key, edit preferences and in the Keymap tab make sure that search mode is set to 'Name'. The easiest way to find the keymap entry is to type 'tla' and look for "Change Mode Menu". Open it and set the shortcut to whatever you want.

change-mode-menu's People

Contributors

martyfouts avatar

Stargazers

Niels Vaes avatar Eyad Ahmed avatar

Watchers

 avatar

change-mode-menu's Issues

Put operator under the Window category of the Keymap

Continuing the discussion from Stackexchange

Hi @martyfouts,

What I meant with moving the operator to Window is to change the category for the keymap item from 3D view to the Window category. This is where other addons, such as Machin3tools place their mode change pie menu.
afbeelding
If it resides under Window, it is possible to do mode changes in 2D views as well, although I am not sure whether that is currently a thing in Blender. It's not a big deal, as it mostly helps keeping the keymap organised. Users can move it themselves if need be.

Thanks for your help on this! Much appreciated!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.