← Commit history

1812l300: symbol repaired (fuse)

Ray ·f998fc1102 · ·parent 8dfa011
3 files changed +8−8
1812l300.kicad_sym+2−2
@@ -120,7 +120,7 @@ 			(pin passive line 				(at 0 3.81 270) 				(length 1.27)-				(name "Terminal 1"+				(name "" 					(effects 						(font 							(size 1.27 1.27)@@ -138,7 +138,7 @@ 			(pin passive line 				(at 0 -3.81 90) 				(length 1.27)-				(name "Terminal 2"+				(name "" 					(effects 						(font 							(size 1.27 1.27)
1812l300.lbr+4−4
@@ -77,9 +77,9 @@   <text x="2.0320" y="0.0000" size="1.27" layer="95" align="center">&gt;NAME</text>   <text x="-1.9050" y="0.0000" size="1.27" layer="96" align="center">&gt;VALUE</text>   <wire x1="0.0000" y1="3.8100" x2="0.0000" y2="2.5400" width="0.254" layer="94"/>-  <pin name="Terminal_1" x="0" y="3.81" length="point" direction="pas" rot="R270"/>+  <pin name="1" x="0" y="3.81" length="point" direction="pas" rot="R270"/>   <wire x1="0.0000" y1="-3.8100" x2="0.0000" y2="-2.5400" width="0.254" layer="94"/>-  <pin name="Terminal_2" x="0" y="-3.81" length="point" direction="pas" rot="R90"/>+  <pin name="2" x="0" y="-3.81" length="point" direction="pas" rot="R90"/> </symbol> </symbols> <devicesets>@@ -91,8 +91,8 @@   <devices>     <device name="" package="Fuse_1812_4532Metric">       <connects>-        <connect gate="G$1" pin="Terminal_1" pad="1"/>-        <connect gate="G$1" pin="Terminal_2" pad="2"/>+        <connect gate="G$1" pin="1" pad="1"/>+        <connect gate="G$1" pin="2" pad="2"/>       </connects>       <technologies>         <technology name="">
viewers/symbol.html+2−2
@@ -23,10 +23,10 @@ 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>Schematic symbol</span><span class=sp></span></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-80 -200 160 400' style='width:100%;height:100%'><rect x='-30.0' y='-100.0' width='60.0' height='200.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,-100.0 0.0,100.0' fill='none' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='Terminal 1'><line class='pinvis' x1='0.0' y1='-150.0' x2='0.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='-150.0' x2='0.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='0.0' y='-77.5' font-size='45' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>Terminal 1</text><g class='pingroup' data-num='2' data-name='Terminal 2'><line class='pinvis' x1='0.0' y1='150.0' x2='0.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='150.0' x2='0.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='0.0' y='77.5' font-size='45' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>Terminal 2</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-80 -200 160 400' style='width:100%;height:100%'><rect x='-30.0' y='-100.0' width='60.0' height='200.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,-100.0 0.0,100.0' fill='none' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name=''><line class='pinvis' x1='0.0' y1='-150.0' x2='0.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='-150.0' x2='0.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><g class='pingroup' data-num='2' data-name=''><line class='pinvis' x1='0.0' y1='150.0' x2='0.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='150.0' x2='0.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g></svg></div> <div id=tip></div> <script>-var KIND="symbol", MPN="ADOM/1812L300", PINS=[{"desc":"","name":"Terminal 1","number":"1","type":""},{"desc":"","name":"Terminal 2","number":"2","type":""}];+var KIND="symbol", MPN="ADOM/1812L300", PINS=[{"desc":"","name":"","number":"1","type":""},{"desc":"","name":"","number":"2","type":""}]; var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;}); var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip'); // ---- pan/zoom ----