Re: [Kicad-developers] IDF Export bug

2015-01-12 Thread Chris Anon
Thanks Cirilo, that seems to work well. On Fri, Jan 9, 2015 at 6:56 PM, Cirilo Bernardo wrote: > Please try the attached patch. The issue may be with std::getline() and > the variations > in \r, \n at the end of a text line. If that is the case then this patch > should fix it. If > the problem p

Re: [Kicad-developers] IDF Export bug

2015-01-09 Thread Cirilo Bernardo
Please try the attached patch. The issue may be with std::getline() and the variations in \r, \n at the end of a text line. If that is the case then this patch should fix it. If the problem persists then I need to look more carefully into the issue (it will likely be a defective implementation of t

Re: [Kicad-developers] IDF Export bug

2015-01-09 Thread Chris Anon
I'm using winXP at work. I'll try on my Ubuntu system at home this weekend. idf2vrml produces: ** Failed to read IDF data: * C:\KiCadBuild\src\kicad\utils\idftools\idf_outlines.cpp:1206:readData(): * invalid outline: .BOARD_OUTLINE * violation: no .END_BOARD_OUTLINE found * file position: 282 wit

Re: [Kicad-developers] IDF Export bug

2015-01-08 Thread Cirilo Bernardo
On Fri, Jan 9, 2015 at 4:52 AM, Chris Anon wrote: > Trying to export with the included file for an 0805 capacitor produces > error: > > *invalid outline: COMPONENT OUTLINE > *violation: expecting PROP or .END_ELECTRICAL > *line: 'END_ELECTRICAL' > If I add a space before '.END_ELECTRICAL' in the

Re: [Kicad-developers] IDF Export bug

2015-01-08 Thread Chris Anon
Trying to export with the included file for an 0805 capacitor produces error: *invalid outline: COMPONENT OUTLINE *violation: expecting PROP or .END_ELECTRICAL *line: 'END_ELECTRICAL' If I add a space before '.END_ELECTRICAL' in the file there's no error. On Wed, Jan 7, 2015 at 4:10 PM, Cirilo B

Re: [Kicad-developers] IDF Export bug

2015-01-07 Thread Cirilo Bernardo
On Thu, Jan 8, 2015 at 1:22 AM, Chris Anon wrote: > Hey all, I've been using Kicad for several years now and I've finally > gotten around to pulling the source and building it myself. The latest > developments look really exciting. Anyway, I think I've found a few bugs in > the IDF export code. I

Re: [Kicad-developers] IDF Export bug

2015-01-07 Thread Cirilo Bernardo
On Thu, Jan 8, 2015 at 1:22 AM, Chris Anon wrote: > Hey all, I've been using Kicad for several years now and I've finally > gotten around to pulling the source and building it myself. The latest > developments look really exciting. Anyway, I think I've found a few bugs in > the IDF export code. I

[Kicad-developers] IDF Export bug

2015-01-07 Thread Chris Anon
Hey all, I've been using Kicad for several years now and I've finally gotten around to pulling the source and building it myself. The latest developments look really exciting. Anyway, I think I've found a few bugs in the IDF export code. I currently have version 2014-12-16 BZR 5324. When storing ID