Dragging graphic line should drag connected lines

Bug #1664088 reported by John Beard
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
KiCad
Expired
Wishlist

Bug Description

When dragging a graphic line, any graphic lines that connect to that line (i.e. have an endpoint in the same place) should have that endpoint dragged too.

This is consistent with the behaviour of the line tool in drawing chained polylines, and would be helpful when editing things like PCB borders.

The lines are not stored in the PCB file as a chain of segments, but it should be "fairly" straightforward to support this by interating the list of all segments and checking endpoints.

The best outcome might be use of the point editor tool, like for zones, complete with "make corner" and "close", as well as the more advanced graphical editor, but this might be harder to do.

Side note: when done, the icon for the Line Tool should probably be the add_polygon icon (which is more like add polyline)

Tags: gal pcbnew
description: updated
Revision history for this message
Seth Hillbrand (sethh) wrote :

This is part of some geometry work along with lp:594060

Changed in kicad:
assignee: nobody → Seth Hillbrand (sethh)
milestone: none → 6.0.0-rc1
status: New → In Progress
Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Should there be a way to disconnect line segments with common points? I imagine this is also a valid use case (e.g. rounding a corner by inserting an arc).

Revision history for this message
Seth Hillbrand (sethh) wrote :

Agreed. Drag vs move just like tracks.

Seth Hillbrand (sethh)
Changed in kicad:
assignee: Seth Hillbrand (sethh) → Tomasz Wlostowski (twlostow)
Revision history for this message
Jeff Young (jeyjey) wrote :

I implemented a somewhat simplistic version of this for Eeschema line segments. See EE_POINT_EDITOR's cases for SCH_LINE_T.

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2048

Changed in kicad:
status: In Progress → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.