|
From: Peter C. <pet...@cl...> - 2017-02-18 11:00:55
|
I noticed you use strcasecmp... Unless the tiny cad file format is defined to be case insensitive, I think strcmp would be better (matching whatever they actually output). -- You received this bug notification because you are a member of PCB Bug Team, which is subscribed to pcb. https://bugs.launchpad.net/bugs/1665862 Title: [new feature] TinyCAD Import Status in pcb: New Bug description: Attached patch implements new actions to import netlist and parts from TinyCAD: ImportTinyCAD() ImportTinyCAD(netlistfile) Both actions take the netlist (first one displays dialog), import the netlist and CSV partlist. Name of partlist is derived from netlist name: .csv extension is used instead of .net First action is bound to menu (Import Schematics -> TinyCAD) In TinyCAD: - specify footprint name in Package parameter (exist on most symbols) or in Footprint parameter - export gEDA copatible netlist - export CSV partlist In PCB: - use the above actions or select menu item to import netlist and partlist in one step. * netlist is loaded * existing parts are updated or let untouched * new parts are added * removed parts are selected, so it is easy to delete them TinyCAD import is wrapper around existing actions: Load(netlist), LoadFrom(netlist, ...) and ElementList(Start|Need|Done,...) and it is as good as implementation of these actions. Milan To manage notifications about this bug go to: https://bugs.launchpad.net/pcb/+bug/1665862/+subscriptions |