1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3
#set $translation = 19.439
4
<svg version="1.1" baseProfile="basic" id="svg2" xmlns:svg="http://www.w3.org/2000/svg"
5
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="0.87in"
6
height="${0.27*int($pins)}in" viewBox="0 0 62.641 ${$translation*int($pins)}" xml:space="preserve">
9
#for $pin in range(int($pins))
10
#set $offset = $pin*$translation
11
<line id="connector${pin}pin" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" x1="0.998" y1="${$offset+9.723}" x2="17.845" y2="${$offset+9.723}"/>
12
<rect id="connector${pin}terminal" x="0" y="${$offset+8.725}" width="0.998" height="1.997"/>
13
<circle fill="none" stroke-width="2" stroke="#000000" cx="${62.641 - (translation / 2.0)}" cy="${$offset+9.723}" r="${(translation / 2.0) - 1.0}" />
15
<line id="line" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" x1="${62.641 - translation}" y1="${$offset+9.723}" x2="16.452" y2="${$offset+9.723}"/>