← Commit history

pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)

Ray ·b21c4b12b7 ·1mo ago ·parent 2efb51b
3 files changed +13−2
ada4692-4aruz.lbr+1−1
@@ -76,7 +76,7 @@   <wire x1="2.3100" y1="-2.6100" x2="-2.3100" y2="-2.6100" width="0.1200" layer="21"/>   <text x="0" y="3.288" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-3.288" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.9500" y="2.4100"/><vertex x="-3.2900" y="2.8800"/><vertex x="-2.6100" y="2.8800"/></polygon></package> </packages> <symbols> <symbol name="ADA4692-4ARUZ">
page.json+11
@@ -132,6 +132,17 @@     "viewers": {       "symbol": "viewers/symbol.html",       "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -2.8625,+        -1.95+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "TSSOP-14_4.4x5mm_P0.65mm@sha256:e4bf82cea6d3b325",+      "mark": "drawn"     }   },   "metadata": {
viewers/footprint.html+1−1
@@ -23,7 +23,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.250 -3.150 8.500 6.300' style='width:100%;height:100%'><line class='ly-silk' x1='-2.310' y1='-2.610' x2='2.310' y2='-2.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.310' y1='-2.410' x2='-2.310' y2='-2.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.310' y1='2.610' x2='-2.310' y2='2.410' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='-2.610' x2='2.310' y2='-2.410' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='2.410' x2='2.310' y2='2.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='2.610' x2='-2.310' y2='2.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.850' y1='-2.400' x2='-2.450' y2='-2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.850' y1='2.400' x2='-3.850' y2='-2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-2.750' x2='2.450' y2='-2.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-2.400' x2='-2.450' y2='-2.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='2.400' x2='-3.850' y2='2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='2.750' x2='-2.450' y2='2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-2.750' x2='2.450' y2='-2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-2.400' x2='3.850' y2='-2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='2.400' x2='2.450' y2='2.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='2.750' x2='-2.450' y2='2.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='-2.400' x2='3.850' y2='2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='2.400' x2='2.450' y2='2.400' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='OUT A' x='-3.600' y='-2.150' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-1.950' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='-IN A' x='-3.600' y='-1.500' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-1.300' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='+IN A' x='-3.600' y='-0.850' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.650' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='V+' x='-3.600' y='-0.200' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='+IN B' x='-3.600' y='0.450' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.650' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='-IN B' x='-3.600' y='1.100' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='1.300' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='OUT B' x='-3.600' y='1.750' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='1.950' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='OUT C' x='2.125' y='1.750' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='1.950' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='-IN C' x='2.125' y='1.100' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='1.300' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='+IN C' x='2.125' y='0.450' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.650' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='V-' x='2.125' y='-0.200' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='+IN D' x='2.125' y='-0.850' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.650' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='-IN D' x='2.125' y='-1.500' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-1.300' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='OUT D' x='2.125' y='-2.150' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-1.950' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.250 -3.150 8.500 6.300' style='width:100%;height:100%'><line class='ly-silk' x1='-2.310' y1='-2.610' x2='2.310' y2='-2.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.310' y1='-2.410' x2='-2.310' y2='-2.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.310' y1='2.610' x2='-2.310' y2='2.410' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='-2.610' x2='2.310' y2='-2.410' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='2.410' x2='2.310' y2='2.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='2.610' x2='-2.310' y2='2.610' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.850' y1='-2.400' x2='-2.450' y2='-2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.850' y1='2.400' x2='-3.850' y2='-2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-2.750' x2='2.450' y2='-2.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-2.400' x2='-2.450' y2='-2.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='2.400' x2='-3.850' y2='2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='2.750' x2='-2.450' y2='2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-2.750' x2='2.450' y2='-2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-2.400' x2='3.850' y2='-2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='2.400' x2='2.450' y2='2.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='2.750' x2='-2.450' y2='2.750' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='-2.400' x2='3.850' y2='2.400' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='2.400' x2='2.450' y2='2.400' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='OUT A' x='-3.600' y='-2.150' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-1.950' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='-IN A' x='-3.600' y='-1.500' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-1.300' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='+IN A' x='-3.600' y='-0.850' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.650' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='V+' x='-3.600' y='-0.200' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='+IN B' x='-3.600' y='0.450' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.650' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='-IN B' x='-3.600' y='1.100' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='1.300' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='OUT B' x='-3.600' y='1.750' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='1.950' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='OUT C' x='2.125' y='1.750' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='1.950' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='-IN C' x='2.125' y='1.100' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='1.300' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='+IN C' x='2.125' y='0.450' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.650' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='V-' x='2.125' y='-0.200' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.000' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='+IN D' x='2.125' y='-0.850' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.650' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='-IN D' x='2.125' y='-1.500' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-1.300' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='OUT D' x='2.125' y='-2.150' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-1.950' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><polygon class='ly-silk adom-pin1' points='-2.950,-2.410 -3.290,-2.880 -2.610,-2.880' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/ADA4692-4ARUZ", PINS=[{"desc":"","name":"OUT A","number":"1","type":""},{"desc":"","name":"-IN A","number":"2","type":""},{"desc":"","name":"+IN A","number":"3","type":""},{"desc":"","name":"V+","number":"4","type":""},{"desc":"","name":"+IN B","number":"5","type":""},{"desc":"","name":"-IN B","number":"6","type":""},{"desc":"","name":"OUT B","number":"7","type":""},{"desc":"","name":"OUT D","number":"14","type":""},{"desc":"","name":"-IN D","number":"13","type":""},{"desc":"","name":"+IN D","number":"12","type":""},{"desc":"","name":"V-","number":"11","type":""},{"desc":"","name":"+IN C","number":"10","type":""},{"desc":"","name":"-IN C","number":"9","type":""},{"desc":"","name":"OUT C","number":"8","type":""}];