← Back to team overview

kicad-developers team mailing list archive

Re: New Pcbnew file format.

 

On 8/04/2012 8:23 p.m., Dick Hollenbeck wrote:
On 04/08/2012 11:38 AM, lajos kamocsay wrote:
Hi Wayne-


The new file format looks awesome. Very simple and readable.

Would it be possible to standardize the transformation data? Currently
there seems to be a couple different formats, some examples:

  (draw line (pts xy(76.581 47.9425) xy(77.724 47.9425)) (layer 21)
(width 0.127))

  (size 1.016 1.651)

  (at -1.524 0)

  (at (xyz 0 0 0))
  (scale (xyz 0.17 0.16 0.16))
  (rotate (xyz 0 0 0))


Thanks, Wayne for your work.
Here is my first thoughts

(layer 21)

uses an internal pcbnew value to identify a layer.
I am thinking something like

(layer SILKSCREEN_FRONT)

is better.

Also I am thinking inside the brd file, a field giving current units is good:
something like (unit millimeter)



--
Jean-Pierre CHARRAS


Follow ups

References