5
\$\begingroup\$

Say I have a part located at coordinates (50,50) and I want to rotate it 10 degrees w.r.t. origin. To do so, I will select the part and press "Move Exactly" and key in these values:

enter image description here

Now the problem is I have 50 seperate parts that I need to rotate in this manner. Viewing each part's coordinates individually and rotating them manually is very repetitive and I'm sure I'm missing some shortcut. Is there a better way to do this?

EDIT:

Before photo: enter image description here

What I'm intending to do link: enter image description here

Now I am unable to simply rotate it then position it afterwards, as I need the pcb to match with my keyboard switch plate, which is generated from

\$\endgroup\$
  • \$\begingroup\$ Can you show a before/after image of what you are looking for? Is it individual footprint rotation or group rotation? \$\endgroup\$ – Seth Aug 29 '18 at 19:53
  • \$\begingroup\$ Group rotation for a keyboard. Let me get some photos out \$\endgroup\$ – Wet Feet Aug 29 '18 at 20:19
11
\$\begingroup\$

Rotating a group requires selecting the group first. Note here I am selecting right-to-left which selects everything that touches the selection box.

Select Group

Then apply the rotation

Rotate

Result: Resulting rotation


Edit

To answer your comment, let's say that your reference footprint is at 50,50 in x,y and you would like to rotate your group of footprints 10° about the grid origin, keeping the footprints aligned with the radial.

To do this, start with the same procedure as before and select the group you wish to move.

Select Group

Next, use the same move command as before but this time enter the coordinates of the top left pad in your selection into the x/y boxes

First Step

Next, change the coordinates type to "Polar". This will change the values from 50/50 to their equivalent r/theta values. Now, since you are rotating the group by 10°, you need to adjust the radial position by -10°. I have also selected "Override default footprint anchor" otherwise, the default anchor will be the center of the group.

Polar

\$\endgroup\$
  • \$\begingroup\$ However you rotated around the current position. What if I wanted to rotate around the grid origin instead? \$\endgroup\$ – Wet Feet Aug 30 '18 at 17:46
  • \$\begingroup\$ You set the grid origin and that radio button will become enabled. I did not set a grid origin in my example board, so it was grey \$\endgroup\$ – Seth Aug 30 '18 at 19:36
  • \$\begingroup\$ However the default value of “Move vector x” and “Move vector y” is set to “0” which shifts the parts to the origin, which is not what I want. \$\endgroup\$ – Wet Feet Aug 30 '18 at 21:06
  • \$\begingroup\$ @WetFeet - I've updated the answer to include a section for rotating about the origin at arbitrary offset \$\endgroup\$ – Seth Aug 31 '18 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.