kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #07874
Re: New Pcbnew file format.
Now that may be we're still in time (well in fact, now I think that could
be added lately without big impact..)
What do you think about adding a UUID (I see now that you used 'LPID'
for SWEET) to the PCB files, and also a revision number (that goes
incrementally on every modified save).
Also adding LPID to module/footprints would be great, think of the
concept for one moment:
You could be able to keep your brd files in a database (also
distributed), and check if your board version is the latest available, even
ask for upgrade from kicad.
Also, with LPID + rev number in the modules/footprints, you could
ask KiCad to interactively update your footprints from the
ones you have in the database. For example, somebody in your company could
have updated certain footprint to enhance manufacturability or fix a silly
orientation bug... etc.
I see a world of opportunities just adding:
* LPID (or UUID)
* File Revision Number (automatical/autoincremental)
And also keeping inside the .brd file: LPID + Rev Number of every
module.
I really love this idea, and I see that you already thought of it for
sch / lib parts.
2012/4/9 Dick Hollenbeck <dick@xxxxxxxxxxx>
> On 04/09/2012 10:07 AM, Wayne Stambaugh wrote:
> > On 4/9/2012 9:43 AM, Dick Hollenbeck wrote:
> >> Wayne and all,
> >>
> >>
> >> I feel better now about PCBNEW loading a BOARD with
> USE_PCBNEW_NANOMETRES defined after
> >> some work I did this weekend.
> > Dick,
> >
> > Great work! Thanks for fixing this so we can keep the new file format
> > compiled in and still use Pcbnew without having to build a separate
> > version with nanometers disabled.
>
>
> Sorry, I did not do this, at least not intentionally. :) Therefore if
> you're seeing it,
> it probably does not work :)
>
> Mostly I added DMils2iu( int_constant ) so that the PAD margins would not
> blow up since
> they were not being scaled.
>
> A hard coded
>
> 100 became DMils2iu( 100 )
>
> which then is a sensible internal unit, equal in length to 100 deci-mils.
>
>
> As I said last week, do not save your BOARD in legacy format with a
> USE_KICAD_NANOMETER
> build, since it will be saved in millimeters. Yet your footprints will be
> in deci-mils
> and you will have a mess.
>
>
> The flag USE_KICAD_NANOMETER tells LEGACY_PLUGIN to convert old board
> units to nanometers,
> in RAM during Load() and on disk during Save(). This special build is
> only for generating
> the s-expression file, then recompile please.
>
> Dick
>
>
>
>
> > Maybe we can get this fairly well
> > tested over the next few weeks and make it the default build.
>
>
>
>
> > Thanks again,
> >
> > Wayne
>
>
>
> >> I was a little nervous about that. It is still slow to load, I think
> this has to do with
> >> zone calculations being done in the higher resolutions, hopefully
> Jean-Pierre can help
> >> with that.
> >>
> >>
> >> To see Wayne's marvelous work, you can now load, then immediately save
> using Wayne's
> >> alternative file type in the save dialog window. Then check out the
> new file in a text
> >> editor.
> >>
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help : https://help.launchpad.net/ListHelp
> >>
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
> >
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
--
Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo
Follow ups
References