# How to combine SMD and hole?

**URL:** <https://forum.fritzing.org/t/how-to-combine-smd-and-hole/18219>\
**Category:** beginners\
**Created:** [February 11, 2023, 7:53pm UTC](https://forum.fritzing.org/t/how-to-combine-smd-and-hole/18219 "2023-02-11T19:53:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhod](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/z/5daacb/32.png) [@Zhod](https://forum.fritzing.org/u/Zhod)\
**Post date:** [February 11, 2023, 7:53pm UTC](https://forum.fritzing.org/t/how-to-combine-smd-and-hole/18219/1 "2023-02-11T19:53:45Z")

</div>

I’m using this Lora part as [SX1276](https://github.com/kevinta893/LoRa-Breakout-Board/blob/master/fritzing%20part/Ra-01%20-%20LoRa%20Module%20SX1278.fzpz) but mine have holes, in addition to the pad of SMD version i would like to use holes for headers to increase adherence when soldering.  
 ![Screenshot 2023-02-11 at 12-48-55 Screenshot from 2023-02-11 12-48-03.png (PNG Image 2560 × 1440 pixels) — Scaled (86%)](https://forum.fritzing.org/uploads/default/original/2X/0/0b2381aae2943c37a646d71f9073a63829726618.png)

I tried to add some Pin header and make the desired shape but Fitzing do not like it when checking with “Design rule check”.  
There is an option of “Through-hole” on _Edit new part \> Connections_ but not sure what it’s gonna look like.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [February 11, 2023, 8:09pm UTC](https://forum.fritzing.org/t/how-to-combine-smd-and-hole/18219/2 "2023-02-11T20:09:58Z")

</div>

Unfortunately Fritzing doesn’t easily support SMD and through hole in a part (it is possible, but non standard and difficult.) You can add a via in the sketch to get the hole though. Like this

 ![capture](https://forum.fritzing.org/uploads/default/original/2X/2/2113f7d3355170c278915fbcfea2ed15b37794e7.jpeg)

Although DRC may complain about the via overlapping, that can be ignored.

Peter

---

<div class="post-metadata">

**Author:** ![Zhod](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/z/5daacb/32.png) [@Zhod](https://forum.fritzing.org/u/Zhod)\
**Post date:** [February 11, 2023, 8:32pm UTC](https://forum.fritzing.org/t/how-to-combine-smd-and-hole/18219/3 "2023-02-11T20:32:13Z")

</div>

Nice approach, thanks Peter.

---

<div class="post-metadata">

**Author:** ![Zhod](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/z/5daacb/32.png) [@Zhod](https://forum.fritzing.org/u/Zhod)\
**Post date:** [February 12, 2023, 3:21am UTC](https://forum.fritzing.org/t/how-to-combine-smd-and-hole/18219/4 "2023-02-12T03:21:17Z")

</div>

Hey Peter, I tried to make my own. Before to share it here i wanted to let you check quickly.  
I do not know why i do not see the dots meaning hole like this:  
 ![Screenshot from 2023-02-11 20-19-27](https://forum.fritzing.org/uploads/default/original/2X/f/fef5f70601b534ee625bc426a2566f3cccc50789.png)  
I’m based on a IC part.

Here is the my custom part:  
[LoRa SX1276.fzpz](https://forum.fritzing.org/uploads/short-url/jVpZACQ9nakoo2mIbNRDWzpu2fN.fzpz) (47.3 KB)  
.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [February 12, 2023, 4:02am UTC](https://forum.fritzing.org/t/how-to-combine-smd-and-hole/18219/5 "2023-02-12T04:02:52Z")

</div>

You have a number of problems, but the pcb holes are because the pins are defined as female rather than male (which is usually what they should be.) TerminalIds are missing in schematic so it doesn’t render correctly

 ![capture](https://forum.fritzing.org/uploads/default/original/2X/6/6b3047a65c5596832e625d42a7a6899a4bf9af71.jpeg)

the miso pin circled in green has a correct terminalId the wire connecting in the center of the pin (and likely the schematic being 0.05in off the grid) are caused by the lack of a terminalId. The wire will connect in the middle of the pin. Pcb looks to have a scale problem in that I assume the board should fit in 0.1in headers and it does not. It could be 2mm connectors but it looks wrong for that too.

 ![capture1](https://forum.fritzing.org/uploads/default/original/2X/4/412ef8cbb7ef4fb1bc5035c42ad5d36fe22be941.jpeg)

This tutorial set may help in correcting the problems:

> [@Fritzing PART CREATION Video Tutorial Series](http://forum.fritzing.org/t/fritzing-part-creation-video-tutorial-series/2647):
>
> NEW FASTER PART MAKING VIDEOS AT THE BOTTOM-[Fritzing Parts Fast](https://forum.fritzing.org/t/fritzing-part-creation-video-tutorial-series/2647/19) ADVANCED FRITZING USER TIPS & TRICKS VIDEOS AT THE BOTTOM-[Fritzing Adv Tips & Tricks](https://forum.fritzing.org/t/fritzing-part-creation-video-tutorial-series/2647/15) A series of part creation videos - I’m not an expert, but there was nothing else around at the time. Use 1080p HD fullscreen to see details clearly - use gear symbol bottom right -. Recorded slowly for older people, so select a higher speed if it’s too slow. P.S. - Sorry about the voice/sound yum Fritzing Part Creation - Chapter1 - New Part …

> [@Part creation howto part 1 breadboard and pcb](https://forum.fritzing.org/t/part-creation-howto-part-1-breadboard-and-pcb/7692):
>
> Someone in this forum post requested help to fix up a part. So while doing that I decided to record what I needed to do in order to fix the part to provide a tutorial to create new / fix broken parts. If you start from the Tarjeta S4A EDU.fzpz file posted in the above thread, you should be able to recreate my improved part posted in the same thread. I started by loading the original part in to Fritzing, that indicates breadboard is (at first look anyway) pretty good, but schematic and pcb are…

Peter

---

<div class="post-metadata">

**Author:** ![Zhod](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/z/5daacb/32.png) [@Zhod](https://forum.fritzing.org/u/Zhod)\
**Post date:** [February 12, 2023, 4:31am UTC](https://forum.fritzing.org/t/how-to-combine-smd-and-hole/18219/6 "2023-02-12T04:31:47Z")

</div>

Oh that’s why i got errors when trying a with RDC check.  
About pins i just click anywhere on the pin, i did not know does matter, and whay someone would make connection in the middle?  
Anyway thanks i will try to fix.
