Every time when I change or add some new components in the scheme editor, and I update the PCB, the new components are shown as a group, so I put them somewhere near the PCB and move them one by one.
The grid I use is 25 mils (or at least that is what I would like, although 20 is also fine). However, when I move components, they never get aligned to each other. When I want to have e.g. some resistors aligned, I move them and after the move there is mostly 5 or 10 mils difference and moving them doesnât help.
The only solution I have, is to change the grid size, correct the component, move it, and move back to 25 mils again. However this is quite tedious work⌠Is there a better approach?
Yes they are, sorry for forgetting mentioning it (actually my question is very generic, but in this case I have a lot of 0805 resistors, but I have the same problems with other components which have the same footprint).
I wonder if the fact the 805 is metric and you are using mils the things get prepositioned a little differently, like rounding errors. I know what youâre talking about but I generally just work with a really small grid on PCBnew so I can get things where I want them.
Iâd never get text where I wanted it on that course of a grid. I just live with components being a few fractions of a millimeter off.
Maybe this happened because you had different grid when you started, placed some components, changed the grid - and/or the grid origin - and placed new components. After that the old components are on the old grid and the new ones canât be aligned with the old ones without changing the grid.
You should use only one grid for all component positions if possible. Now you should move the old components to the new grid before continuing, otherwise it will get more and more complicated with each new component.
Unfortunately thereâs no âmove items to gridâ action which would move all selected items to nearest grid points. But you can try Align/Distribute from the context menu. Select all the wanted footprints which can be aligned vertically or horizontally. Open the right mouse button menu on the one which is in the correct grid in the right place. Choose the wanted align action, either vertical or horizontal (the menu items are misleading; aligning happens using the item on which the menu was opened and left/right or top/bottom work the same).
And yes, Iâm almost sure that happened (changing grid distance). What I did was place them using one grid distance. But when I want to optimize I changed them using a smaller grid size, and Iâm almost sure in some cases I did not put them back.
I searched for the alignment menu, but couldnât find it initially, but it depends what is selected. I think when I searched I accidentally also selected a via, text or trace, and in those cases (or some combination) the context menu is not shown⌠I tried it and it works great, although it can be tricky sometimes to select the components to be aligned, without selecting any other.
Also the âdistribute evenlyâ is a great option.
You can select one by one with Shift+click. If you use group selection box you can try first unselecting Tracks and Through Via in Layers Manager -> Items.
I know about the shift + click, also ctrl + click can help, but selecting via layers is really useful indeed; going to try that next time I need to align components.
You probably already know this, but I didnât when I started using KiCAD: when you are moving a component and snapping it to the grid, the point which snaps is not the footprintâs origin, itâs the point you selected when you selected the component. You can snap the center of a pad, or the corner of the courtyard, or many other points in the footprint, depending on what you want to accomplish.
When I was struggling with this I would have enjoyed having a âsnap to footprint originâ mode so it wouldnât matter where I clicked to select the componentâŚ
I also found this out, but even then I tried several (or more) times to find the âcorrectâ snapping point, without much effect. Also, even if it seems close, it is not good enough always, so I use either the alignment option from now on, or I keep in mind to restore the grid setting after doing an optimalization.
Thatâs wrong. If you have one footprint selected the snapping point when starting moving it is the anchor point of the footprint. But if you have several, itâs the point on which you clicked M or RMB - which is awfully wrong in most situations.
I forgot one thing for refining selection. Context menu -> Select -> Filter Selection. Selection filtering will probably be radically changed for 6.0, but the current system is handy enough.