[Kicad-developers] S-expression documentation

2012-10-08 Thread Cirilo Bernardo
Hi Wayne,  Is there any documentation on the S-expression and how it's used in pcbnew or in the library? - Cirilo ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launch

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Dick Hollenbeck
On 10/08/2012 08:26 AM, Kaspar Bumke wrote: >> Once the new format becomes the default, footprint libraries will be saved >> as a directory of footprint files. In other words, a footprint library is >> defined as a directory of footprint files where each footprint file contains >> a single foot

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Wayne Stambaugh
On 10/8/2012 10:42 AM, Kaspar Bumke wrote: Not that I am planning. The directory and it's footprint files are the library. So what Lorenzo said was wrong? What is this library table then? The library table fixes a long standing bug in Pcbnew when duplicate footprint names exist in more than

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Kaspar Bumke
>Not that I am planning. The directory and it's footprint files are the >library. So what Lorenzo said was wrong? What is this library table then? >Once the library table is implemented, as long as there is Pcbnew plugin that >supports reading and writing footprint libraries you will be able t

Re: [Kicad-developers] Fwd: Re: KiCad suggestion

2012-10-08 Thread Vesa Solonen
08.10.2012 14:03, Craig Southeren kirjoitti: Sorry - I've been busy and I had to redo the user interface as per some suggestions from the Kicad developers. As long I'm not the one doing the work I'm not demanding anything either. Thank you for your work and take your time. The only reason for

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Wayne Stambaugh
On 10/8/2012 9:26 AM, Kaspar Bumke wrote: Once the new format becomes the default, footprint libraries will be saved as a directory of footprint files. In other words, a footprint library is defined as a directory of footprint files where each footprint file contains a single footprint. I st

[Kicad-developers] Proposal for the NEGATE macro

2012-10-08 Thread Lorenzo Marcantonio
I've seen from the flurry of (fake) conflicts that you (finally) junked the min/max/abs macros (I simply used using std::min instead of qualifying each occurrence). If you want to kick the NEGATE too I used the following: template void NEGATE( T& x ) { x = -x; } OTOH is probably better to replac

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Lorenzo Marcantonio
On Mon, Oct 08, 2012 at 02:26:58PM +0100, Kaspar Bumke wrote: > I see, so the preferred sharing method will probably be zip files with > a single folder. Is there anything else that will unify the footprints > except being in the same directory (and having a reason for being > lumped together)? Lik

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Kaspar Bumke
> Once the new format becomes the default, footprint libraries will be saved as > a directory of footprint files. In other words, a footprint library is > defined as a directory of footprint files where each footprint file contains > a single footprint. I still have to implement the footprint

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Wayne Stambaugh
On 10/8/2012 7:11 AM, Kaspar Bumke wrote: Great to see some progress on this! I don't have time at the minute to look at it closer but am anxious to test it out. Please note that the new file format will create a file for each footprint in the current library file in a directory named from the

Re: [Kicad-developers] Fwd: Re: KiCad suggestion

2012-10-08 Thread Lorenzo Marcantonio
On Mon, Oct 08, 2012 at 01:46:40PM +0200, Tomasz Wlostowski wrote: > Assuming that Kicad will have an OpenGL drawing engine sometime, > this will not be a problem... Actually it will be a *bigger* problem :D texture size is limited... and 1024x1024 (many board actually support 4096x4096) is a big

Re: [Kicad-developers] Fwd: Re: KiCad suggestion

2012-10-08 Thread Tomasz Wlostowski
On 10/08/2012 12:26 PM, Lorenzo Marcantonio wrote: What would worry me is that an image of that kind would be probably *huge* especially if at high resolution. Blitting it efficiently could be tricky... Assuming that Kicad will have an OpenGL drawing engine sometime, this will not be a problem..

Re: [Kicad-developers] S-expression footprint library format.

2012-10-08 Thread Kaspar Bumke
Great to see some progress on this! I don't have time at the minute to look at it closer but am anxious to test it out. >Please note that the new file format will create a file for each footprint in >the current library file in a directory named from the current library file >name. So is this p

Re: [Kicad-developers] Fwd: Re: KiCad suggestion

2012-10-08 Thread Craig Southeren
On 8/10/2012 9:26 PM, Lorenzo Marcantonio wrote: On Mon, Oct 08, 2012 at 01:20:29PM +0300, Vesa Solonen wrote: Do you know why Scott wants independent scaling? Anyway... scaling with two factors is as difficult as an homogeneous scaling. Its more matter of the user interface. Given that the

Re: [Kicad-developers] Fwd: Re: KiCad suggestion

2012-10-08 Thread Craig Southeren
On 8/10/2012 9:20 PM, Vesa Solonen wrote: 08.10.2012 02:20, Craig Southeren kirjoitti: I'm hoping to have patches against the latest Kicad code available this week. I'd love some feedback ! I'm waiting eagerly to see it working! I was also expecting some public code somewhere or some status

Re: [Kicad-developers] Fwd: Re: KiCad suggestion

2012-10-08 Thread Lorenzo Marcantonio
On Mon, Oct 08, 2012 at 01:20:29PM +0300, Vesa Solonen wrote: > >Do you know why Scott wants independent scaling? Anyway... scaling with two factors is as difficult as an homogeneous scaling. What would worry me is that an image of that kind would be probably *huge* especially if at high resoluti

Re: [Kicad-developers] Fwd: Re: KiCad suggestion

2012-10-08 Thread Vesa Solonen
08.10.2012 02:20, Craig Southeren kirjoitti: I'm hoping to have patches against the latest Kicad code available this week. I'd love some feedback ! I'm waiting eagerly to see it working! I was also expecting some public code somewhere or some status updates on the list to see if you have fou