Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Ability to remove(add) solder mask when using variants #476

Closed
Kedarius opened this issue Aug 4, 2023 · 5 comments
Closed

[FEATURE] Ability to remove(add) solder mask when using variants #476

Kedarius opened this issue Aug 4, 2023 · 5 comments
Assignees
Labels
discussion enhancement New feature or request

Comments

@Kedarius
Copy link

Kedarius commented Aug 4, 2023

I am using variants to create one board file for two variants of MCU. I've create this abomination in KiCad:
image
It is basically two footprints overlapping and I have two variants in KiBot: one with small MCU and one with large one. The variants do already remove the solder paste from paste layer which is great. I would like to be also specify that I want to remove the solder mask layer - effectively covering the unused pads with solder mask.
The reasoning is that I will be ordering few prototypes (of both variants) assembled from JLCPCB and I will need to do it as two separate jobs so I will be using different gerbers anyway - mainly because I do not want to have unused solder paste under the large one. So if the solder mask could be also removed would be great.

@Kedarius Kedarius added the enhancement New feature or request label Aug 4, 2023
@set-soft
Copy link
Member

set-soft commented Aug 4, 2023

Hi @Kedarius !

Hmmm ... it look tricky, the solder mask isn't something that simple.
What about adding apertures to the big component? So it removes the solder mask from the exact places where the smaller components are placed.

To achieve it in a simple way you could add the other 3 footprints to the bigger one. You'll have to work with the pin numbers so they match your design. So you'll get a footprint with the pads for the 4 components. Then you can easily overlap the 3 smaller components with the extra pads in the big one. Not sure if it will work, but is worth trying it.

You could also add a big aperture under the big component, but the smaller ones will be harder to solder.

@Kedarius
Copy link
Author

Kedarius commented Aug 4, 2023

I think I did not write it clear enough. For example these are the mentioned gerbers for the variant with the smaller MCU:
image
(orange=copper, red=mask, green=solder paste).
As you can see it works perfectly - the solder paste is removed from pads of the bigger footprint. All I would like to have is the same result for solder mask. I hoped that you could do the same transformation you do with solder paste but with soldermask....

But this is totally a low priority, it is just a wild idea I had when I was doing crazy things.....

set-soft added a commit that referenced this issue Aug 4, 2023
`remove_solder_mask_for_dnp` similar to `remove_solder_paste_for_dnp`
but applied to the solder mask apertures.

Closes #476
@set-soft
Copy link
Member

set-soft commented Aug 4, 2023

Hi @Kedarius !
Ok, the above patch adds the equivalent to remove_solder_paste_for_dnp, but applied to the solder mask layer.
Is disabled by default and named remove_solder_mask_for_dnp.
Internally is a little bit more complex because it also removes graphics. But this was implemented for global_remove_adhesive_for_dnp, so in the end it does both tasks.

@set-soft set-soft closed this as completed Aug 4, 2023
@Kedarius
Copy link
Author

Kedarius commented Aug 4, 2023

Wow, that was fast. I can confirm that it works perfectly:
image

And just to clarify, it removes graphics from solder mask layer only?

@set-soft
Copy link
Member

set-soft commented Aug 4, 2023

And just to clarify, it removes graphics from solder mask layer only?

Yes, from the solder mask. This is because you can add arbitrary apertures to footprints, they can be anything you want. In the case of paste you'll never add paste to something that isn't a pad, after all a pad is some copper you want to use to solder something. But with the solder mask is different. Not always 100% correlated to pads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants