Studio Yotsuba
Back to Node List

Path Endpoint Extend

path_extend

Extend open path endpoints in their tangent direction without moving existing anchors

Reviewed
Guide available

Input Ports

NameTypeDescription
Path
path
Path
Required
Path containing the open endpoints to extend

Output Ports

NameTypeDescription
Path
path
Path
Path with straight tangent extensions added to selected endpoints

Parameters

NameTypeDefaultRangeDescription / Options
Scope
scope
Enum
SubPath—

Choose one sub-path for precise adjustment, or all open sub-paths when every loose end needs the same extension.

  • AllOpenAllOpen
    Extend every open, non-empty sub-path; closed and unusable paths stay unchanged with a warning
  • SubPathSubPath
    Extend only the selected sub-path
Sub-path
sub_path_index
Int
00–255

Sub-path index to extend (0 = first)

Endpoints
endpoints
Enum
End—

Which endpoint to extend. Start and End follow the path's drawing direction; use Path Reverse upstream when that direction should be swapped.

  • StartStart
    Add a segment before the original start, pointing outward from its tangent
  • EndEnd
    Add a segment after the original end, pointing outward from its tangent
  • BothBoth
    Extend both the start and end by the same length
Length
length
Float
40–256 / step 0.5

Straight extension length in path pixels. Start around 1–4px for endpoint cleanup and 8–16px for poles or cables. Use Path Trim instead of negative values.

Overview

Adds a straight segment in the outgoing direction at a path endpoint without moving any existing anchor. Use it when a post, cable, branch, fence, or decorative line needs to reach just a few pixels farther. It always lengthens the path; it does not trim it.

Usage tips

  • A common chain is multi_path_editor or bezier_path → path_extend → path_stroke. Try 1–4px for endpoint correction or 8–16px for a deliberate extension.
  • Start with Selected Subpath and End. Use All Open Subpaths only when every independent line should receive the same extension.
  • Start and End follow drawing direction. Switch the endpoint for the opposite side, or put path_reverse upstream when downstream progress should reverse as well.
  • If the endpoint handle overlaps its anchor, direction is inferred from the nearest different point. Align the end handle first when an exact tangent is important.
  • A30 height and width curves are redistributed over the new total length and hold their end value through the extension. Re-author the curve afterward if the extension must taper.

Common mistakes

  • The extension points the wrong way: correct the endpoint handle upstream or draw a short guide segment that makes the intended tangent explicit.
  • Nothing changes: check for length 0, an empty path, or a path whose points all coincide.
  • A closed outline does not extend: closed paths have no free endpoint. Split it into an open path first, or use path_offset when the entire outline should move.
  • The path should become shorter: negative length is unsupported; use path_trim.

Related nodes

  • path_trim — shorten or extract a section of a path
  • path_reverse — exchange start/end and progression direction
  • path_connect — join two separate paths instead of extending one
  • path_offset — move the whole path along its normal
  • path_stroke — inspect the extension as line art
Back to Node List