使い方

参考:

スクリプトでマウスやキーボードのイベントを扱う方法 – Qiita

Using a key modifier with modal – Stack Overflow

How to define double shortcut like GG – Blender Stack Exchange

Call a modal operator and keep its interactivity – Blender Stack Exchange

Is it possible to create a modal operator with a modal keymap? – Blender Stack Exchange

about modal operators – Stack Overflow

click object event – Blender Stack Exchange

How to change modifier settings? – Blender Stack Exchange

連続してモーダルオペレーターを実行する

参考:

How to use alternate user inputs and automation – Blender Artists Community

How to structure modal operator correctly with macro like step by step execution? – Blender Stack Exchange

モーダルオペレーターに処理を引き継ぐ

class OBJECT_OT_do_something_and_translate(bpy.types.Operator)

    def execute(self, context):
        # ...
        # Do some operations here
        # ...
        return bpy.ops.transform.translate('INVOKE_DEFAULT')Code language: Python (python)

参考:

Call a modal operator from Python and keep its interactivity – Blender Stack Exchange

キーイベント

参考:

スクリプトでマウスやキーボードのイベントを扱う方法 – Qiita

How to have a script run from a keypress? – Blender Stack Exchange

How can I have Screencast display keys pressed during transform operations? – Blender Stack Exchange

記事をシェアする:
タグ:

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

Protected by reCAPTCHA