← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Schematic Cleanup: Split lines atjunctions

 

I’m aware that it’s a internal representation.

If we can get eeschema to behave similar to pcbnew this would be great, I just don’t want all my wires
to be split automatically. 
Perhaps this is something to be included in the v.5 roadmap instead of beeing patched to current version?

Ideally, I’d like to have the ability to; delete a segment (backspace-key today), the entire wire (not possible in current version), delete between two wire corners (delete-key today), delete connection (only available in popup menu?).


From: Chris Pavlina 
Sent: Friday, May 20, 2016 11:26 AM
To: Thor-Arne 
Cc: KiCad Developers List 
Subject: Re: [Kicad-developers] [PATCH] Schematic Cleanup: Split lines atjunctions

The problem with "delete wire" is that "wire" is an internal representation. The display gives no hints where a wire starts and ends; collinear wires are possible and common. That makes "delete wire" unpredictable. I would much rather replace it with a similar but simpler (from the user's perspective) function.

pcbnew can delete a segment (which, due to its tendency to merge collinear segments, typically refers to a visual segment), delete a section (between the nearest two junction points), or delete an entire contiguous net. Maybe eeschema could have the same or similar functions?

On May 20, 2016 3:00 AM, "Thor-Arne" <lp@xxxxxxxxxxxxx> wrote:

  On  windows the current behaivior is;
     delete-key : delete whole wire
     backspace-key : delete current segment

  If these are not working on all platforms, this needs to be fixed.

  And there should be a hotkey to completely delete a wire with all nodes, perhaps clrl-delete.

  There is no need to change the behavior of the delete-key since that functionality already is there on the backpace-key. Doing this is in my opinion a regression.

  -----Original Message----- From: José Ignacio
  Sent: Friday, May 20, 2016 3:46 AM
  To: Simon Richter
  Cc: kicad-developers@xxxxxxxxxxxxxxxxxxx
  Subject: Re: [Kicad-developers] [PATCH] Schematic Cleanup: Split lines atjunctions

  The current behavior is fairly annoying, you can't really know
  beforehand how much the command is gonna delete, since collinear wires
  are not always merged (only when drawing more traces, not when
  dragging points), so sometimes it might delete just a single little
  chunk of the line, or the whole thing. I guess you could say it makes
  working with eeschema more exciting ;).

  On Thu, May 19, 2016 at 8:00 PM, Simon Richter <Simon.Richter@xxxxxxxxxx> wrote:

    Hi,

    On 20.05.2016 00:25, Thor-Arne wrote:


      Delete wire is on the delete button. and delete segment is on the
      backspace key.


    Ah, that makes (some) sense. To me, the behaviour of the delete key
    looks fairly nonsensical, because it will stop at corners, but not at
    junctions, while I'd expect "delete wire" to do the opposite.

    This leaves me with a difficult problem though -- I need net ties to
    actually generate different nets on both sides, so I need different
    wires that aren't combined in order to get different netlist items, but
    this makes the delete key behave differently for net ties.


      Please do NOT change the behavior of the delete buton, it is used all
      the time.


    Hm, as said I don't find it that useful, because most of the time it
    deletes a connection I still need, but leaves dangling segments. Would
    it make sense to replace it with a "delete connection" functionality
    that would never leave dangling ends?

    This still means I'm going to redo this patch stack -- the structural
    changes in the cleanup function still make sense IMO, but the logic is
    obviously wrong then.

       Simon



    _______________________________________________
    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

References