Mail Archives: geda-user/2012/12/14/08:32:34
On Fri, 14 Dec 2012, Chris Smith wrote:
> On 14/12/2012 10:36, gedau AT igor2 DOT repo DOT hu wrote:
>>
>> On Fri, 14 Dec 2012, John Doty wrote:
>>>
>>> How about having the user affirmatively declare it before drawing?
>>> Touch a known object, or select from list, or type netname (could
>>> implement all of these). Prominently display the netname under
>>> construction in status somewhere.
>>
>> Finally, after so many emails, an idea... Let the user tag each object
>> manually.
>
> I don't think you fully understood John's suggestion -- or perhaps I
> misunderstood. The software can follow a few simple rules to achieve
> most of this automatically as the user is drawing:
>
> 1. if a track is started at a pin/pad the track inherits the netname of
> that pin/pad;
>
> 2. if a track is started in free space it has no net association; and
>
> 3. if a track that has no net association is subsequently connected to a
> pin/pad or net-associated track, the track inherits the netname of that
> pin/pad or track.
I think this is the method Markus proposed, with a few more rules to
handle some of the corner cases (floating nets connected later).
John's (and Levente's) proposal was a slightly different approach:
instead of (only) guessing the tag from what the object first touched, the
user should (also) set it explicitly ("or select from list, or type
netname"). I'd like to handle two cases separately, because they are
different approaches (assuming or explicitly setting) but if it's proven
that both would work and would be useful, combining them would also work.
In this system your above method is Markus' first touch method and some
extra details. With these details it would work better and would not
restrict the user to build traces only in one way, but I still have some
questions:
1. what happens if I cut an existing, tagged net in a way a segment falls
off? Does it become a floating (not associated) net or, does it keep its
tag reflecting original user intention?
2. What happens if I draw a line accross the board shorting two random
nets? I started the line in the middle of nothing, so it would be
floating (if starting point matters; causing 2 shorts); or would it be
attached to the net of the first line it hits (first touch; only one
short, with the second line)?
3. alternative wording of 2.: what happens if I add an object that
connects an existing floating net to two existing non-floating nets in the
same time?
Regards,
Tibor
- Raw text -