Has anyone written a stroke path/make parallel path script yet?

Has anyone written a stroke path/make parallel path script for glyphs yet? Please share it if you have.

The Filter > Offset Curve does something similar. Did you try it?

This filter could have also implemented a direction option (left/right) not only default “both”. It’d be awesome…

It only does “Both” for open paths. If the path is closed, it only offsets outwards.