Creating setback on a lot plan

Hi everyone! I need help regarding creating offset on this planar curve. I can only do offsetting by list item, but it can only cater limited number of sides.

my goal is the following:

  1. each side must have different easements
  2. the script can cater wide range of number of sides.

Variable Offset_2023Dec11a.gh (16.6 KB)

Variable Offset cluster: