www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/15/18:37:08

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Envelope-From: paubert AT iram DOT es
Date: Wed, 16 Dec 2015 00:36:47 +0100
From: "Gabriel Paubert (paubert AT iram DOT es) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] merge please (or rebase if you must)
Message-ID: <20151215233647.GA28331@visitor2.iram.es>
References: <CAC4O8c_Jc98kmjDp_O2hKbY9BWWAjGk+nb0L5L=jqXfeTAYGGA AT mail DOT gmail DOT com>
<201512152309 DOT tBFN90dS016514 AT envy DOT delorie DOT com>
MIME-Version: 1.0
In-Reply-To: <201512152309.tBFN90dS016514@envy.delorie.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Spamina-Bogosity: Unsure
X-Spamina-Spam-Score: -1.0 (-)
X-Spamina-Spam-Report: Content analysis details: (-1.0 points)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40%
[score: 0.3568]
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 Tue, Dec 15, 2015 at 06:09:00PM -0500, DJ Delorie wrote:
> 
> PCB does support width!=height arcs, for example, the gerber HID has
> special code for drawing them.  Why are we removing support for them?
> 
> I note you use // for comments.  If we're going this route, we should
> update configure to test for a C99-compliant compiler.
> 
> arcs with square ends - yeah, we can probably ignore those.  Although
> it's better to keep the arcs (and drop the square end flag) than drop
> the arc completely.
> 
> In many cases in the geometry module, you use Vec where you mean
> Point.  Granted, the data is the same, but the meanings should be
> clear to the user, since it's part of the "documentation".
> 
> I think the debug markers should either be removed for now, or
> "completed" - added to all HIDs and documented with some
> programmer-specific documentation.
> 
> has_flag() shouldn't be needed as the parser converts strings on read.
> 
> The right way to ignore square flags on arcs is to update the flag
> parsing table so that it's not in the supported flags... oh wait, it's
> already ignored there.
> 
> Rather than check for zero-sized arcs, check for non-positive-sized arcs.
> 
> Foo foo foooo, twice.  With an abort, no less.
> 
> "double" type isn't precise enough to hold a pcb coord - "double" is
> 53 bits, but Coord is 64 bits.  Does this matter?


Not in practice, 2^53 nm is around 9000 km.
Or the other way around, even on a very large board (~1m), the LSB
represents a distance 6 to 7 orders of magnitude smaller than the
typical interatomic distance in solids.

BTW, slight pedantic correction, Coord is signed and should rather be
considered as 63 bit, or 31 bit on 32 bit machines on which I use it
quite often.

    Gabriel

- Raw text -


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