← Commit history

ylry12-2-7f: symbol repaired (resistor)

Ray ·b182990634 ·8h ago ·parent cff2dfb
2 files changed +4−4
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='-90 -200 180 400' style='width:100%;height:100%'><polyline points='0.0,-90.0 0.0,-100.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,-90.0 40.0,-75.0 0.0,-60.0 -40.0,-45.0 0.0,-30.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,-30.0 40.0,-15.0 0.0,-0.0 -40.0,15.0 0.0,30.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,30.0 40.0,45.0 0.0,60.0 -40.0,75.0 0.0,90.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,90.0 0.0,100.0' fill='none' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='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'>1</text><g class='pingroup' data-num='2' data-name='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'>2</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-90 -200 180 400' style='width:100%;height:100%'><polyline points='0.0,-90.0 0.0,-100.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,-90.0 40.0,-75.0 0.0,-60.0 -40.0,-45.0 0.0,-30.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,-30.0 40.0,-15.0 0.0,-0.0 -40.0,15.0 0.0,30.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,30.0 40.0,45.0 0.0,60.0 -40.0,75.0 0.0,90.0' fill='none' stroke='#e35d5d' stroke-width='4'/><polyline points='0.0,90.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/YLRY12-2-7F", PINS=[{"desc":"","name":"1","number":"1","type":""},{"desc":"","name":"2","number":"2","type":""}];+var KIND="symbol", MPN="ADOM/YLRY12-2-7F", 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 ----
ylry12-2-7f.kicad_sym+2−2
@@ -157,7 +157,7 @@ 			(pin passive line 				(at 0 3.81 270) 				(length 1.27)-				(name "1"+				(name "" 					(effects 						(font 							(size 1.27 1.27)@@ -175,7 +175,7 @@ 			(pin passive line 				(at 0 -3.81 90) 				(length 1.27)-				(name "2"+				(name "" 					(effects 						(font 							(size 1.27 1.27)