scallopTemplate.jsx
This script will place dots on selected object’s anchors.
Run the script on the selected object and select both the object and the newly generated scallop template. Then use Illustrator’s transform Subtract from Shape Area to cut out the scallops.
Current version only works with single non-composite objects.