As you dive deeper into SU, the hidden gem (or Ruby…) really is the documented, free automation library. It gives an enormous potential to automate otherwise boresome or impossible tasks. And now that AI can generate well functioning SU snippets, the automation is even more accessible.
BUT ! Once you have your snipped, or soon-to-be extension, today you need to copy it as a .rb file to a directory, restart sketcup, find it in the menu “Extensions”, and for changes, restart again. This is fine for proper extensions but for snippets that may even be for single use, it gets tiring.
SO here the free idea: give the user a menu with a tree-like strukture. Ability to organise snippets into categories, subcategories, then paste the snippet into a syntax-sensitive editor (giving you proper highlighting), maybe even ability to add metatags etc. Make it able to import / export snippet libraries.
And the final clue: add a shortcut to SU called “execute snippet” (or “macro”). Exactly in the way VBA works for MS Office. Without doing a proper signed add-in, you can add 10 lines of code and do amazing things.
I don’t see this compete with proper extensions, free or for-pay, as the advanced trigonometry won’t be there. But for things like "tag all objects with x,y dimensions = 100x200 with tag ‘test’ " there just isn’t an extension.
EDIT: Became aware of the “Eneroth Script Runner”, but this is not really making snippets an integrated part of SU in a smart way. Although it is better than nothing.