Overview
Reports path length in pixels for calculating chain links, fence pieces, movement speed, or placement offsets. It provides both the sum of all subpaths and details for one selected subpath.
Usage tips
- Total Length is the combined distance of all independent lines. Use it for total material quantity or aggregate processing.
- Subpath Length applies only to Selected Subpath. Use it when placement counts differ per line.
- Closed tells you whether the selected subpath forms a loop. It is useful for seamless placement and periodic processing.
- Length uses the same arc-length basis as the normalized/distance modes in
path_sampleand the pixel spacing inpath_array.
Common mistakes
- Total and subpath length differ: the document contains multiple subpaths. Select the same index in downstream nodes when only one line is intended.
- Length is zero: the path is missing, empty, or the selected subpath index does not exist.
- A closed path is longer than expected: the return segment from end to start is part of its actual travel distance.
Related nodes
path_arrayâ place images at fixed pixel intervals along the measured routepath_sampleâ retrieve position and direction by normalized progress or distancepath_boundsâ report the bounding rectangle and center instead of length