feature request: Snapping in footprint editor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Unknown
|
Bug Description
I want to design a footprint with lines that are not on the grid. For instance I want to place a rectangle on F.CrtYd that is 0.15 mm bigger than the rectangle on F.SilkS.
Currently I have to do this:
-Draw 4 lines on F.CrtYd.
-double click on each one, and then edit the line segment properties
What I would like to do is:
-Draw one diagonal line on F.CrtYd.
-Double-click on that line, edit the endpoints so the 2 points are 0.15mm off grid.
-Enter draw a line mode, and snap on the off-grid endpoint. Now the cursor snaps on the grid, so I see a straight line that starts from the off grid point, and end on a grid point. The line is now not a 90 or 45 degree angle.
-Press CTRL. Now the line is restricted to vertical, 45 degrees and 90 degrees. For a vertical line, the cursor snaps vertically on the grid, but not to the horizontal grid, so it can land on coordinate x=10.15,y=12.00
-When the user makes a vertical line using the ctrl key with x=10.15 and then goes near a horizontal line where y=13.45, the cursor should then also snap to x=10.15,y=13.45
I think the footprint editor can snap by default on objects in the current layer, and optionally snap on objects on all layers. This can create a problem when there an object that is very close to the grid. If the user is zoomed out, should the cursor snap on the grid, or on the object? If the user is zoomed in, there's no problem, the user can just see what he is snapping to. Can a user choose this by pressing a key like shift or alt?
Versions:
Application: ModEdit
Version: (5.99.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1d zlib/1.2.11 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh2/1.8.2 nghttp2/1.39.2
Platform: Linux 4.9.196-1-MANJARO x86_64, 64 bit, Little endian, wxGTK
Build Info:
Build date: Oct 13 2019 09:16:33
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.71.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.66.0
Compiler: GCC 9.2.0 with C++ ABI 1013
Build settings:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
KICAD_
KICAD_
KICAD_
PCBnew is being debugged in Qtcreator
tags: | added: pcbnew |
Changed in kicad: | |
importance: | Undecided → Unknown |
status: | Expired → Fix Released |
This should already be supported in 5.1.4. It could however be that you need to use the alt key to deactivate snapping to the grid to make it easier to get kicad to snap to your first drawn line.
And to be honest the user grid might be the better option for your described usecase (faster and easier to use) /forum. kicad.info/ t/tutorial- how-to- make-a- footprint- from-scratch/ 11092
I detail the use of the user grid in https:/