← Back to team overview

kicad-developers team mailing list archive

Re: IDF Export bug

 

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 Bernardo <cirilo.bernardo@xxxxxxxxx>
wrote:

> On Thu, Jan 8, 2015 at 1:22 AM, Chris Anon <chris.aa05@xxxxxxxxx> 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 currently have version 2014-12-16 BZR 5324. When
>> storing IDF files for components in a path specified by the KISYS3DMOD
>> environment variable, the exporter can't find the idf files. Changing '
>> GetShape3DName' to 'GetShape3DFullFilename' in line 370 of
>> 'export_idf.cpp' function 'idf_export_module' seems to fix this. I also
>> noticed that the parser function seems to be stripping off the '.' in
>> '.END_ELECTRICAL' at the end of a component idf file. adding a space before
>> '.END_ELECTRICAL' fixes this but I haven't dug deep enough into the code to
>> find out why this happens in the first place.
>>
>>
> Hi Chris,
>
>  I can't confirm your report about the parser eating the '.' in
> '.END_ELECTRICAL'.
> Do you have anything which shows this problem?
>
> - Cirilo
>

Attachment: 0805_Capacitor.idf
Description: Binary data


Follow ups

References