Part Design - Curved pattern

Hi!

Is there any way—programmatic, plugin extension, or otherwise—to create a curved part design pattern?

I'm using FreeCad to draw leather stitching patterns, and it works fine for the most part. However, I have to use the Draft workbenches path array when it comes to more complex shapes with curves.

Unfortunately, it's not ideal when I have to experiment with my design and adjust parametric sizes because the conversion from the draft to sketch is, afaik, one-way without any link to the formulas I use to create the draft.

Calculating the occurrences of the stitch holes on a path isn't an issue; it's pretty straightforward math. However, the stitching around the corners will inevitably break if I need to change any dimension.

Below is a screenshot of a sketched path along which I'd love to pattern-repeat the part design hole.

I would love to hear any ideas on how to go about this; thanks!

Sketch of a desired pattern path over padded part

Part structure