Author Topic: How to move all layers at the same time  (Read 5954 times)

0 Members and 1 Guest are viewing this topic.

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
How to move all layers at the same time
« on: November 23, 2021, 12:03:37 am »
I'm evaluating KiCad 6.0-rc1 for move from Eagle, and it is a huge improvement compared to v5.

One thing I can't figure out is how to select and move components and traces on all layers. It looks like no matter what I do, selection tool only selects things on the active layer and when I try to move it, only selected things move.

So I have to separately move all electrical layers and mechanical layers too.

How do I select everything? It is a silly thing, but it does not come up too often in the tutorials.
Alex
 

Offline bson

  • Supporter
  • ****
  • Posts: 2269
  • Country: us
Re: How to move all layers at the same time
« Reply #1 on: November 23, 2021, 03:21:48 am »
Weird.  When I draw a rectangle to select a bunch of stuff and hit the 'm' key to move the selection, it all moves regardless of layer.  (Though I admittedly only tested it on a 4 layer layout with GND,PWR on the inner layers.)

This is on a nightly: (5.99.0-13283-gf5fc9fa11f), release build
« Last Edit: November 23, 2021, 03:25:37 am by bson »
 

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: How to move all layers at the same time
« Reply #2 on: November 23, 2021, 03:36:14 am »
I'm on a nightly builds and after some update 5.99 changed to 6.0.0-rc1, so I guess they are very close to release.  Although the package is still 5.99.0+really5.1.10+dfsg1-1

But the issue was there even on 5.99. A simple test - draw a line in Edge.Cuts layer, then draw a line in in F.Cu. F.Cu remains active layer. Draw selection rectangle, M for move. Only a line in F.Cu moves. This clearly makes no sense, and I don't see any settings for that.

It would also be a weird bug, so this appears intentional, and I'm just doing something wrong.

Even Ctrl-A for Select All only selects things in the current layer.
« Last Edit: November 23, 2021, 03:44:17 am by ataradov »
Alex
 

Offline I wanted a rude username

  • Frequent Contributor
  • **
  • Posts: 627
  • Country: au
  • ... but this username is also acceptable.
Re: How to move all layers at the same time
« Reply #3 on: November 23, 2021, 08:25:20 am »
Do you have a selection filter applied? (All boxes in the Selection Filter toolbox should be checked.) Otherwise I'm not sure what would be causing the behaviour you're seeing ... I'm running 5.99.0-12374 and it behaves the same as always, i.e. Ctrl+A selects everything on all layers and a subsequent M moves all those things.

By the way ... it kind of solves the opposite problem (too many selected), but if you haven't played with it yet, once you have selected many items, try right-click -> Select -> Filter Selected Items...
 

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: How to move all layers at the same time
« Reply #4 on: November 23, 2021, 05:42:30 pm »
Yes, all the boxes selected. I tried deselecting some/all of them and they behave as expected, so selection of corresponding items gets disabled. But with the added issue of only selecting items on the current layer.

So, something is broken on my side.
Alex
 

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: How to move all layers at the same time
« Reply #5 on: November 23, 2021, 07:51:49 pm »
I figured it out! There is a button to toggle inactive layers between normal and dimmed. This is a nice visual feature that lets you focus on the active layer, reducing the visual noise.

Well, as it turns out it is not only a visual feature, but it also disables selection on those inactive layers.

This sucks. Who even came up with this?

Now the question is - is there a way to have both - ability to edit whatever and have all layers but active be dimmed?
Alex
 
The following users thanked this post: I wanted a rude username

Offline Bassman59

  • Super Contributor
  • ***
  • Posts: 2501
  • Country: us
  • Yes, I do this for a living
Re: How to move all layers at the same time
« Reply #6 on: November 23, 2021, 10:14:28 pm »
I figured it out! There is a button to toggle inactive layers between normal and dimmed. This is a nice visual feature that lets you focus on the active layer, reducing the visual noise.

Well, as it turns out it is not only a visual feature, but it also disables selection on those inactive layers.

This sucks. Who even came up with this?

Now the question is - is there a way to have both - ability to edit whatever and have all layers but active be dimmed?

Might be time for you to file your first bug/enhancement request.

Start here.
 

Offline bson

  • Supporter
  • ****
  • Posts: 2269
  • Country: us
