www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/08/12/18:20:27

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: 556917 DOT 5929 DOT bm AT omp1055 DOT mail DOT ne1 DOT yahoo DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1407882017; bh=Cr1XtKDn2Z/nCbVoJiq/B59RvpA0Bj/bNr89VGCmtSk=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vNDeePQ+dENwPdIcOj31sNYQgyV489ETZb2CU/ckzSKI+VzR6FGMlWVGTzSxHGLnPdA6ZVxJzf+R1DAd37E5GEz5llkoBpf8M7fajNRqxMMrfnuPC/vG4WCTExodLEnO9H/UOw2iUGnGTqowlodJrAuaHYclo53t/v+wdOq1W/E=
X-YMail-OSG: mR6H91oVM1k7OFmJJRcQCCU2ACmMFZGVfucNnwRuoDI81OV
Fb6TML..k12paD1OhuT6TOjjeG9dsWfObwp7H0ytrPZKps_VAYgJfnefUlIL
.gGjsIGi9tNrra3ScWA8NcuA8IOS5Cnppcwxe7bKZSK3Go2K4bhW_M.FDfEk
N0zPZnPJ76qIJE3.uw4PrCqz.RkOhrWURadOiGwfZ9J0DaoMEOyEJkE7Bc91
.PEIlwAkvhSPeq3KzGrD6P8pgIL4uVCXoYi0S_28WPRLyxsIAILj24hE5hDn
Yd7ae7T97f1LeMK1TAXZEFMW8svTn.mXmXW3R7TYJA6vu3BdtZNpJmLfsh3_
gfau5tCED_1u._hzfX_zFP5aO6QFr4dNMY6g.w3my1GK7tcx4kJQWfj0QZCM
Q0pN37uQqUvLsWPPmKM00GBwAMVGNNEAPLIdGwfU0ifNzlKdcRdpa6XWgtoV
GezYEe8F_sESa8DmfsLs478IPMh6xf.drI33dugyGBwMD14gmZyfbO.PnTQ9
zIQXrtXEO8OchwKjV1m.Mr9siX.7zcyTxWtDu174a5Dgsnc6FRf8X7.1._BM
-
X-Rocket-MIMEInfo: 002.001,CgoKCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0KPiBGcm9tOiBEYXZlIEN1cnRpcyA8ZGF2ZWN1cnRpc0Bzb25pYy5uZXQ.Cj4gVG86IGdlZGEtdXNlckBkZWxvcmllLmNvbQo.IENjOiAKPiBTZW50OiBXZWRuZXNkYXksIEF1Z3VzdCAxMywgMjAxNCA3OjI2IEFNCj4gU3ViamVjdDogUmU6IFtnZWRhLXVzZXJdIHJzLTI3NHggbml0cwo.IAo.IE9uIDA4LzEyLzIwMTQgMDE6NDkgUE0sIENpcmlsbyBCZXJuYXJkbyB3cm90ZToKPj4gIC0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0KPj4gCj4.PiAgRnIBMAEBAQE-
X-Mailer: YahooMailWebService/0.8.201.700
References: <53EA540E DOT 9000609 AT sonic DOT net> <1407876579 DOT 79247 DOT YahooMailNeo AT web120502 DOT mail DOT ne1 DOT yahoo DOT com> <53EA8692 DOT 4090902 AT sonic DOT net>
Message-ID: <1407882017.64999.YahooMailNeo@web120501.mail.ne1.yahoo.com>
Date: Tue, 12 Aug 2014 15:20:17 -0700
From: Cirilo Bernardo <cirilo_bernardo AT yahoo DOT com>
Subject: Re: [geda-user] rs-274x nits
To: "geda-user AT delorie DOT com" <geda-user AT delorie DOT com>
In-Reply-To: <53EA8692.4090902@sonic.net>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s7CMKLt5029811
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




----- Original Message -----
> From: Dave Curtis <davecurtis AT sonic DOT net>
> To: geda-user AT delorie DOT com
> Cc: 
> Sent: Wednesday, August 13, 2014 7:26 AM
> Subject: Re: [geda-user] rs-274x nits
> 
> On 08/12/2014 01:49 PM, Cirilo Bernardo wrote:
>>  ----- Original Message -----
>> 
>>>  From: Dave Curtis <davecurtis AT sonic DOT net>
>>>  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.
> 
> NO!  That directly conflicts with #1 "CR and LF no effect."  Which is 
> it?
> 


Well, as 2 of us have already said, it's both. If you look at #2 the
specification does state that data blocks are an exception and that
CR/LF are only allowed after a ',' within a data block. The specification
is very clear that this is an exception, so why do you insist that it
violates the other general rule?

- Cirilo


- Raw text -


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