79342187

Date: 2025-01-09 10:13:16
Score: 1
Natty:
Report link

Have never seen an out of the box solution for what you're trying to do.

One novel solution would be:

  1. taking each corner in turn
  2. calculate the bearing and distance from that corner to where the intersection of the two offset lines would meet
  3. join all those points together into a new polygon

It would be fiddly and involve some math, though should be pretty robust, at least for shapes as complex as the one you've shown.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: James Beard