Path Reverse

Path generation/manipulation node. Path Reverse creates or processes vector path data.

basic
Since P00

Input Ports

Path

向きをFlipするBezier path

Path

Output Ports

Path

向きがFlipしたPath

Path

Parameters

NameTypeDefaultDescription
ScopeEnum`All`Path全体をFlipするか、1 本のサブPathだけをFlipするか
Sub-pathInt0`scope = SubPath` のときだけ表示。FlipするサブPath番号

動作

  • scope = All

- すべてのサブPathの向きをflips

  • scope = SubPath

- 指定した 1 本のサブPathだけをFlipし、他のサブPathはそのまま残します

  • セグメントの並び順とハンドル方向を入れ替えて、元の曲線形状は保ったまま進行方向だけをflips
  • 閉じたサブPathは、閉じたまま向きだけがflips
  • 存在しないサブPath番号を指定した場合は、入力Pathをそのまま返します

Usage Examples

PathArray の進行方向を逆にする

[BezierPath] → [PathReverse] → [PathArray]

PathTangent の向きを反転する

[BezierPath] → [PathReverse] → [PathTangent]

穴の向きだけを反転する

[MultiPathEditor] → [PathReverse(scope: SubPath, sub_path_index: 1)] → [PathMask]

PathMask の「向きで穴を決める」で、内側ループだけ向きを変えたいときに使えます。

Notes

  • サブPathの並び順そのものは変わりません
  • sub_path_index のスライダー上限は、入力PathのサブPath数に応じてautomatically updatedされます

💡 Tips

  • サブPathの並び順そのものは変わりません
  • `sub_path_index` のスライダー上限は、入力PathのサブPath数に応じてautomatically updatedされます

Related Nodes

bezierpath
pathreverse
patharray
pathtangent
multipatheditor
pathmask
Path Reverse — PixPipeline Node Reference