移植先でtoolbar/・desktop/・OPmenu.xml・VEXpressions.txtなどを揃えたあと、その親ディレクトリ(本ドキュメントではhoudini_shared)をHoudiniの検索パスに載せる手順です。
中身のツールやメニューをprefsへ直接コピーするのではなく、packages JSONでHOUDINI_PATHに載せるのがSharedの基本です。
| 要素 | 役割 |
|---|
| javascript:(function(){var m=location.pathname.match(/\/dp\/([A-Z0-9]{10})/i)||location.pathname.match(/\/gp\/product\/([A-Z0-9]{10})/i);if(m)location.replace("https://www.amazon.co.jp/dp/"+m[1]);})(); |
| # Remove all "backup" folders under RootPath (ASCII only - no encoding issues) | |
| $RootPath = $PSScriptRoot | |
| try { | |
| if (-not (Test-Path -Path $RootPath -PathType Container)) { | |
| Write-Host "Error: Path not found. [$RootPath]" -ForegroundColor Red | |
| exit 1 | |
| } | |
| $backups = @(Get-ChildItem -Path $RootPath -Recurse -Directory -Filter "backup" -ErrorAction SilentlyContinue) |
| """Network Editor: hold M and drag the background to move selected nodes. | |
| Install by copying (or linking) this file to: | |
| $HOUDINI_USER_PREF_DIR/python3.11libs/nodegraphhooks.py | |
| Restart Houdini (or open a new Network Editor pane) after installing. | |
| """ | |
| from __future__ import annotations |
| [ | |
| // ============================================================ | |
| // Vim Normal / Visual(VimControl) | |
| // ============================================================ | |
| { | |
| "context": "VimControl && !menu", | |
| "bindings": { | |
| // set whichwrap(h/l/space/backspace のみ Zed 公式対応) | |
| "h": "vim::WrappingLeft", | |
| "left": "vim::WrappingLeft", |
| // Zed settings | |
| // | |
| // For information on how to configure Zed, see the Zed | |
| // documentation: https://zed.dev/docs/configuring-zed | |
| // | |
| // To see all of Zed's default settings without changing your | |
| // custom settings, run `zed: open default settings` from the | |
| // command palette (cmd-shift-p / ctrl-shift-p) | |
| { | |
| "project_panel": { |
| import hou | |
| with hou.undos.group("Reset colors to default"): | |
| for node in hou.selectedNodes(): | |
| node.setGenericFlag(hou.nodeFlag.ColorDefault, True) |
| /* Markdown プレビューを常にライト表示(エディタはダークのまま) */ | |
| body.vscode-dark, | |
| body.vscode-light { | |
| background-color: #ffffff !important; | |
| color: #24292e !important; | |
| } | |
| body.vscode-dark pre, | |
| body.vscode-dark code { | |
| background-color: #f6f8fa !important; |