Quantcast
Channel: fritzing forum - Latest posts
Viewing all articles
Browse latest Browse all 29820

Error loading SVG files to Parts Editor

$
0
0

Here's how to workaround with Illustrator CC.
First, save file as SVG tiny 1.2 format.
Secondly, open saved SVG file with text editor and it will be looking like this.

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.2" baseProfile="tiny" id="svg2993" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" viewBox="-270 373.9 53.1 94" xml:space="preserve">
...

That svg tag is missing width and height attributes.
Third, add them manually like this.

<svg version="1.2" baseProfile="tiny" id="svg2993" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	 x="0px" y="0px" width="53.1px" height="94px" viewBox="-270 373.9 53.1 94" xml:space="preserve">

viewBox attribute's last two values are exactly width and height as pixels.

Finally, save it and load with fritzing.


Viewing all articles
Browse latest Browse all 29820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>