← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Show targets on bus entry as well, hide when connected

 

Okay, I see what you're talking about in the video demo. Here's a quick 
screenshot for those who want to follow along:

http://misc.c4757p.com/video-demo-block.png

Simply put, those wires ARE being displayed correctly. The *ends* *are* 
dangling. Nothing is connected to them. There is no possible way I could 
write a test that detects that a label is on the wire and somehow 
decides which end to associate it with, hiding the target.

The point of hiding the targets is to show that *that* connection point 
is correctly in use. These are not in use, so why hide the target? The 
equivalent here is the target on the label itself, which has always 
hidden when connected.

If you're going to use labels to make connections, and want the targets 
to disappear, then you'll have to place the label target on the wire 
target. This is the same as for pins, if you stick a pin in the middle 
of a wire and connect it with a junction, the *end* of the wire is still 
not connected.

I think this is correct behavior.

On Tue, Jun 09, 2015 at 03:33:56PM -0400, Wayne Stambaugh wrote:
> How does this bus connect to another bus without a label that looks
> something like A[19..32] on other open ended buses?  Unless the bus is
> directly connected I believe the label is required.
> 
> FYI.  I need to get my eyes checked.  If a wire doesn't end on the label
> connection point, then open ended wires are shown as unconnected.  It
> looks the dangling end test is in need of some improvement.  Again, see
> the video demo.  There are examples of both cases.
> 
> On 6/9/2015 3:24 PM, Chris Pavlina wrote:
> > No, I just mean things like this:
> > 
> > http://misc.c4757p.com/bus.png
> > 
> > The bus is very frequently drawn past the end of a row of connections to 
> > emphasize the fact that it is a bus.
> > 
> > (Imagine the bit going off to the right goes somewhere else.)
> > 
> > On Tue, Jun 09, 2015 at 03:17:52PM -0400, Wayne Stambaugh wrote:
> >> Yes, but typically in open ended bus use case they have a label attached
> >> to them that makes the connection.  The same thing can be done with
> >> wires which does show the connection status correctly when a wire is
> >> open ended but has a label attached to it.  The video demo project is a
> >> good example of both behaviors.  It's not that important but some users
> >> may wonder why the difference between wire and bus connections.  It's
> >> something to think about.
> >>
> >> On 6/9/2015 2:30 PM, Chris Pavlina wrote:
> >>> I'm not sure about that one - it's common to draw buses in a manner that 
> >>> leaves their ends open.
> >>>
> >>> On Tue, Jun 09, 2015 at 01:43:56PM -0400, Wayne Stambaugh wrote:
> >>>> I've tried this patch and it works as expected.  Good work Chris.  Does
> >>>> anyone have any objections to this patch before I commit it?
> >>>>
> >>>> One other thing I noticed is the bus wires (and I'm guessing bus entries
> >>>> as well) do not have any segment end point connection indicators.  It
> >>>> would be nice if they supported them as well.
> >>>>
> >>>> On 6/8/2015 5:38 PM, Chris Pavlina wrote:
> >>>>> Hi,
> >>>>>
> >>>>> I already sent in this patch but as a reply to my existing pin targets 
> >>>>> thread; I think it may have got lost. This patch enables pin "targets" 
> >>>>> on bus entries as well, as Wayne suggested, and hides them when the bus 
> >>>>> entry is connected.
> >>>>>
> >>>>> --
> >>>>> Chris
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Mailing list: https://launchpad.net/~kicad-developers
> >>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>>>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>>>> More help   : https://help.launchpad.net/ListHelp
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> Mailing list: https://launchpad.net/~kicad-developers
> >>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>>> More help   : https://help.launchpad.net/ListHelp
> >>>
> >>> _______________________________________________
> >>> Mailing list: https://launchpad.net/~kicad-developers
> >>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>> More help   : https://help.launchpad.net/ListHelp
> >>>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help   : https://help.launchpad.net/ListHelp
> > 
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
> > 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References