[SOLVED] Smartcard contact (polygon with exposed pads)

Hi. I am designing a smartcard contact footprint.
I made it on Inkscape since the controls there are easier for me to use.
Then I am importing it with .dxf format
Then I am placing SMD pads right on top of the shapes. And I also drew the contour with the draw graphic polygon tool (filled)

I am disabling some layers to expose the copper, so it will be a touch contact instead of a soldering footprint.

This is how 3d viewer is showing my footprint

The pad does not propagate settings to the drawn polygon.
How can I achieve what I want (having the whole pad with the copper exposed)?

These are the settings I am currently using.

F.mask is covering the copper. What does unchecking do?

1 Like

Polygons are plain graphics, not tracks or pads, even if they are on a copper layer. I think you need custom shaped pads.

F.mask uncovers copper. It is inverted.

1 Like

Nice, guys! Then that is it.

I’ve duplicated the copper polygon which is an easy task (Ctrl+c, Ctrl-v), and then changed this copy to F.mask. Beautiful.

Well, still didn’t test this change in the board, but it looks promising.

Really quick test to check if pads can be connected. It looks it is working.

I love the 3d view, haha
image

Having read the thread, I still don’t understand why you didn’t create a custom shaped pad. The mask layer works normally for it.

2 Likes

Because it is not possible to import from .dxf to a pad. At least I don’t know how to do it.

Importing from Freecad or even Inkscape is a way better solution (for me) since these tools give me a bunch of controls that I know how to use instead of having to learn pretty simple controls (maybe not anymore).

Can I import a .dxf shape to a pad directly? I would love to have this feature.

You are not alone …

Inkscape → Save As SVG; KiCad File → Import → Graphics in the Footprint Editor works for me. I just don’t know how to draw irregular polygons in Inkscape, I tried with a rectangle.

Yes, this is what we are using.

And when you are importing something you have to specify a layer.

It would be good also to be able to specify “Pad” instead of just a single layer.

Sorry, but still I don’t understand. You can draw a polygon to SVG and import it to the footprint editor copper layer. You can put a normal pad inside the polygon. You can Edit Pad as Graphic Shapes and combine the polygon and the pad to form a new custom shaped pad which has the Mask layer active. What is still missing? Or am I missing something?

Yeah, the fact that you never said the part about Edit Pad as Graphic Shapes and combining polygon+pad until now, just that you could import the graphics. It’s not obvious if you haven’t done it before.

You should take some time to read the thread. If there is something that you don’t understand, please ask, I will be glad to answer. But the way you are replying does not help anyone.

I am going to summarize the thread here.

I am importing a polygon with the “Import Graphics” menu from a .dxf file generated externally on Inkscape.

Then I have to select a layer that is going to receive this polygon. In this case, this layer is the F.cu.

Then, I am adding a PAD on top of the polygon to transform and extend it to the polygon. So, the whole polygon is going to be the PAD. I thought it was enough, but it is not for my goal.

What I wanted is to have the copper of the polygon visible (exposed, without a solder mask applied). Then I tried to change the properties of the PAD to try to improve the polygon the way I wanted. It was not working.

But, after some users commenting here, I realized that a PAD is a compound of layers. Then what I did was to replicate the polygon changing the layer to be a layer that is F.mask. And that is it.

Problem solved.

The other way to solve it (which may be preferable) is to convert the shape to a custom pad. After you add the pad on top of the first polygon, use Ctrl+E (edit pad as graphic shapes) command twice. It should absorb the polygon into the pad, and then you get things like solder mask and paste control without having to duplicate the polygon onto different layers.

4 Likes

Awesome! Maybe this is what @eelik was trying to show then. Thanks for explaining this.

Yes it was. …

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