Thank you for your feedback.
This looks great, have you posted info at the Kicad forum too ?
Done it just now but there is premoderation filter there.
Can you give an example of how to define a part with (eg) user-defined courtyard, and with user-defined differing PAD Stacks on F.Paste and F.Mask ?
The convention to user-define is usually if nothing is specified, then use the copper as master, but if the user defines something on F.Mask, that replaces the F.Cu information etc
Courtyard outline can not be customized at the moment but there is possibility to use subset of SVG-path, which is implemented for silkscreen layer.
For example, see
https://github.com/qeda/library/blob/master/amass/xt60pb.yaml (
housing.silkscreen field). It will produce pattern provided in attachment.
Regarding user-defined pad stacks, now only standard pad stacks are supported (SMD top&bottom and through-hole), mask is controlled globally for overall library with
pattern.clearance.padToMask configuation parameter.
But I am collecting various use cases in order to add them to my tool in future. So if we will find appropriate way to define these parameters, they are to be added in further releases.