← Back to team overview

kicad-developers team mailing list archive

Re: Fwd: file format feedback

 

Am 10.04.2012 14:14, schrieb Wayne Stambaugh:
(tracks
   (net 1
     (track (xy 91.6686 85.4837) (xy 91.6686 81.8134) (width 0.6096)
(layer front))
     (track (xy 91.6686 81.8134) (xy 101.6686 85.4837))
     (via (xy 101.6686 85.4837) (size 1.6096) (layers back front))
   )
   (net 2
   )
)

Any one else have any thoughts on this before I make any changes?
Hi Wayne,

looks pretty nice, perhaps I'd change the order of the attributes - the ones that are often changed at last. I'm doing that for the GAL and someone has to set the width for instance first and then follow the coordinates. This way a speedup is possible and it's perhaps easier to parse. You can compress the file and only attribute changes are required.

e.g.

(track (layer front) (width 0.6096) (xy 91.6686 85.4837) (xy 91.6686 81.8134) (width 0.3020) (xy 50.6567 30.3767) (xy 20.3467) (xy 34.3557) )

A track on the front layer stepped down to 0.3020 after two coordinates.

Thanks,
Torsten


References