Shape Sweep
Shape generation node. Shape Sweep creates geometric shapes.
intermediate
Since P00
Input Ports
Path
走査ガイドとして使うPath
Output Ports
Image
Pathに沿って生成された白+アルファマスク
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Width | Int | `64` | 出力キャンバスWidth |
| Height | Int | `64` | 出力キャンバスHeight |
| Sub-path | Int | `0` | 使用するサブPath番号 |
| Shape | Enum | `Circle` | stamp する shape |
| Shape Width | Int | `8` | shape のWidth |
| Shape Height | Int | `8` | shape のHeight |
| Samples | Int | `16` | Path上に配置する stamp 数 |
| Start | Float | `0.0` | 正規化開始位置 |
| End | Float | `1.0` | 正規化終了位置 |
| Align To Path | Bool | `false` | 接線方向に合わせてRotateするか |
| Rotation | Angle | `0°` | 追加Rotate角度 |
Technical Details
sub_path_indexはParamHintで入力 path のサブPath数に追従します。align_to_pathをオンにすると、各 stamp が接線角に合わせてRotateします。Circle/Ellipse/Rectangle/Diamondに対応します。
Usage Examples
- 円を path に沿って走らせてマント cutout 用 mask を作る
- 矩形を
align_to_path=trueで走らせて帯状 mask を作る
💡 Tips
- •`sub_path_index` は `ParamHint` で入力 path のサブPath数に追従します。
- •`align_to_path` をオンにすると、各 stamp が接線角に合わせてRotateします。
- •`Circle` / `Ellipse` / `Rectangle` / `Diamond` に対応します。