0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Houdini Groom Tool(ブラシ)をHotKeyに登録

0
Posted at

Houdiniでガイドグルームを行う際に、ブラシツールをショートカットで切り替える方法。

以下のコードをToolsに登録。(Mayaで言う、シェルフの場所)
登録したToolsをホットキーに登録。

# comb / smooth / cut / lengthen / grab / part / scale / clump / frizz / bend
BRUSH = "sculpt"

import hou, groomingradial
sv = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer)
if sv is None:
    raise hou.Error("Scene Viewer が見つかりません。")
groomingradial.setTool(BRUSH, pane=sv)

2行目の内容を変えることで、それぞれのブラシに対応したショートカットになります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?