www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/03/06/17:59:49

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=pHOtfnfMCO9aTxKeMyZIfwpAx1C4EXlQxi+T2DRzJRE=;
b=YIAAVXFyC7FfemryJSbg/LfsvxI2t5Ey/lfjFF6/+yG4QqcJAdcGZ/kNrbEGOHTEvx
B6ewBTdwU21CbHATIRMVMDmVhcmU8LfRj8l4ygT914s+FhWLRgjrAfWPJi0AOOQkfHFS
xd+VwG3l4jVlNaOxJqttF20ZBHlFO2T8yRAsN+LjjeS3WrGO6JPSoKCfEhbcCLEP6nmS
2OBSVNeDI9nHVBnM2ETJi8rHOqUbPrx5ALXZL72io+Lp6vrsZCVp8kRtwcH0/fqnkV86
2RlxViCjGygkouzA/qJuXHujo0oHZc5TmJrBqtydtgTWxvz+fcQoNVg+HaVhMFT5dxhN
HkoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=pHOtfnfMCO9aTxKeMyZIfwpAx1C4EXlQxi+T2DRzJRE=;
b=foASDXxCMN/RUcWvhl2ZpagTp/A5X8wZKXOmnVC7gn5kbcpucRsdi019NlJGhL9/PH
u5EIPtbdfW5POaoMtJw7IE3T+Jk0OxwJFFGXJ4fkkeEikwrWjYL4i4670JYg6wKin2WM
J29pe116DDGvPHBrhMwyRA02hYtBMeSxDrMWRJQalKvVlSumAoOSochSe8kdhpFzFa6Z
xQATLAF4i7YAumKRWYta9BhgcizYwWOSGXaqtaTwNwHiLYxP6QMoq5yC4a02RCcpXywX
md0C5FFyoa4o0ze0pyn19zOJjmEE9IQ50PGlNMImWV9cWEKXLMNJouveydjOj8zRYbqP
pc/g==
X-Gm-Message-State: AMke39kz64LOM5z2mmisjHsMHQb0bF06z0cxCGQxLfgiuK9Dg/BNKCGzouJTsXJM0bI1NMA/vDSPzSLNN6nZyQ==
X-Received: by 10.28.182.10 with SMTP id g10mr16061483wmf.123.1488841095654;
Mon, 06 Mar 2017 14:58:15 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <20170306220819.0a3d94a79f74b74976ff82d9@gmail.com>
References: <CAGqyy=bjaaMDLLybUPdE=3h1eb4puBmHQuJL4YwFy8Nvyv5R9A AT mail DOT gmail DOT com>
<CAGqyy=a7SFSnSUeBSiZBYFidGB=k3B=DQfHZD=Z6YqLn6FEj3w AT mail DOT gmail DOT com>
<20170306212421 DOT a658cb36967460efbe4ba474 AT gmail DOT com> <CAGqyy=ZZB+Q6T0o4x8OP0LB3pBi0XPu3T+mW4-twTEZTxJsvAg AT mail DOT gmail DOT com>
<20170306220819 DOT 0a3d94a79f74b74976ff82d9 AT gmail DOT com>
From: "Luis de Arquer (ldearquer AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Mon, 6 Mar 2017 23:58:15 +0100
Message-ID: <CAGqyy=bYZO8zpxMb90K2Ka3LjGG8SEEBvKZMnBDdLke4i=JEyg@mail.gmail.com>
Subject: Re: [geda-user] Rubberband move keeping lines direction
To: geda-user AT delorie DOT com
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

2017-03-06 22:08 GMT+01:00, Nicklas Karlsson
(nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]
<geda-user AT delorie DOT com>:
>
> If it work for any angle just a little bit of grid snapping to compensate
> for rounding errors should solve it for the special but very common case of
> 45/90 angles.
>

I thought about rounding errors too, but in the end, floating point
(double really) works pretty well, so 45/90 tracks keep their
orientation perfectly, to the 100th of mil (i.e, same dx and dy module
for 45deg tracks). The problem was that, snapping to grid for any
angle is perhaps impossible -think of a neighbour track with a 100/1
slope, it would distort the cursor movement so much. Also, if both
neighbour lines have cumbersome slopes, it could even be impossible to
do a grid aligned movement at all.

But yeah, 45/90 could definitely benefit from grid alignment!

Luis

- Raw text -


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