Closed easyw closed 1 year ago
Kicad has moved from module to footprint in internal syntax fcad_pcb does support it in loading pads for pcb files, but not for footprints ATM
Would it be possible to accept both formats (kv5 and kv6)?
import PySide from PySide import QtGui, QtCore import sys,os sys.path.append(r"d:") import fcad_pcb from fcad_pcb import kicad import importlib importlib.reload(kicad) from kicad_parser import KicadPCB filename= r"D:\Temp\LED_0603_1608Metric-kv6.kicad_mod" #SMD kv6 # filename= r"D:\Temp\LED_0603_1608Metric.kicad_mod" #SMD kv5 pcb = kicad.KicadFcad(filename,via_skip_hole=False,via_bound=0) pcb.setLayer(0) #'F.Cu') topP=pcb.makePads(shape_type='face',thickness=0.05,holes=True,fit_arcs=True)
LED_0603_1608Metric.zip LED_0603_1608Metric-kv6.zip
Kicad has moved from module to footprint in internal syntax fcad_pcb does support it in loading pads for pcb files, but not for footprints ATM
Would it be possible to accept both formats (kv5 and kv6)?
LED_0603_1608Metric.zip LED_0603_1608Metric-kv6.zip