ID: | 5924 |
From: | Evan Foss <ev...@gmail.com> |
Date: | Mon, 23 Jan 2023 00:32:05 -0500 |
Subject: | Re: [pcb-rnd] wishlist - Automatic Nudge of Refdes |
in-reply-to: | 5904 from rn...@igor2.repo.hu |
On Sun, Jan 15, 2023 at 11:43 AM <rnd2@igor2.repo.hu> wrote: > > Hi Evan, > > On Sun, 15 Jan 2023, Evan Foss wrote: > > >Hi Igor2, > > > >Sometimes I think it would be nice to select a collection of > >footprints and automatically have their refdes move to just outside > >them in a predictable manner. Example currently you import a schematic > >with a dozen 0805 size parts and the refdesk automatically lands in > >between the pads. We should be able to set it to appear above or in a > >non-fabrication layer. > > good ones, thanks! > > Let's go from backward. > > The "move to non-fabrication layer" is possible already and is easy to do: > > 1. you need to get the refdes' object selected. We don't really have a > special refdes object type, so you can't select them by that. But > typically what you want to do is moving the floater objects. So you need > to select the floaters. There are many different ways doing this: > > 1.a. use advanced search or query(select, @.p.flag.floater == 1) to select > all floaters on the drawing > > 1.b. or if you have only a group of subcircuits to deal with, select all > those subcircuits and unselect everything-else-but-floaters, again using > advanced search or query(unselect, (@.p.flag.floater != 1)) > > 1.c. or activate the floaters-only mode (mode menu, drawing), and then > select the subcircutits do deal with (if the floaters-only mode is > activated it doesn't matter that not only the floaters are selected) > > 2. pick the target layer you want to use - top assy, bottom assy, fab or a > new doc layer in a new doc layer group probably > > 3. select menu, move selected objects to current layer Thanks that's helpful but I wish it was in a tips and tricks section of the user manual or something. > The other problem, moving the floaters a bit away: if it's always the same > distance in the same direction in board coordinate system, you can do 1.a. > or 1.b. and when only the floaters are selected, the propedit could be > used to move them, but I've just found a bug while testing this (added to > the TODO, will be fixed in a subsequent cycle). > > If you want to do the in each subcircuit's coord system, i.e. normally > move to the left, but if the subcircuit is 90 degree rotated then move > down, we could write an user script for that if we figure what user input > it should take. This feels commonly used enough to be a feature not a script but ok. > Best regards, > > Igor2 > > > -- https://github.com/evanfoss -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG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2Lfs6wjk 5rjucpTdeFK6UeWF1xAvNxXibuu5BlGwv53930qIXRwO/Gn2Rh5DXWxKU2fEIme/ xgQQmIsDeUoWbfybdjw/x7Q0LW4mINiLDQcGHHRQKFIxbAJCT3USPLGh5xwE9/Er ABEBAAGJAR8EGAECAAkFAlYy4RYCGwwACgkQiKUE3BPJzW0uYAf9Hf30n8tM3mR2 Zo6ESE0ivgdgjaJtAWrBUx7JzAzPjBnBOlNnu5Y9lVEqetvUPH6e3PvaHYUuaUU8 0HwxuKBW9nUprgV6uIu1DZmlcp+SxpbuCy7RDpNocRLNWWFMaYYzznmTgfnTgD4D gCq8Mf1mcfrluTkOAo+QNqbMfl1GISClopRqxVuAo59ewgMnFujwgd8w12BwWl24 CzqOs5HqcUslePj+LzcjSNgVCklYwKl+0dsb/fctMOCtHodwqm2CBJ+zydvNmYkD fxda/J91Z1xrah5ec++FL0L4vs+jCiIWJeupJFKlr1hCMZiiGH7W554loK5l4jv3 EY347EidAw== =Ta4p -----END PGP PUBLIC KEY BLOCK-----
Reply subtree:
5924 Re: [pcb-rnd] wishlist - Automatic Nudge of Refdes from Evan Foss <ev...@gmail.com>