X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 356144 DOT 73645 DOT bm AT omp1051 DOT mail DOT ne1 DOT yahoo DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1407876579; bh=Tjz+Z/PoTeSd5ZTYeXgaLHMCnozDY1z9gI1xCwy/ZyY=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=E2QDZUSPrtgMFyueQJTrXoCiMaRvSCq+nbsM2IIb6RmFiPFIKJ9Xm3YD9yeiAt6z43dRw2SBG4SFRpxsAWFbxMVH6rqNOMsK44GelpHdX5nZtf9ZoIphI1II4qjlREXxWFydWAh+VpgStA2eY7WhOeKAkcBhtN6WLQh46TxD82U= X-YMail-OSG: AzzR.qUVM1lHccuCvlK8OzXLoxzlvqygFvzRZj4vUh6vei0 pTrGseYrFoK44WVXKbgF2RpTKZ6qqXDqFEFXRBixH1C40.EL82ZEsDdRYBTD BIXg8CkIKzPteZTw_OIDF_nkP5gApkZ921EnnQQxhazgrZCioIKB_ER6Od0p LlTc.VmsbE.FWr5h1VGbZIrbn9oUJsl4RqcQgFQQ73yt3kFoWHixmTi7ZBRG qIiRvT7q6rH1AEF1J0Bmnl8ldy3mXRrD2eVkXA7pXJsIsO6wQpe.7tThnAzF hip2DynoZzAWfIWygh78nKBBT1HuTd1rypjho5mh4FH8WlRDA1gDIiAc5ssF PIPI4InU0LDJQPjJYn3Ogdr3wEAusA3cD7cFfYjCrDzzTg3xNK0YcnRmvGI. JgqS6fXOUK3G0tX7pM9njcOzEVKH8UUl3o6A6zSQIdbuiziBL.08kyh3LbN9 xH8AWy1MyxqTke2esLklGYQ6NZpcMakMfOwf.EG9vOlExpnCJq8_0i7zPwUj GgyhRs1sj.ULM68AxBz9JsjFri_clG0CpOxoTuGkVGmdHdV3CdmFMJzBJwAt EOg-- X-Rocket-MIMEInfo: 002.001,LS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLQoKPiBGcm9tOiBEYXZlIEN1cnRpcyA8ZGF2ZWN1cnRpc0Bzb25pYy5uZXQ.Cj4gVG86IGdlZGEtdXNlckBkZWxvcmllLmNvbQo.IENjOiAKPiBTZW50OiBXZWRuZXNkYXksIEF1Z3VzdCAxMywgMjAxNCAzOjUxIEFNCj4gU3ViamVjdDogW2dlZGEtdXNlcl0gcnMtMjc0eCBuaXRzCj4gCj4gSSdtIHRyeWluZyB0byBpbnRlcnByZXQgdGhlIGdlcmJlciBmb3JtYXQgc3BlY2lmaWNhdGlvbiBkb2N1bWVudCAKPiBhdXRob3JlZCBieSBVY2FtY28uCj4gCj4gMS4gT24BMAEBAQE- X-Mailer: YahooMailWebService/0.8.201.700 References: <53EA540E DOT 9000609 AT sonic DOT net> Message-ID: <1407876579.79247.YahooMailNeo@web120502.mail.ne1.yahoo.com> Date: Tue, 12 Aug 2014 13:49:39 -0700 From: Cirilo Bernardo Subject: Re: [geda-user] rs-274x nits To: "geda-user AT delorie DOT com" In-Reply-To: <53EA540E.9000609@sonic.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s7CKnhP1024854 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 Precedence: bulk ----- Original Message ----- > From: Dave Curtis > To: geda-user AT delorie DOT com > Cc: > Sent: Wednesday, August 13, 2014 3:51 AM > Subject: [geda-user] rs-274x nits > > I'm trying to interpret the gerber format specification document > authored by Ucamco. > > 1. On page 35 it says: > The line separators CR and LF have no effect; they can be ignored when > processing the file. It > is recommended to use line separators to improve human readability. > > 2. On page 36 it says: > It is recommended to add line separators between data blocks for > readability. Do not > put a line separator within a data block, except after a comma separator > in long data blocks. > The line separators have no effect on the image. > > > 3. on page 40, talking about closing parameter blocks it says: > The ‘%’ must immediately follow the ‘*’ of the last data block without > intervening line separators. > This is an exception to the general rule that a data block can be > followed by a line separator. > > #3 is clear enough. > > #1 and #2 seem to be in conflict.  A strict reading of #1 would say that > CR and LF should simply be expunged, and that CR/LF could even split > G-coded, numbers, etc., like this: > G > 03 > X > 123 > * > Which seems odd, but is a result of strict reading of #1.  But is in > conflict with the advice of #2. > > It's easy enough to comply with the advice of #2 while writing.  But if > reading RS-274X, should CR/LF's that split lexical units be ignored? > Although I realize that even if legal, I doubt if anyone writes gerber > that way. > > -dave > There is no conflict at all: 1. The CR/LF are optional; you do not need them but they are recommended to make the file look better to humans. 2. If you use CR/LF to make a data block look prettier, you can only use CR/LF after a comma. - Cirilo