Creating Scallops

I have a need to create A LOT of scallop shapes like these:

In the simple case the scallop follows a straight line and both edges are a bar,

Moving up in complexity (as shown) the scallop is an angle that follows a circle. This creates the problem of having the pattern having an integral interval so it will match all the way around.

This is a circle pattern. I made this by getting the length of the circle, subdividing, and creating a one set of teeth and repeating.

To do the horizontal teeth, I extruded and intersected.

To the vertical teeth, I did Scale2d to create shapes that expand and contract around the center. Then I lofted and did a boolean split.

Then I have closed curves that are not circles.

Doing each one individually is rather tedious. I was wondering if there is a simpler way.

Grasshopper can be used to automate such a task.