Francisco
Francisco
EDITED. Hi Matt, thanks for your response. Absolutelly, I'l be glad of helping beta testing and porting Neil's .cad files to the new library. Also one of the things I...
So class L_1210 from the old library would look like: _pad_1210 = s2d.rectangle(-.032,.032,-.048,.048) class L_1210(component): ''' 1210 Inductor ''' pins = [Pin(-0.06, 0, _pad_1210), Pin(0.06, 0, _pad_1210)] prefix = 'L'...
Also Eric, the file you try to open in the flip flap repo is not valid for this github version of kokopelli, but for a former version which is not...
@property def pin_labels(self): L = [] for p in self.pins: p = BoundPin(p, self) if p.pin.name: L.append(text(p.pin.name, p.x, p.y, 0.03)) return s2d.rotate(reduce(operator.add, L),self.rot) if L else None This rotates the...