I about 20 pins that already drawn but they aren’t positioned correctly and I need to move them a few mm but I can’t get it to snap correctly cause I had to change the grid size since I copied the part. I’ve tried holding down control but that doesn’t work when moving a group. Is there a way to move a group a particular number of units via the command line after selecting it. In autocad I can just tell it @0,1 to move it up 1 unit in y
You can do this, it’s one of the most powerful features of Eagle if you have very specific part spacing requirements.
If you want to move a part to specific coordinates, click on the part and then type “(x y)” where x and y are your coordinates.
Relative coordinates work, but are a little tricky. Everything is relative to your MARK. This makes it really easy to do something like build a geometrically accurate circle of parts. If you want to move a part a relative distance, first choose the MARK command and set the mark on the center point of the part you’re moving. Then click on the part with the MOVE command and type “(R x y)” substituting your relative coordinates for x and y. It’s probably easier to just note the existing position of your part and then calculate new absolute coordinates.
If you type “(P x y)” the part will be moved to a polar coordinate location with the center at the current MARK position, and x as the radius, and y as the angle in degrees.
You can use these coordinate methods with other commands, such as line drawing.
Thank you that is very useful but didn’t work for my situation. I have a group of pads,lines,etc… that I cannot get to snap to the grid thus when I try and place the mark it only snaps to the grid.
here is the lbr file I was working on and the datasheet for the part, its the 24-pin package
barkster:
Thank you that is very useful but didn’t work for my situation. I have a group of pads,lines,etc… that I cannot get to snap to the grid thus when I try and place the mark it only snaps to the grid.here is the lbr file I was working on and the datasheet for the part, its the 24-pin package
OK, pins are on 0.1" (2.54") centers, which is simple. However the there is 24mm (0.945") between the rows of pins. Let’s assume that the position of pin #1 is 0,0, which is “(0 0)” in EAGLE-speak (with out the quotes). Using the keyboard you can now move any pad anywhere. Let’s say that you want to move pin 24 to it’s correct location which is 0,24. So enter this command
mo 24 (0 24)
If you want to move pin 18 to its correct position enter
mo 18 (15.24)
BTW “mo” is an abbreviation for “move”.
You will then need to fix up the silkscreen. There is probably a way to move the pads and silk as a group, but I don’t know how to do that. You may want to ask in CadSoft’s newsgroups (news.cadsoft.de).
HTH
-Dave Pollum
Right but I want to move everything “Group” as one object a particular number of units. I know how to move one pin but I can’t it to work for a group of objects.