# SVG files for schematic - scaling

**URL:** <https://forum.fritzing.org/t/svg-files-for-schematic-scaling/17901>\
**Category:** parts help\
**Created:** [January 13, 2023, 3:21pm UTC](https://forum.fritzing.org/t/svg-files-for-schematic-scaling/17901 "2023-01-13T15:21:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leopard](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@leopard](https://forum.fritzing.org/u/leopard)\
**Post date:** [January 13, 2023, 3:21pm UTC](https://forum.fritzing.org/t/svg-files-for-schematic-scaling/17901/1 "2023-01-13T15:21:12Z")

</div>

Hi, I’ve got a SVG file for a schematic for a part I’m working on, the file is created manually for sanity as Inkscape was annoying me - however inscape will load it fine.

the Fritzing part editor will also load it, but its miniscule, I’ve had a look in the template but cannot see the correct incantation to add to adjust the scaling - if zooming in its all there just fine, just _small_.

what do I need to add to get it right? the items in the file are all spaced in inches, the text point sizes are set etc just… on screen too small to be usable

---

<div class="post-metadata">

**Author:** ![leopard](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@leopard](https://forum.fritzing.org/u/leopard)\
**Post date:** [January 13, 2023, 3:43pm UTC](https://forum.fritzing.org/t/svg-files-for-schematic-scaling/17901/2 "2023-01-13T15:43:58Z")

</div>

now have the scaling sorted… however now all the graphics do not show - the image works fine in inkscape or a browser, but guessing there needs to be some specific grouping to get things to work - have tried to copy the template but nothing. file as it is attached  
 ![PB06-B RGB Schematic](https://forum.fritzing.org/uploads/default/original/2X/2/292cd73d49cf06ba39b665ca662c8f0830a982bd.svg)

---

<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:** [January 13, 2023, 4:51pm UTC](https://forum.fritzing.org/t/svg-files-for-schematic-scaling/17901/3 "2023-01-13T16:51:14Z")

</div>

Your svg is missing the viewbox. Easiest solution is to use Randy’s fritzing schematic extension for Inkscape available here:

> [@Fritzing-Schematic an Inkscape extension - released](https://forum.fritzing.org/t/fritzing-schematic-an-inkscape-extension-released/13394):
>
> Hi all! I have been working on an extension for Inkscape to create rectangular schematic symbol .svg files for use in Fritzing. I think I created a useful tool to speed up creation of schematic symbols, and now I want to share it with the community. It’s available on github: [https://github.com/revolt-randy/Fritzing-Schematic-an-Inkscape-Extension.](https://github.com/revolt-randy/Fritzing-Schematic-an-Inkscape-Extension.) To install: In Inkscape, the edit menu → user preferences → system will have an option for ‘User extensions’ - allowing you to open the folder to…

like this (starting from your svg)

 ![capture](https://forum.fritzing.org/uploads/default/original/2X/3/3377ca982eef6adf4e3f425eba124af4f453bc20.jpeg)

note there is no viewbox just the height and width. Fritzing requires the viewbox.

 ![capture1](https://forum.fritzing.org/uploads/default/original/2X/b/ba44ec1bca93653ff5bd79a362eecd730b98f793.jpeg)

delete your schematic and start the extension set the size and label

 ![capture2](https://forum.fritzing.org/uploads/default/original/2X/1/1f0c4a4e09c9e74c1a4dcde19f9d8836820bfa70.jpeg)

then specify the number of connections on each side

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

Set the pin labels

 ![capture4](https://forum.fritzing.org/uploads/default/original/2X/a/a964e2f8b0aa740a734ac41ebcc3a3685772d3ac.jpeg)

then the next set of labels

 ![capture5](https://forum.fritzing.org/uploads/default/original/2X/4/42818edfe30bec51571feef7d20f627fb40640ed.jpeg)

then press finished and it creates the schematic with the correct pin spacing colors svg scale and viewbox (circled in green.) Because it doesn’t do spaces in pins I made it over size and now need to ungroup schematic and move the pins

 ![capture6](https://forum.fritzing.org/uploads/default/original/2X/5/5a5732fde244138923497d42e8f9a9da89f5114a.jpeg)

resize the image and regroup it and save as plain svg and we are done.

 ![capture7](https://forum.fritzing.org/uploads/default/original/2X/d/d011fc3d56bcd4e3ff960ab9174997bdb3be4541.jpeg)

And this svg should work for you

![fixed-schematic](https://forum.fritzing.org/uploads/default/original/2X/d/d4b0bbc0ac3fee7b1cc2cc5889e1a8664b2a91fb.svg)

(right click on it and select save image as to get the svg!)

Peter

---

<div class="post-metadata">

**Author:** ![leopard](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@leopard](https://forum.fritzing.org/u/leopard)\
**Post date:** [January 13, 2023, 5:07pm UTC](https://forum.fritzing.org/t/svg-files-for-schematic-scaling/17901/4 "2023-01-13T17:07:02Z")

</div>

Excellent, manually added the viewbox and now it works… trying to avoid Inkscape, partly because its way easier to manage size placements manually more than a mouse and because I’ve had some odd behaviour with copy & paste a few times - these files are trivial to do by hand once you have the baseline working.

presumably the viewbox needed for the PCB and breadboard view also - speaking of which is the breadboard view actually needed? the component in question is not breadboard compatible due to the pin size & spacing. could probably fake something but its not a view I use

serious thumbs up 🙂

---

<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:** [January 13, 2023, 5:12pm UTC](https://forum.fritzing.org/t/svg-files-for-schematic-scaling/17901/5 "2023-01-13T17:12:41Z")

</div>

> [@leopard](#):
>
> presumably the viewbox needed for the PCB and breadboard view also - speaking of which is the breadboard view actually needed? the component in question is not breadboard compatible due to the pin size & spacing. could probably fake something but its not a view I use

It is possible to suppress breadboard view, but usually not worth it. Your best bet is to copy the pcb svg in to breadboard (which will provide the necessary connector definitions to keep Fritzing happy) then just ignore breadboard. These two tutorial apply to current versions of Fritzing if you haven’t seen them. I don’t think I covered suppressing breadboard, but Old\_grey may have.

> [@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:** ![leopard](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@leopard](https://forum.fritzing.org/u/leopard)\
**Post date:** [January 13, 2023, 5:15pm UTC](https://forum.fritzing.org/t/svg-files-for-schematic-scaling/17901/6 "2023-01-13T17:15:36Z")

</div>

sorted cheers, did actually make a breakout board for these in EasyEDA (as it had the components defined, though with an error making them hard to use) probably not too hard to define it.

one of lifes problems, no matter what software you use there is always at least one component missing 🙂

will keep fiddling, for example the size of this is wrong (too large) for what it is, was just a first bash at sizing it

cheers
