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=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UUFqI9Amnbh7PfGu6ZKyUIIbI8vCrdweiIlNQvP8viM=; b=0Svrqx6wUk10MzdTnms/zJXIhmpqKnbjd9Vmwa3UTdZzlRCz4lQtoyY9pvYlEStOwr I22QA21IDejZ6XXiKzdtUHmFNOOKLhaIL16OMcZ7CCzYOJgyieBRffwD1dlfPfGpTQNb PKS7pZcEBNLXmHKgwIR2E60ewT72WFpVyIew+blUB29U7JSqBTcOH/n52/fMwlfMdX4T Km6exF/Xcw8udr0mOQN8Y2/+cvpYut1m+T1chMOkeJFOG/lrGX0S7tORcJ9pEyuOCyM8 B5UKaT6IIP5oDUpNOvewXQuAQtkA2cVrc/wPMKvCRIi7EAv66geWC72I0VT2N9zQhVMn +6mQ== MIME-Version: 1.0 X-Received: by 10.194.21.199 with SMTP id x7mr29077033wje.63.1444602790167; Sun, 11 Oct 2015 15:33:10 -0700 (PDT) In-Reply-To: References: Date: Sun, 11 Oct 2015 14:33:10 -0800 Message-ID: Subject: Re: [geda-user] making DRC less misleading in the presence of shorts, non-routed rats, etc. From: "Britton Kerin (britton DOT kerin AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=047d7b5d95cb264fef0521dbcc04 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 --047d7b5d95cb264fef0521dbcc04 Content-Type: text/plain; charset=UTF-8 On Sat, Oct 10, 2015 at 7:50 PM, Kai-Martin Knaak wrote: > Britton Kerin wrote: > > [automatic "optimize rats" after DRC] > > > The problem is it's destructive: it resets the rats > so if > > > the user is trying to work on a subset of the board while > > > sometimes doing DRC refresh it's going to be annoying. > > Thinking about this again, I'd say, this is a scenario which won't > happen too often. Typically, either the layout is already completely > Well, it's what I always do. I route some subset, occasionally checking DRC to see if I've busten anything (I find auto-enforce annoying). So it would be very annoying for me at least. > routed but needs some modifications. Then there are not so many rats > to begin with. Or you are doing a portion of the layout for the first > time. Then the tracks should automatically conform to the currently > set design rules. So there is no much incentive to fire the design > rule checker in the first place. > > That said, why not put a check button in the DRC window to > activate/deactivate automatic "update rats"? > This is probably not a bad idea. It's still slightly weird in that it globs together a bunch of otherwise unrelated code (high interface-implementation divergence). > > The problems with this are: > > > > * unless you do a lot of work to do the above stuff, the results of > > the checks still won't make it into the DRC window, you'll just get > > messages > > and maybe a little bit of orange on the main display. > > This is (much) better than the current nothing. After all, connection > check never gives you more than messages in the log and a little bit > of orange in the main window. > > > * it's not obvious how to do it for non-gtk. > > Uh, the same as for GTK: Put a check button in the DRC results dialog > to activate automatic connection check. > lesstif doesn't have a DRC dialog, it just present violations one at a time. So you have to set and view this state somewhere else. > > An pop-up dialog to > > choose this each time would be really annoying > > Why a pop-up? > That's what it would be for lesstif > > > * it's still a lot more trouble than the one-liner even ignoring > > these issues > > IMHO, the resulting UI improvement is worth the effort. I have seen > more than one shorted board because the user failed to do a final > connection check before exporting gerbers. > Was the user new to gEDA, or not? My expectation is that experienced users always finish up watching the message log. It becomes your normal flow and isn't something you have to remember. That's how it is for me anyway and I'm not generally much good at remembering things, normally I always make code to remember for me when possible. If it's new users I think the one-liner handles this problem fine and has the virtue of being already done. If it's experienced users having this problem then you are correct and the more elaborate fix is worth it. Britton --047d7b5d95cb264fef0521dbcc04 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sat, Oct 10, 2015 at 7:50 PM, Kai-Martin Knaak <= ;kmk AT familieknaak.= de> wrote:
Britton Kerin wr= ote:

[automatic "optimize rats" after DRC]
>=C2=A0 =C2=A0 =C2=A0> The problem is it's destr= uctive: it resets the rats > so if
>=C2=A0 =C2=A0 =C2=A0> the user is trying to work on a subset of the = board while
>=C2=A0 =C2=A0 =C2=A0> sometimes doing DRC refresh it's going to = be annoying.

Thinking about this again, I'd say, this is a scenario which won= 't
happen too often. Typically, either the layout is already completely

Well, it's what I always do.= =C2=A0 I route some subset, occasionally checking
DRC = to see if I've busten anything (I find auto-enforce annoying).=C2=A0 So= it
would be very annoying for me at least.
= =C2=A0
routed but needs some modifications. Then there are not so many rats
to begin with. Or you are doing a portion of the layout for the first
time. Then the tracks should automatically conform to the currently
set design rules. So there is no much incentive to fire the design
rule checker in the first place.

That said, why not put a check button in the DRC window to
activate/deactivate automatic "update rats"?

This is probably not a bad idea.=C2=A0 It's = still slightly weird in that it globs
together a bunch= of otherwise unrelated code (high interface-implementation
divergence).
=C2=A0
> The problems with this are:
>
> * unless you do a lot of work to do the above stuff, the results of > the checks still won't make it into the DRC window, you'll jus= t get
> messages
> and maybe a little bit of orange on the main display.

This is (much) better than the current nothing. After all, connectio= n
check never gives you more than messages in the log and a little bit
of orange in the main window.

> * it's not obvious how to do it for non-gtk.

Uh, the same as for GTK: Put a check button in the DRC results dialo= g
to activate automatic connection check.

lesstif doesn't have a DRC dialog, it just present violatio= ns one at a time.
So you have to set and view this sta= te somewhere else.
=C2=A0
> An pop-up dialog to
> choose this each time would be really annoying

Why a pop-up?

That= 9;s what it would be for lesstif
=C2=A0

> * it's still a lot more trouble than the one-liner even ignoring > these issues

IMHO, the resulting UI improvement is worth the effort. I have seen<= br> more than one shorted board because the user failed to do a final
connection check before exporting gerbers.

<= div style=3D"">Was the user new to gEDA, or not?
My ex= pectation is that experienced users always finish up watching the message l= og.
It becomes your normal flow and isn't somethin= g you have to remember.=C2=A0 That's how
it is for= me anyway and I'm not generally much good at remembering things, norma= lly
I always make code to remember for me when possibl= e.=C2=A0 If it's new users I think the
one-liner h= andles this problem fine and has the virtue of being already done.

If it's experienced users having= this problem then you are correct and the more elaborate fix is worth it.<= /div>

Britton
--047d7b5d95cb264fef0521dbcc04--