# Handle non rectangle footprint pads

**URL:** <https://librepcb.discourse.group/t/handle-non-rectangle-footprint-pads/143>\
**Category:** Libraries\
**Created:** [October 8, 2019, 6:56pm UTC](https://librepcb.discourse.group/t/handle-non-rectangle-footprint-pads/143 "2019-10-08T18:56:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doom](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@Doom](https://librepcb.discourse.group/u/Doom)\
**Post date:** [October 8, 2019, 6:56pm UTC](https://librepcb.discourse.group/t/handle-non-rectangle-footprint-pads/143/1 "2019-10-08T18:56:40Z")

</div>

How should we handle non rectangle footprint pads ?

 ![image](https://global.discourse-cdn.com/free1/uploads/librepcb1/original/1X/ae46ed7ab8f249c757667d4bc9f52e1e3cb2318c.png)

I tried to make 2 pads touching each other, but I can’t set the same number.

My new idea was to make a rectangle pad and to make a top copper area.  
Is it the good way ?  
what shape should it be ? (full or just a rectangle close to the official pad ?

---

<div class="post-metadata">

**Author:** ![Doom](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@Doom](https://librepcb.discourse.group/u/Doom)\
**Post date:** [October 8, 2019, 8:50pm UTC](https://librepcb.discourse.group/t/handle-non-rectangle-footprint-pads/143/2 "2019-10-08T20:50:11Z")

</div>

When drawing top copper, it seems that Top Stop Mask and Top Solder Mask are missing.  
So add Top Stop Mask shape 0.1mm outside Top Copper and Top Solder Mask shape 0.1mm inside Top Copper.

---

<div class="post-metadata">

**Author:** ![EdizonTN](https://yyz2.discourse-cdn.com/free1/user_avatar/librepcb.discourse.group/edizontn/32/222_2.png) [@EdizonTN](https://librepcb.discourse.group/u/EdizonTN)\
**Post date:** [October 9, 2019, 6:46pm UTC](https://librepcb.discourse.group/t/handle-non-rectangle-footprint-pads/143/3 "2019-10-09T18:46:41Z")

</div>

Yeah,  
Your method of creating non rectangle custom pads is logical and looks good.  
LibrePCB does not support this type of pads (Custom Pad Shapes) yet.

I created a issue request because this is important feature: [https://github.com/LibrePCB/LibrePCB/issues/540](https://github.com/LibrePCB/LibrePCB/issues/540)

---

<div class="post-metadata">

**Author:** ![Doom](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@Doom](https://librepcb.discourse.group/u/Doom)\
**Post date:** [October 10, 2019, 7:50am UTC](https://librepcb.discourse.group/t/handle-non-rectangle-footprint-pads/143/4 "2019-10-10T07:50:08Z")

</div>

Top Solder Mask and Top Stop Mask are doubled over the LibrePCB pad.

Is it a problem ?  
By this I want to know if all goes well with gerber output ?  
Does overlapping will be well handled ?

In the same way : what is better to do with the complex shape of copper ?

1. draw it only outside, but next to LibrePCB pad
2. draw it whole, included on LibrePCB pad
3. just overlapping 0.1mm to ensure good connection

And so same question as above for gerber generation with Top Copper layer ?

Thanks for your answer.

(For now, I am doing the second choice)

D.
