Path Mapper component operation understanding

Hello guys, ive been trying to understand the Path mapper component, recently ive tried to do some basic lexical operations, and in my understanding the {A} is a set where i get to shift the indices of it by the syntax {A-1} in my particular grasshopper script attached below

Would like to know what exactly is been happening here, thank you!

Elefront plugin is required, apologies for this as i ve referenced rhino geometry that , but ive internalized that into a BREP for you guys to begin

please find the .gh script below

box detecting top ,bottom faces and merging using path mapper.gh (27.1 KB)

you have shifted the path

here u get better understanding
how the 0 path is renamed -1 and like wise all are renamed so same path merge to join and get the region union work

Hi Vasanth,

This may help you understand the Path Mapper better: Rhino Grasshopper - Chapter 3: Advanced Data Structures 3.6.3

It is part of the documentation Rhino - Essential Algorithms and Data Structures for Grasshopper which is full of good stuff.

Regards
Jeremy

Thank you Rajeev Pulari , Jeremy !!