Importing a CSV file into component editor 1. Start kicad, launch component editor, create a new component 2. Click CSV button in top toolbar (far right) 3. When prompted for file, navigate to a csv file containing pins for import 4. Pins will be created in a vertical column with 100 mm spacing. Grab blocks of pins and move as necessary
1,Pin_1 2,Pin_2 3,VCC etc. Extra columns should be ignored for now. I've just noticed that a line with too few columns is crashing so please don't try that with anything important unsaved Double quotes will be removed automatically. I've attached an example file that I was using for testing. Let me know how it works for you. I'll try to get a new patch that's a bit less brittle up soon. Cheers, Alex On Tue, Feb 07, 2017 at 02:11:31PM -0600, Bob Gustafson wrote: > This sounds like something I could use now. > > Do you have any documentation on 'how to use' ? I would also have to > reinstate my toolchain to be able to use it - not insignificant amount of > labor. By reading your doc, I could determine the cost/benefit at the > moment. > > Thanks much - Bob G > > > On 02/06/2017 02:12 PM, Alex Bell wrote: > >I've not submitted a patch before nor really used a mailing list, so please > >let > >me know if I did something wrong. > > > >This adds a button on the component editor toolbar that prompts for a csv > >file, > >and then reads pin numbers and names and generates pins. > > > >I decided to start with something small but a few potential avenues for > >improvement I can see are: > >- adding a parser for electrical type based on regex > >- integrating this into it's own dialog with selectors for parsing options, > > default pin direction > >- moving the button from the toolbar to the pin table, or even more > >integration > > of some sort with pin table > > > >I tested it on linux and there is a build that will hopefully finish soon > >here: > >http://ci.kicad-pcb.org/job/windows-kicad-msys2-patch/560/ > > > >Cheers, > >Alex > > > > > >_______________________________________________ > >Mailing list: https://launchpad.net/~kicad-developers > >Post to : kicad-developers@lists.launchpad.net > >Unsubscribe : https://launchpad.net/~kicad-developers > >More help : https://help.launchpad.net/ListHelp >
1,"Res" 2,"Res" 3,"Res,is,best" 3,"Res" 5,"GND" 6,"GND" 7,"C1_XM" 8,"SETC_XM" 9,"SETP_XM" 10,"DEN_G" 11,"INT_G" 12,"DRDY_G" 13,"INT1_XM" 14,"INT2_XM" 15,"Vdd" 16,"Vdd" 17,"Vdd" 18,"Vdd_IO" 19,"CS_G" 20,"CS_XM" 21,"SCL" 22,"SDO_G" 23,"SDO_XM" 24,"SDA"
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp