...or... A (really) old script shape-path.scm
It is in the zip here, with another script https://www.gimp-forum.net/attachment.php?aid=2538
I use it just because it is script-fu and I can load it quickly without closing Gimp
Using the star option, with a zero center radius produces spokes. All in one screenshot:
It is in the zip here, with another script https://www.gimp-forum.net/attachment.php?aid=2538
I use it just because it is script-fu and I can load it quickly without closing Gimp

Using the star option, with a zero center radius produces spokes. All in one screenshot: