This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| // ============================================================ | |
| // Vim Normal / Visual(VimControl) | |
| // ============================================================ | |
| { | |
| "context": "VimControl && !menu", | |
| "bindings": { | |
| // set whichwrap(h/l/space/backspace のみ Zed 公式対応) | |
| "h": "vim::WrappingLeft", | |
| "left": "vim::WrappingLeft", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import hou | |
| with hou.undos.group("Reset colors to default"): | |
| for node in hou.selectedNodes(): | |
| node.setGenericFlag(hou.nodeFlag.ColorDefault, True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function rm_bu { | |
| param( | |
| [string]$Path = "." | |
| ) | |
| Get-ChildItem -Path $Path -Recurse -Directory -Filter "backup" | | |
| Remove-Item -Recurse -Force | |
| Write-Host "[$(Resolve-Path $Path)] 以下の backup フォルダを削除しました。" -ForegroundColor Green | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import difflib | |
| import hou | |
| # Houdini に同梱の PySide を使う(PySide2 or PySide6) | |
| try: | |
| from PySide6 import QtCore, QtGui, QtWidgets | |
| except ImportError: | |
| from PySide2 import QtCore, QtGui, QtWidgets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import soptoolutils | |
| # この行で自分自身を生成しているため、ここをコメントアウトして自身のノード生成をキャンセルする | |
| # soptoolutils.genericTool(kwargs, '$HDA_NAME') | |
| # Create Null | |
| origin = soptoolutils.genericTool(kwargs, 'null', nodename='SET_DIR') | |
| # Create scatter | |
| scatter = soptoolutils.genericTool(kwargs, 'scatter') |
NewerOlder