# Custom PCB shape SVG

**URL:** <https://forum.fritzing.org/t/custom-pcb-shape-svg/14197>\
**Category:** beginners\
**Created:** [October 28, 2021, 6:38am UTC](https://forum.fritzing.org/t/custom-pcb-shape-svg/14197 "2021-10-28T06:38:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joerg\_Pleumann](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@Joerg\_Pleumann](https://forum.fritzing.org/u/Joerg_Pleumann)\
**Post date:** [October 28, 2021, 6:38am UTC](https://forum.fritzing.org/t/custom-pcb-shape-svg/14197/1 "2021-10-28T06:38:18Z")

</div>

Hi,

I made a custom PCB shape for my board based on [Fritzing](https://fritzing.org/pcb-custom-shape). The fill and outline colors differ from the built-in boards. Is that merely a cosmetic thing or will it affect PCB production (i.e. should I change the colors)?

Best regards  
Joerg

---

<div class="post-metadata">

**Author:** ![Joerg\_Pleumann](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@Joerg\_Pleumann](https://forum.fritzing.org/u/Joerg_Pleumann)\
**Post date:** [October 28, 2021, 6:57am UTC](https://forum.fritzing.org/t/custom-pcb-shape-svg/14197/2 "2021-10-28T06:57:38Z")

</div>

Add-on question: Will the SVG be embedded into the Fritzing file or do I always have to keep the SVG file in place (and share it alongside the Fritzing file)? Probably the former, but better safe than sorry. 🙂

---

<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:** [October 28, 2021, 2:10pm UTC](https://forum.fritzing.org/t/custom-pcb-shape-svg/14197/3 "2021-10-28T14:10:28Z")

</div>

The color of the svg is different from the default in Fritzing and that won’t cause a a problem. The svg file is saved in the sketch .fz file so will stay with the sketch without further action. You should verify the shape is correct by exporting the sketch as gerber files and then checking the contour. gm1 file with a gerber viewer to make sure the shape was exported correctly.

Peter

---

<div class="post-metadata">

**Author:** ![Joerg\_Pleumann](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@Joerg\_Pleumann](https://forum.fritzing.org/u/Joerg_Pleumann)\
**Post date:** [October 28, 2021, 2:33pm UTC](https://forum.fritzing.org/t/custom-pcb-shape-svg/14197/4 "2021-10-28T14:33:50Z")

</div>

Great. Thanks a lot, Peter!

---

<div class="post-metadata">

**Author:** ![AlanChen](https://forum.fritzing.org/user_avatar/forum.fritzing.org/alanchen/32/2797_2.png) [@AlanChen](https://forum.fritzing.org/u/AlanChen)\
**Post date:** [November 1, 2021, 9:07pm UTC](https://forum.fritzing.org/t/custom-pcb-shape-svg/14197/5 "2021-11-01T21:07:38Z")

</div>

Yes, suggested to confirm with gerber,

especially if your shape was drawn by inkscape  
I had see some many buggy shape exports 😛  
typically you can know if the shape imported to fritzing is wrong when you see the message “the board contains ‘x’ cutouts” , mostly my board have some hole or shape to cut off, and if the x is 0 or 1 I know its wrong, 1 is the least number if you don’t have slots.

---

<div class="post-metadata">

**Author:** ![Joerg\_Pleumann](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@Joerg\_Pleumann](https://forum.fritzing.org/u/Joerg_Pleumann)\
**Post date:** [November 2, 2021, 7:07am UTC](https://forum.fritzing.org/t/custom-pcb-shape-svg/14197/6 "2021-11-02T07:07:43Z")

</div>

I did modify the sample .svg manually. Don’t trust tools other than a text editor. 🙂 And I don’t have any cutouts or drills (yet). If the images look ok on the manufacturer’s website ([aisler.com](http://aisler.com)) I should be fine, right?

---

<div class="post-metadata">

**Author:** ![microMerlin](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/m/76d3ee/32.png) [@microMerlin](https://forum.fritzing.org/u/microMerlin)\
**Post date:** [November 2, 2021, 8:41am UTC](https://forum.fritzing.org/t/custom-pcb-shape-svg/14197/7 "2021-11-02T08:41:46Z")

</div>

If you know XML/SVG then yes. Would not hurt to do a gerber export, and view the created result in a viewer (gerbv). There have been past issues with valid SVG paths not closing properly during export. If that happens, you need to duplicate the path starting point before the “z” to close the path.