Re: How to move all layers at the same time
« Reply #7 on: November 24, 2021, 12:39:02 am »
I noticed a similar thing with zones; when in outline mode they never get selected by drawing a rectangle (unless it includes the edge).  In fill mode (even if semitransparent) they do, so selecting a component and a few traces also selects any power plane(s) or other zones underneath.  And consequently moves it/them with 'm'.
 

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: How to move all layers at the same time
« Reply #8 on: November 24, 2021, 02:52:03 am »
I will need to figure more stuff out before filing bug reports.

Another thing that I can't get working is snapping to grid. When I update PCB from the schematic, footprints get placed at random coordinates. I have a 0.01" grid, which I want to use for component placement. Everyone seems to have their move command snap to grid by default. In my case the increments are on the grid, but the center itself does not snap to the grid.

The only way I found to fix this is to edit component properties and round the coordinates down to 0.01", which works, but annoying.
Alex
 

Offline bpiphany

  • Regular Contributor
  • *
  • Posts: 129
  • Country: se
Re: How to move all layers at the same time
« Reply #9 on: November 24, 2021, 08:17:40 am »
General things to remember

1. Box selection works differently if drawn from left to right or right to left. One selects partially covered items, the other only fully covered items.

2. When activating the move command the pointer may snap to pads if hovered over them rather than the center of the part. I have never experienced that the pointer doesn't snap to the grid though.
 
The following users thanked this post: I wanted a rude username

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: How to move all layers at the same time
« Reply #10 on: November 24, 2021, 08:23:13 am »
1. Yes, this is how CADs worked for ages.
2. Cursor does snap to the grid, the component center does not. Let's say I have a 0.1" grid and a resistor that is currently at a coordinate (1.15, 3.21). If I select it, I can move it to coordinates (1.25, 3.21) or (7.15, 3.61). But I can't move it to (1.1, 3.2).

So, mouse snaps to the grid. But if you are moving a component that is already not on the grid, it never will be on the grid with this approach.

Once I manually edit component location to be on the grid, all following movements are working as expected.
Alex
 

Offline bpiphany

  • Regular Contributor
  • *
  • Posts: 129
  • Country: se
Re: How to move all layers at the same time
« Reply #11 on: November 24, 2021, 09:17:38 am »
Now you coerced me into installing the nightlies..

I seem to be able to "break" the snap by unchecking

Preferences -> Preferences -> Editing -> Warp mouse to origin of moved object



(I have had an annoying bug where rendering stops working while moving things (plus some other random graphic updates) when switching between programs. Requiring a restart of Kicad to fix. That seems to have gotten worse than ever in the nightlies, bordering on unusable.)
 

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: How to move all layers at the same time
« Reply #12 on: November 24, 2021, 05:12:20 pm »
This is it. Now things work as expected. I tried all the settings I could find, but I missed that one because it is in "Common", not in PCB options specifically.

So far in my experiments I don't see any rendering bugs.

The only real annoyance that remains is very limited ability to manually enter coordinated for graphical items in a symbol editor. But that seems like it is how it is designed.
« Last Edit: November 24, 2021, 05:14:02 pm by ataradov »
Alex
 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3340
  • Country: nl
Re: How to move all layers at the same time
« Reply #13 on: November 24, 2021, 09:20:46 pm »
If you move or drag a footprint then the "current attachment point" is placed on the grid. If the attachment point is a pad, then it uses the pad center, but if you drag it by the footprint center, then the footprint center gets put on the grid.
 

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: How to move all layers at the same time
« Reply #14 on: December 02, 2021, 03:59:19 am »
Another strange issue came up. For some reason all my ratsnests disappeared. They are still drawn when a component is moved, and a curved/straight setting also takes effect. But toggling Show Ratsnest does absolutely nothing.

I can find some very old issue where ratsnests would disappear on OpenGL drivers, but it does not look like it is the issue here, enabling  fallback graphics does not fix the issue.

It is possible that it is nightly build issue, of course, but may be there is a setting I'm missing?
Alex
 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3340
  • Country: nl
Re: How to move all layers at the same time
« Reply #15 on: December 02, 2021, 09:52:00 am »
Look at the "Appearance manager" on the right side of the screen, in the "Objects" tab.
It also has a setting to select a color for the ratsnest, and to turn it on/off.

 

Offline ataradovTopic starter

  • Super Contributor
  • ***
  • Posts: 11234
  • Country: us
    • Personal site
Re: How to move all layers at the same time
« Reply #16 on: December 02, 2021, 05:27:21 pm »
Ratsnests are enabled there. And if I pick the color, it is applied to the local ratsnests for the moved object.

This looks like a nightly bug. I've created a new project with a new KiCad config, and it behaves the same way.
Alex
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf