Complex PCB edge with matching margin

I thought this technique was discussed in detail, with illustrations, 2 or 3 times in the last year or so but I can only find an old post of mine : Creating “zone outlines” for odd-shaped PCB’s

I don’t think you need to do anything more than define the fill-zone as a rectangle circumscribing the board outline, and fill it. The algorithm places copper up to the board outline, less the “clearance” parameter. You may have to be careful that the outline on the Edge.Cuts layer is a strictly closed contour.

The clever trick of adjusting the board-edge clearance isn’t too difficult in practice. Select everything on the Edge.Cuts layer, change the line width, do the fill, then re-set the line width if necessary.

I am NOT a programmer but my superannuated brain (which learned “Fortran II” over half a century ago) wonders if this feature could be easily implemented by defining the Edge.Cut as a special kind of Net Class, with an associated Clearance parameter just like any other Net Class.

Dale