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

Connector terminal from view layer not exported to svg

$
0
0

Environment:
Fedora 24
x86_64
Fritzing Version 0.9.2 (b8d2d5970658f0bed09c661c9

I have not upgraded to 0.9.3, since trying to stay with what is provided in the Fedora repos.

It appears that the svg export does not handle connector terminal rectangles that are part (children) of the view (breadboard in this case) layer. During export, the "rect" element is replaced by "g" element with the same attributes, with values adjusted for scaling. For example, with a breadboard svg file containing

<!-- origin is the bottom row of pins on 0.1 inch grid -->
<rect width="2.7" x="0" y="0" height="2.7" id="connector0terminal"/>

The exported breadboard view svg file contained

<!-- origin is the bottom row of pins on 0.1 inch grid -->
<g width="2.16" x="0" y="0" id="connector0terminal" height="2.16"/>

Removing id="connector0terminal" from the rect element (and putting it elsewhere) worked correctly, exporting

<!-- origin is the bottom row of pins on 0.1 inch grid -->
<rect width="2.16" x="0" y="0" height="2.16"/>

Either of the versions look and work correctly in the Fritzing view. It is just the export as SVG that gets messed up.


Viewing all articles
Browse latest Browse all 28182

Trending Articles



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