Guideline for plugins

Testing the new PCM and it is awesome. It is pretty nice to have this new functionality.

Do we have any backed guidelines to create toolbar icons? This one looks pretty big. It is a small issue, but it is good to keep it in shape to keep the professional-looking.

image

Docs mention recommended size is 26x26.

Icon for my plugin predates this recommendation and the new icon set. I’ll see if I can make it 26x26 by next release.

1 Like

Cool. Maybe you can compare with the source icons just to check if the info is right.

There is one example here.

Some hints if you want your plugin icon to look “kicad-style” (not a requirement) are here: https://dev-docs.kicad.org/en/rules-guidelines/icon-design/

That 26x26 recommendation is out of date. The current size is 24x24. I’ll fix that…

3 Likes

Hey @qu1ck . You are also the main developer of the PCM, right? What happens when/if you fix this icon? Are we going to receive see a a notification of a new version of the plugin in the PCM window or something?

Yes, I designed and implemented most of it. There is no automatic update or notification functionality yet. You’ll have to check the package in PCM again or follow notifications on github/forum.

Ok. Do you have plans for such a thing?

My simple initial suggestion is that when opening the PCM, it could look online for new releases of the installed plugins and put a mark in the list near the entry to indicate this for the users.

Yes, probably something like that will be added at some point.

1 Like

I make my Icons at: 40px H 40px W. But, some I make Wider, as shown below…

There’s an Icon Size slider that sets the Size and homemade Icons get adjusted by it. Thus, it’s a good idea to set the slider First, then decide what size to make the Icons…

Also, FYI - I made a window-Pop-Up panel for some Plugins. I may get around to putting Icons in it… will see what winter months drive me to do…

This is interesting. Is this a private tool? Could you share it with us? What do these toolbar icons do? I am particularly interested in this coffee mug, I need a lot of coffee to work. haha

• Is this a private tool? - Yes
• Could I share? - I’ve posted some in the past, as well as Tip’s on how to do it… (search, if interested).

Everything started with understanding the “Simple” plugins then, the “Complex” plugins. Plenty of posts on them (pretty simple to do)

• Coffee Mug - does several thing but, example vid below shows updating comments (I have several different Notes & Comments, depending on Project…)

• What they do:
The fileNames indicate what they do… Screenshot below

• Generally,they do things like:
• Run Project Database’s (using my custom SQL-Lite DataBase, using Libre_Office_Base)
• Move and Tweak Footprint .mod files
• Move items to/from Layers
• Call & Run Python routines and Java routines, including Pop-Up’s
• Place Comments and Notes (and, upgrade them)
• Place Time & Date into PCB
• Run various Codes for testing…

Interesting. Thanks for showing it again.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.