Closed set-soft closed 4 years ago
I prefer having an inverse flag - to disable the warnings. Usually, you don't know that you might miss something and it is good to be notified about it. When you omit the components on purpose, you can specify an option to suppress the warnings.
In general terms I agree with you, but this is a very particular case. The "*.back" components are 99% (or more) of the time things you won't include. You'll never want to include a back side SMD component and only in very particular cases you'll want to solder a through-hole component on the bottom layer. I don't have any problem on doing the flag the reverse because I will always use a wrapper to call pcbdraw, but forcing users to always include a flag doesn't seem like a good idea. Please tell me if you still wanting to invert it.
When I am thinking about it now, none of the flags should be needed. We state the backside is required in the library. Therefore, I expect that all the SMD components in the library have a symlink to an empty component for the backside. If it is not present, it is a bug in the library. IMHO adding the symlinks for the components is no trouble.
Ok, I added the links to dummy yaqwsx/PcbDraw-Lib#9 And made the option --no-warn-back
It looks good to me. Thank you for your contribution.
Messages about missing *.back component images are emitted only if the --warn-back command line option is specified.