Wish: add ability to snap to line intersection (lp:#1804632)
Original report created by eelik (eelik)
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.)
Original tags: pcbnew