delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/03/07/04:56:32

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=googlemail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to;
bh=PcghcYOQOAlf/zBnLNIZ1/4F1tam+H1G+JP5JhUD0rg=;
b=YaUZ8cR+8RtQthFJcH/Xk32pW9X9ivwR8MAFiG+pcRffJyxc25750VkpmZNcrjs0Au
+JTpvIIdu3A43R67aj0Nyu3CbVUcYdxvGIHAaHOI9nZ6JxngDIKryZ5VPUZMTGd28nQ/
xFpBatmQ1amZb+Tlm6kuaABp/Fb2r5mGxzhw3fugXIZq5ncpGeJJFFDiRsgbi7Dhbn/M
GMEV3Q3IPtJd4Rp56JXX9r3Lu5f+2gOHUxOrUBHLMisqBNfck9o7u6HssKIKfZBesqJh
uEZ57neBd86xrxdzdGbc79/fPTFfnK5KtPhCjU3GKy5aiSNU0u7Fv4ASpUIUOdDEbcJv
2R4A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to;
bh=PcghcYOQOAlf/zBnLNIZ1/4F1tam+H1G+JP5JhUD0rg=;
b=OwRFk9epv41wIgH2fjGBI542J6+z5n0rs/3xhZX3Q7KHUvVWPSdlJ4qkyqjYp/lxtV
rq3Em2fsilzVoS6fi6jKPs339P0t+pngQWLdMPmj4z+GH1tktil85cchNOWkXaXyo0Ha
rrd4cGHdHTLdgwParyEuP9NBzq5mYjI/92hpnVSbD961H5E9/LDMg8QO4amqy8ptTIx2
xUPojVdObqhOyf7kjCIrdFbq0p+lTpWGrqt+TQVjpGfTAZIKUdUVOKg7VaohcxwV4fa2
0MVTC1KEuA+aytmGG3hcUlFbXy1KGiM6Eah9xZMsV+a/jB5V1kMKV7k6WG5o4lr865Ye
32kQ==
X-Gm-Message-State: AD7BkJJNAOb/eLebnXj4Ya6AlgE6EfdH7GhKNwSpxjMs2I5YkfvfoAsd2kOerRoDaRLsU7Cac71oAl+O0GuDrw==
MIME-Version: 1.0
X-Received: by 10.182.230.6 with SMTP id su6mr1519639obc.16.1457344585545;
Mon, 07 Mar 2016 01:56:25 -0800 (PST)
In-Reply-To: <nbhl65$s8o$1@ger.gmane.org>
References: <CAC4O8c906DWZ-rm6Le2KU=CmE2-XBFkz3FPiRP-75Yj3vw4KaQ AT mail DOT gmail DOT com>
<201601262225 DOT u0QMP6km020651 AT envy DOT delorie DOT com>
<nbhl65$s8o$1 AT ger DOT gmane DOT org>
Date: Mon, 7 Mar 2016 09:56:25 +0000
Message-ID: <CAJXU7q_HCGfnKFzW=J_JhHMOBYST0Qw+JbKqytHE+Do_k4+XeQ@mail.gmail.com>
Subject: Re: [geda-user] how to you actually draw a polygon?
From: "Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: gEDA User Mailing List <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

--001a1134c1f45665c1052d727a07
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 6 Mar 2016 16:20, "Kai-Martin Knaak" <kmk AT familieknaak DOT de> wrote:

> A combination of 45=C2=B0 and 90=C2=B0 lines should always be able to clo=
se the
> polygon.

This is true, but given a fine grid, it isn't always easy to get the
vertices to line up as you might want to achieve that.

> In a perfect GUI the cursor would snap to the start vertex.

Not enough, unless we added some means to create two edge segments at once
(like with tracking).... it just may not be legal to insert that last edge
between the last clicked vertex and the start vertex.

One idea which might work (or might be horrid), is snapping such that the
crosshair lines (which can be 45 degrees too) land on some point of
interest, such as the start vertex. Not sure if this would work or not...
There may be too many potential snap points.

Like all
> snapping, the sensitive radius should be given in screen coordinates
> (rather then real world dimensions).

Indeed.

--001a1134c1f45665c1052d727a07
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On 6 Mar 2016 16:20, &quot;Kai-Martin Knaak&quot; &lt;<a href=3D"mailto:kmk=
@familieknaak.de">kmk AT familieknaak DOT de</a>&gt; wrote:</p>
<p dir=3D"ltr">&gt; A combination of 45=C2=B0 and 90=C2=B0 lines should alw=
ays be able to close the<br>
&gt; polygon.</p>
<p dir=3D"ltr">This is true, but given a fine grid, it isn&#39;t always eas=
y to get the vertices to line up as you might want to achieve that.</p>
<p dir=3D"ltr">&gt; In a perfect GUI the cursor would snap to the start ver=
tex.</p>
<p dir=3D"ltr">Not enough, unless we added some means to create two edge se=
gments at once (like with tracking).... it just may not be legal to insert =
that last edge between the last clicked vertex and the start vertex.</p>
<p dir=3D"ltr">One idea which might work (or might be horrid), is snapping =
such that the crosshair lines (which can be 45 degrees too) land on some po=
int of interest, such as the start vertex. Not sure if this would work or n=
ot... There may be too many potential snap points.</p>
<p dir=3D"ltr"> Like all<br>
&gt; snapping, the sensitive radius should be given in screen coordinates<b=
r>
&gt; (rather then real world dimensions).</p>
<p dir=3D"ltr">Indeed.<br>
</p>

--001a1134c1f45665c1052d727a07--

- Raw text -


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