Align import brd file icon with grid

(cherry picked from commit 740f55fd30)
This commit is contained in:
Seth Hillbrand
2025-07-23 17:38:13 -07:00
parent 562d0ff296
commit 87f375b54f
12 changed files with 106 additions and 75 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 637 B

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 872 B

After

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 626 B

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 853 B

After

Width:  |  Height:  |  Size: 796 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 24 24"
version="1.1"
sodipodi:docname="import_brd_file.svg"
inkscape:version="1.0.2 (1.0.2+r75+1)"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
inkscape:export-filename="/Users/jeff/kicad_dev/kicad/bitmaps_png/png_26/import_brd_file.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
@@ -25,18 +25,21 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1371"
inkscape:window-width="3840"
inkscape:window-height="2109"
id="namedview30"
showgrid="true"
inkscape:zoom="21.709691"
inkscape:cx="11.163373"
inkscape:cy="13.845115"
inkscape:zoom="64"
inkscape:cx="6.5234375"
inkscape:cy="11.03125"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:document-rotation="0"
inkscape:current-layer="Слой_1">
inkscape:current-layer="g895"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1">
<inkscape:grid
type="xygrid"
id="grid_kicad"
@@ -44,7 +47,10 @@
spacingy="0.5"
color="#9999ff"
opacity="0.13"
empspacing="2" />
empspacing="2"
originx="0"
originy="0"
units="px" />
</sodipodi:namedview>
<metadata
id="metadata43">
@@ -93,12 +99,27 @@
rx="3.4854646"
sodipodi:insensitive="true" />
</clipPath>
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath888-3">
<rect
style="display:inline;fill:#f29100;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect890-6"
width="21"
height="21"
x="0.00181"
y="-0.0011243999"
ry="3.4854646"
rx="3.4854646"
sodipodi:insensitive="true" />
</clipPath>
</defs>
<title
id="title25343">import_brd_file</title>
<g
id="g886"
clip-path="url(#clipPath888)">
clip-path="url(#clipPath888-3)"
transform="translate(0.00600243,0.00112438)">
<rect
class="cls-1"
x="0.0018101226"
@@ -111,7 +132,7 @@
clip-path="none" />
<path
class="cls-2"
d="m 8.50181,20.998876 v -1.500001 l 3.5,-3.5 v -4.999999 l 0.5,-0.5 h 3.5 l 2,1.5 h 3 V 3.9988756 h -3 l -2,1.5 h -1.5 l -1.8125,-2 v -3.5 C 8.7473802,-0.00252877 1.7776269,-3.5025e-5 -1.125e-7,-2.5e-8 0.00181,2.8426256 0.00181,20.998876 0.00181,20.998876 c 1.3125,-0.0243 3.5206629,0 8.5,0 z"
d="m 8,21 v -1 l 4.00181,-4.001125 v -4.999999 l 0.5,-0.5 h 3.5 l 2,1.5 h 3 V 3.9988756 h -3 L 17,5 H 14 L 13,4 V 0 C 9.0580702,-0.00140437 1.7776269,-3.5025e-5 -1.125e-7,-2.5e-8 0.00181,2.8426256 0.00181,20.998876 0.00181,20.998876 1.31431,20.974576 3.0206629,21 8,21 Z"
id="path11"
sodipodi:nodetypes="ccccccccccccccccc"
style="fill:#006400;fill-opacity:1;stroke-width:0.499999"
@@ -123,13 +144,13 @@
sodipodi:nodetypes="cccc"
clip-path="none" />
<path
style="fill:none;stroke:#489648;stroke-width:4.47214;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 0.00181,12.611314 h 4.375"
style="fill:none;stroke:#489648;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 0,12.5 H 4"
id="path892"
sodipodi:nodetypes="cc"
clip-path="none" />
<path
style="fill:none;stroke:#489648;stroke-width:2.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="fill:none;stroke:#489648;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 5.00181,21.998875 v -2.999999 l 4,-4.000001 V 9.9988752 l -4,-3.9999996 v -6.5"
id="path2265"
sodipodi:nodetypes="cccccc"
@@ -195,16 +216,16 @@
<circle
style="fill:#ffffff;fill-opacity:1;stroke:#f29100;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path936"
cx="3.8844604"
cy="12.579085"
r="1.6027977"
cx="3.5"
cy="12.5"
r="2.0099354"
clip-path="none" />
<circle
style="fill:#ffffff;fill-opacity:1;stroke:#f29100;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="circle938"
cx="18.864687"
cy="7.9956207"
r="1.6027977"
cx="19"
cy="8"
r="1.5033609"
clip-path="none" />
<path
class="cls-5"
@@ -213,23 +234,27 @@
style="fill:#ffffff;fill-opacity:1;stroke-width:1"
inkscape:connector-curvature="0" />
</g>
<path
class="cls-5"
d="M 24.0065,17 A 7.0065,7.0065 0 1 1 17,10 a 7.0032,7.0032 0 0 1 7.0065,7 z"
id="path25365"
style="display:inline" />
<line
class="cls-6"
x1="17"
y1="20.4118"
x2="17"
y2="13.4118"
id="line25367"
style="display:inline;stroke:#ffffff;stroke-opacity:1" />
<polyline
class="cls-6"
points="20.859 18.879 18.104 21.631 15.349 18.879"
id="polyline25369"
transform="translate(-1.104,-1)"
style="display:inline;stroke:#ffffff;stroke-opacity:1" />
<g
id="g895"
transform="translate(0.00600243,0.00112438)">
<path
class="cls-5"
d="M 24.0065,17 A 7.0065,7.0065 0 1 1 17,10 a 7.0032,7.0032 0 0 1 7.0065,7 z"
id="path25365"
style="display:inline;fill:#f2647e;fill-opacity:1" />
<line
class="cls-6"
x1="17"
y1="20.4118"
x2="17"
y2="13.4118"
id="line25367"
style="display:inline;fill:none;stroke:#f5f5f5;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round" />
<polyline
class="cls-6"
points="20.859 18.879 18.104 21.631 15.349 18.879"
id="polyline25369"
transform="translate(-1.104,-1)"
style="display:inline;fill:none;stroke:#f5f5f5;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 24 24"
version="1.1"
sodipodi:docname="import_brd_file.svg"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
inkscape:export-filename="/Users/jeff/kicad_dev/kicad/bitmaps_png/png_26/import_brd_file.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
@@ -25,18 +25,21 @@
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1904"
inkscape:window-height="1041"
inkscape:window-width="3840"
inkscape:window-height="2109"
id="namedview30"
showgrid="true"
inkscape:zoom="21.709691"
inkscape:cx="11.163373"
inkscape:cy="13.845115"
inkscape:zoom="45.254834"
inkscape:cx="9.5790872"
inkscape:cy="11.645165"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:document-rotation="0"
inkscape:current-layer="Слой_1">
inkscape:current-layer="Слой_1"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1">
<inkscape:grid
type="xygrid"
id="grid_kicad"
@@ -44,7 +47,10 @@
spacingy="0.5"
color="#9999ff"
opacity="0.13"
empspacing="2" />
empspacing="2"
originx="0"
originy="0"
units="px" />
</sodipodi:namedview>
<metadata
id="metadata43">
@@ -111,7 +117,7 @@
clip-path="none" />
<path
class="cls-2"
d="m 8.50181,20.998876 v -1.500001 l 3.5,-3.5 v -4.999999 l 0.5,-0.5 h 3.5 l 2,1.5 h 3 V 3.9988756 h -3 l -2,1.5 h -1.5 l -1.8125,-2 v -3.5 C 8.7473802,-0.00252877 1.7776269,-3.5025e-5 -1.125e-7,-2.5e-8 0.00181,2.8426256 0.00181,20.998876 0.00181,20.998876 c 1.3125,-0.0243 3.5206629,0 8.5,0 z"
d="m 8,21 v -1 l 4.00181,-4.001125 v -4.999999 l 0.5,-0.5 h 3.5 l 2,1.5 h 3 V 3.9988756 h -3 L 17,5 H 14 L 13,4 V 0 C 9.0580702,-0.00140437 1.7776269,-3.5025e-5 -1.125e-7,-2.5e-8 0.00181,2.8426256 0.00181,20.998876 0.00181,20.998876 1.31431,20.974576 3.0206629,21 8,21 Z"
id="path11"
sodipodi:nodetypes="ccccccccccccccccc"
style="fill:#006400;fill-opacity:1;stroke-width:0.499999"
@@ -123,13 +129,13 @@
sodipodi:nodetypes="cccc"
clip-path="none" />
<path
style="fill:none;stroke:#489648;stroke-width:4.47214;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 0.00181,12.611314 h 4.375"
style="fill:none;stroke:#489648;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 0,12.5 H 4"
id="path892"
sodipodi:nodetypes="cc"
clip-path="none" />
<path
style="fill:none;stroke:#489648;stroke-width:2.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="fill:none;stroke:#489648;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 5.00181,21.998875 v -2.999999 l 4,-4.000001 V 9.9988752 l -4,-3.9999996 v -6.5"
id="path2265"
sodipodi:nodetypes="cccccc"
@@ -195,16 +201,16 @@
<circle
style="fill:#ffffff;fill-opacity:1;stroke:#f29100;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path936"
cx="3.8844604"
cy="12.579085"
r="1.6027977"
cx="3.5"
cy="12.5"
r="2.0099354"
clip-path="none" />
<circle
style="fill:#ffffff;fill-opacity:1;stroke:#f29100;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="circle938"
cx="18.864687"
cy="7.9956207"
r="1.6027977"
cx="19"
cy="8"
r="1.5033609"
clip-path="none" />
<path
class="cls-5"

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB