Wish: add ability to snap to line intersection

Bug #1804632 reported by eelik
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Unknown

Bug Description

While drawing different kinds of outlines in pcbnew I have found the "snapping points" feature extremely useful. It would help further if I could snap a line ending to a point where that line crossed another line (in the same layer) when I selected that line. It would be useful when creating corners for a polygonal shape.

The simplest case is drawing a plus sign with two lines. Then I would like to create a corner by cutting off the extra length from those two lines. Now I have to first position one line end exactly to the point where the two lines cross. Then I can drag the other line's end with Alt pressed. But the first more tedious positioning would be unnecessary if I could snap to the point where the two lines cross.

I guess that in implementation level this could work like this:

When a line is selected, add snapping points to places where that line crosses other line(s) in the same layer. Even if the line or a endpoint is moved, these points would stay where they were. When the line is deselected the snapping points were removed. Possibly the points could be removed and recreated when dragging is released to a new position.

On the other hand it could be useful to have snapping points in all crossings even while positioning something else than those crossing lines. But that would require more calculations when all snapping points are activated.

(No specific version information; applicable to the latest development version.)

Tags: pcbnew
Seth Hillbrand (sethh)
Changed in kicad:
importance: Undecided → Wishlist
status: New → Triaged
summary: - Wish: add ability to snap to line crossing
+ Wish: add ability to snap to line intersection
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/2290

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Wishlist → Unknown
status: Expired → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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