Shape Sweep(シェイプ走査)
単純 shape をパスに沿って走らせ、白+アルファのマスク画像を作ります。
中級
Since P00
入力ポート
Path(パス)
走査ガイドとして使うパス
出力ポート
Image(画像)
パスに沿って生成された白+アルファマスク
パラメータ
| 名前 | 型 | デフォルト | 説明 |
|---|---|---|---|
| Width幅 | Int | `64` | 出力キャンバス幅 |
| Height高さ | Int | `64` | 出力キャンバス高さ |
| Sub-pathサブパス | Int | `0` | 使用するサブパス番号 |
| Shape図形 | Enum | `Circle` | stamp する shape |
| Shape Width図形幅 | Int | `8` | shape の幅 |
| Shape Height図形高さ | Int | `8` | shape の高さ |
| Samplesサンプル数 | Int | `16` | パス上に配置する stamp 数 |
| Start開始 | Float | `0.0` | 正規化開始位置 |
| End終了 | Float | `1.0` | 正規化終了位置 |
| Align To Pathパスに沿って回転 | Bool | `false` | 接線方向に合わせて回転するか |
| Rotation回転 | Angle | `0°` | 追加回転角度 |
技術詳細
sub_path_indexはParamHintで入力 path のサブパス数に追従します。align_to_pathをオンにすると、各 stamp が接線角に合わせて回転します。Circle/Ellipse/Rectangle/Diamondに対応します。
使用例
- 円を path に沿って走らせてマント cutout 用 mask を作る
- 矩形を
align_to_path=trueで走らせて帯状 mask を作る
💡 ヒント
- •`sub_path_index` は `ParamHint` で入力 path のサブパス数に追従します。
- •`align_to_path` をオンにすると、各 stamp が接線角に合わせて回転します。
- •`Circle` / `Ellipse` / `Rectangle` / `Diamond` に対応します。