InteractiveHtmlBom icon indicating copy to clipboard operation
InteractiveHtmlBom copied to clipboard

Hide DNP val/ref

Open Unichord opened this issue 2 years ago • 6 comments

I tried to tinker around and look through old issues but I can't seem to find this feature. I'd like to have an option to hide text(s) only of components which are not going to be mounted, because of variants/DNP. It's already fine as it is, but I think it would be clearer to not even have unneccessary values on the board. Maybe it can be done more easily by hiding them directly from KiCad (temporarily)? For my use case, only values can be hidden, but maybe also hiding references can be useful to someone?

Also, the possibility to differentiate the colors of SMD/THT could be useful to many I believe. I don't know if that's feasible.

Sorry if these are already been asked, and thanks for all your work.

Unichord avatar Nov 22 '22 07:11 Unichord

Generally, ibom is trying to faithfully represent the as-designed board so that it matches what you're seeing when you have the actual, physical board in front of you for assembly or troubleshooting. Are you saying you want to hide silkscreen in ibom that's present on the real board?

Funkenjaeger avatar Nov 22 '22 13:11 Funkenjaeger

Well, I planned to leave References visible, which are physically on the board even if they are DNP, so I agree with you on that. Values, on the other hand, are not. Even if the DNP components are never highlighted when hovering over the component list, the Value of DNP components on the board can be misleading. I believe a switch to hide Values which are not actually on the board due to DNP/variants would be useful.

Unichord avatar Nov 22 '22 13:11 Unichord

I think it's not values that should be hidden but all of fabrication layer for footprints that are dnp.

Problem is with current architecture it's very unlikely to be implemented because graphics are processed before dnp components are determined.

Maybe in v3 or when/if the data format changes.

qu1ck avatar Nov 22 '22 14:11 qu1ck

That's a bummer, I'll wait patiently.

What about the different color for SMD and THT?

Unichord avatar Nov 22 '22 14:11 Unichord

There are already 6 different colors that pads can be rendered and not a lot of color space left to differentiate stuff in 2 themes and 3 highlight modes. I suggest you use the checkbox and mark when checked features to highlight whichever components you want.

qu1ck avatar Nov 23 '22 12:11 qu1ck

I see, well it's not a big deal anyway, just a suggestion. I was more interested in the hidden Value for DNPs. Thanks.

For anyone interested, as a workaround I'm using a priority field so as to sort THT components last.

Unichord avatar Nov 23 '22 12:11 Unichord