delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/03/05/14:20:19

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Sun, 5 Mar 2017 14:18:35 -0500
From: al davis <ad252 AT freeelectron DOT net>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] [dev][pcb] tEDAx - footprint format spec
Message-ID: <20170305141835.0a742dd8@floyd.freeelectron.net>
In-Reply-To: <20170305173428.1355A81075DD@turkos.aspodata.se>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1703051527300 DOT 7286 AT igor2priv>
<20170305173428 DOT 1355A81075DD AT turkos DOT aspodata DOT se>
X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun,  5 Mar 2017 18:34:28 +0100 (CET)
karl AT aspodata DOT se wrote:
> A first thing to do would be to make other parties agree on the first 
> line of the file, so programs have a chance to cheeply identify file 
> format and switch in another parser on the fly.
> 
>  A few first lines:
> gschem: v 20111231 2
> pcb: anything
> verilog-AMS: anything
> tEDAx: tEDAx v1
> kicad,
>  wings: #!WINGS-1.0
>  wrl:  #VRML V2.0 utf8
>  kicad_mod: (module CAP_RAD_5MM (layer F.Cu)
>  kicad_pcb: (kicad_pcb (version 4) (host pcbnew "(2015-05-18 BZR 5668)-product")

On the surface, that seems like a good idea, but I/you/we don't have
control of the various formats, so it might be difficult to convince a
committee of something like that.

Really, what's needed is for any reader to exit quickly and gracefully
if it isn't a match, so the caller can move on to something else.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019