Newbie question: Rotating a part around itself

Hi everybody!

Quick question: How do I rotate a part around itself by delta XYZ in SolidWorks 2013? When I do Rotate Part, I can either rotate by free drag around the part, or rotate by delta XYZ around the assembly. I want to rotate by delta XYZ around the part itself. How can I do that?

Thanks,

Ram.

SolidworksAssemblies
Answers 40
JM
JM 2013-11-02 Best Answer

Are you familiar with using assembly Mates?

RR
RR 2013-11-02

Yes, but I only want to rotate, not create a mate.  

JM
JM 2013-11-02

Can you attach your assembly here?

In the real world when making assemblies you remove degrees of freedom (unless it is something like a ball).  (In SolidWorks this is done with assembly constraints.)

Or can you at least attach a screen capture to illustrate the design intent?

SF
SF 2013-11-02

You can use the arrow keys for visual rotation. If you have an axis you can rotate around that in the model by clicking it first.

DG
DG 2013-11-03

If you looking to visually rotate the part then click on the axis in the bottom left corner and then use arrow keys to rotate.

If you need the rotation permanent, then use Move/Copy body feature under Tools > Insert and seelct the rotate option.

RR
RR 2013-11-03

Here's a screenshot: http://imgur.com/xDiwD0a

I don't know how to attach an assembly.

I just want to rotate the pieces... I want them to be on something like a sphere. (They are buttons that should be arranged around a finger.)

RR
RR 2013-11-03

Pressing the arrow keys rotates the entire assembly, while I want to rotate only one part.

I don't want a specific axis, I want to rotate the part around itself. Am I gonna have to manually create an axis for every part that I want to rotate around itself?

RR
RR 2013-11-03

There is no "Features" submenu in my "Insert" menu. And in any case, if it's going to lead to the same interface as when I click "Rotate Component" on the toolbar, then it won't help me, because the menu there doesn't allow me to rotate a part around itself by delta XYZ.

LB
LB 2013-11-03

Remember as a part is dropped into an assembly, after the first one which gets fixed so it cannot move, they have 6 degrees of freedom.

so if you need to have the part rotate the way you want you need to at least have one or two mates.

Sorry just the way it is, just like in real life if you hold a part between 2 fingers it will spin on that axis, correct, same in all modelers.

also if you RMB (right mouse button) and hold it down on any component in an assembly and then move your mouse the component will rotate.

KL
KL 2013-11-03

As far as I know, the standard "one click" options you have are...

http://help.solidworks.com/2013/English/solidworks/sldworks/t_Rotating_a_Component_by_Dragging_SWassy.htm

http://help.solidworks.com/2013/English/solidworks/sldworks/t_Using_a_Triad_to_Rotate_a_Component_SWassy.htm

http://help.solidworks.com/2013/English/solidworks/sldworks/t_Using_the_PropertyManager_to_Rotate_a_Component_SWassy.htm

If you need more accurate movement, you will have to create mates (temporary or permanent) and adjust to suit.

If none of the above suggestions are what you need, you will have to better explain or show what you are trying to achieve.

AV
AV 2013-11-05

Use rotate with Triad and move the triad to the axis of rotation in such a way that an axis of the triad becomes that axis. You do that by dragging the cyan bubble of the triad while pressing the Alt key, in order to move and re-orient the triad to the reference.

RR
RR 2013-11-11

That doesn't help; I need to rotate by a given numerical angle, not by free drag.

RR
RR 2013-11-11

I can create temporary mates if you think that's the solution, but my problem is, how do I create a mate that'll (a) rotate the part on the exact axis that I want and (b) not move or rotate any other part in the assembly?

RR
RR 2013-11-11

Holding RMB doesn't help, because I need to rotate by a numeric amount of degrees, not free drag.

Regarding mates, my problem is, how do I create a mate that'll (a) rotate the part on the exact axis that I want and (b) not move or rotate any other part in the assembly?

GS
GS 2013-11-11
<p>Ram R wrote:</p><p></p><p></p><p>Regarding mates, my problem is, how do I create a mate that'll (a) rotate the part on the exact axis that I want and (b) not move or rotate any other part in the assembly?</p>

Create mates so that the axis is restrained, but leave the part free to rotate. See attached.

DG
DG 2013-11-11

What exactly is your requirement to rotate the part. You can simply use the Move/Copy body option to rotate the part. Attached a video with simple example.

JM
JM 2013-11-11

Attach your assembly here and end all doubt within minutes (instead of unproductive days).

If your assembly is proprietary - simply create a dummy assembly of primitive geometry that would exhibit the same behavior.

RR
RR 2013-11-11

I tried that approach, but I couldn't create an axis that went through the exact center of the body. It wouldn't snap. I don't know how to create axes that go through the exact center.

RR
RR 2013-11-11

Here you go, it's attached.

What I want for now is to rotate the bottom right piece by 15 degrees around the Y axis. (Or maybe that's -15 degrees? I want it to kinda face its neighbor piece.

In the long term I'd like to rotate and move all of these caps so they're kinda in a spheroid around a point that's close to their center of mass, but a bit farther in the positive Z direction. (These are caps of buttons that should be in convenient reach of a finger.)

RR
RR 2013-11-11

You're editing the part. I need to do it when editing the assembly. Also, I haven't been able to create an axis that goes through the center of the part. It just doesn't snap to the center.

GS
GS 2013-11-11

The temporary axis that you have showing on the part file should be in the middle.  You can use it to mate.  If you wanted an axis through the middle going the other direction, then edit Boss-Extrude1.  Make it Mid-Plane instead of Blind, then you can create a new axis at the intersection of the Front and Top planes.

JM
JM 2013-11-11

"bottom right piece" has only relative meaning in 3D space, I assume you mean Pseudo cap<4>?

As I suspected - your design intent is not something like "spheres floating in space coming in random contact".

So these are finger pushed button switches that you wish to have in an ergonomic layout.  Is that a correct design intent problem description?

If so, I would start with the part to which these will attach (don't need solid geometry, 2D (and maybe 3D sketches (which I control with 2D sketches)) is all that is needed.  Then it is a simple matter of editing dimesions to move around to desired orientations.

(which brings up a point - your geometry is perfect sizes but no dimensions?)

I recommend you simplfy this even more by invenstigating multi-body solids techniques.

Do you have any pictures of a similar device (mice and 3D Connexion devices come to my mind as examples, game controllers might be another example)?

JK
JK 2013-11-11

Alin is correct,

     In SolidWorks 2013 at least, You can snap to any increments using the Triad, zooming in or out gives more or less increments.

comment imagecomment image
RR
RR 2013-11-13

I'm using SolidWorks 2013 yet I'm not seeing these angle markings when rotating with Triad.

RR
RR 2013-11-13

Yes, Pseudo cap<4>.

Yes, these are finger pushed button switches in ergonomic layout.

See attached file: I created the object that these buttons should be touching with their fronts. But I have no idea how to make them touch. I tried using mates but it doesn't let me make a mate that'll make the face of the button touch "Psuedo finger".

I don't understand how this is "a simple matter of editing dimensions"...

Regarding no dimensions: Why do you think there aren't dimensions? Because they're not marked? As far as I remember I gave the parts the correct dimensions.

I don't have a picture of a similar device, but if you imagine all the caps touching "Pseudo finger", you'll get the picture.

AV
AV 2013-11-13

What video card do you have?

RR
RR 2013-11-13

On my laptop I have Intel integrated graphics of an i5 chip.

On my desktop I have GeForce 210 and GeForce 8400 GS.

On both computers I don't see angles or snaps when moving with Triad.

KL
KL 2013-11-13

Integrated graphics and GeForce cards are not suitable for SW.

LB
LB 2013-11-13

Kelvin Lamport wrote:

Integrated graphics and GeForce cards are not suitable for SW.

Now I agree with you on the intigrated graphic, but the new GeFroce card rock and then if you get the realview crack...WOW, mine at home work better than my pro card at work.

RR
RR 2013-11-13

Do you mean that SW will be too slow on them? Because I'm not having any speed issues. Or do you mean that the actual functionality will be different, e.g. not getting angle snaps because of my type of video card?

SF
SF 2013-11-15

Hi Ram,

My first go would be to use a tangent mate to the finger (or an offset surface of the finger part if buttons are to stay away but aligned), then spin the parts as desired and finally fix the parts so they don't spin accidentally to a new position later on if doing more work around them.

Your g/cards seem reasonably new and I believe the spin functionality described by Alin should be there. While in the move with triad command drag on the outer circles concentric to the axis you'd like to rotate about. This should give you the angular spin dial as shown previously. You can spin quite accurately with a bit of care. Just hold on to the mouse button until happy with result.

The method above is quick and dirty but it should work.

The little pedantic but more rewarding in the long run method (say if you reuse the assebly for similar work later on), would be to attach proper mates that will give the parts the required orientation. I normally attach angular mates between basic reference planes of say the individual parts and the assembly itself (if all parts are floating you need a fixed reference to start mating to, right?). Floating parts are shown with a minus between brackets sign [-] in the assembly tree, fixed with an [f] and fully defined without anything in front of their names. You can browse for those planes under each branch corresponding to a part in your assembly tree.

Why is this rewarding? Because you can use parametric relations to your mates and change them with lesser effort than spinning every single part again (if say new orientations are required in the later work).

Applogies if this seems pushed too far. It's trictly meant to help you over the hill.

Kind regards,

B. A.

KL
KL 2013-11-15

I have read that the GT6XX series cards work well with SW, others can work OK if they can be hacked, but the basic unhacked GeForce cards can cause all sorts of glitches.

KL
KL 2013-11-15
<p>Ram R wrote:</p><p></p><p>Do you mean that SW will be too slow on them? Because I'm not having any speed issues. Or do you mean that the actual functionality will be different, e.g. not getting angle snaps because of my type of video card?</p>

Functionality could definitely be different. Some have been reported to cause poor performance, some even preventing SW from opening.

Your 'card' could very well be preventing the angle snaps from showing.

JM
JM 2013-11-15
<p>Ram R wrote:</p><p></p><p>     I don't understand how this is "a simple matter of editing dimensions"...</p><p></p><p>Regarding no dimensions: Why do you think there aren't dimensions? </p>

If I open your part file the first thing I notice is the ( - ) symbols in the browser.

This indicates that the sketches are underdefined.

Since it easier to create a fully defined circle (your sketch) than an underdefined circle, this is worrisome in context of your true problem description.

If I were doing this project I would create a master skeleton file of a couple of 2D sketches used to create and control a 3D sketch for positioning.  Then it would be a trivially simple method of editing dimensions to control the button positions in the assembly file.  But in order to do this, it is first necessary to understand parametric dimensioning of sketch.

comment imagecomment image
LB
LB 2013-11-15
<p>Kelvin Lamport wrote:</p><p></p><p>I have read that the GT6XX series cards work well with SW, others can work OK if they can be hacked, but the basic unhacked GeForce cards can cause all sorts of glitches.</p>

Hell yes they do! I have one, 2 gig of ram, for the price of a Quadro 600. and with the crack.......................smokin!

JH
JH 2013-11-15

If you right click the triad circle it gives options, One is to have a delta xyz box, then you can in put a specific angle.

comment imagecomment imagecomment imagecomment image
RR
RR 2013-11-17

Great!

Now rotating with triad works for me.

Now, I still want to do things better, and I'll pursue designing my arrangement better.

Regarding rotating with Triad: I want to rotate several pieces at once using Triad, and I want the Triad to be located at their center. How can I do that when I have 2 pieces? When I had 3, I had the workaround of choosing the middle piece last, and then the Triad was placed on it, so it was in the center, but with 2 pieces this workaround doesn't work. How can I have the Triad in the center mass of the bodies?

RR
RR 2013-11-17

Fixed, thank you!

RR
RR 2013-11-17

Hi Bogdan,

Regarding tangent mates: I tried a tangent mate, but the finger-oid surface is a fillet (because it needs to be curved), and the mate tangent doesn't seem to play nice with fillet. It makes it tagnent to the original, pre-fillet face, which defeats the purpose because it's not curved. Any idea how to solve that?

Regarding the triad: Using John Hagan's advice I managed to get that working, which is good, but still I'd like a solution smarter than manually moving buttons.

I totally buy into the mate-based way you propose; however I wasn't able to get it working. First, I tried to mate the caps into "Pseudofinger", assembly attached, but that failed because the mates didn't work on the fillet. (Like I said in the first paragraph.) Then I tried another, inferior approach where each row of buttons will be on its own dedicated plane, and the planes will have a specified angle between them. That didn't work either, because Solidworks didn't let me create a plane which is defined as being (1) perpendicular to one plane and (2) on a certain angle with another plane, giving me the infuriating error message, "Two planes should have mid plane constraint".

So I'm all out of ideas. Can you help?

Thanks,

Ram.

SF
SF 2013-11-17

Hi Ram,

Nice to see that things started to look better for you.

I have played with your little assembly trying to guess your design intent.

Have a look at the pictures below and I will explain what I did; Just scroll down.

Okay,

In the first step I have dragged your fingeroid part at the top of the tree and fixed it to give me a stable reference for mates I will create between this part and your pseudo-caps (just right-click the finger-oid and select "fix/float" depending on its state).

Then I have positioned pseudo the caps on the vertical with a distance mate between the top planes of each pseudo-cap and the assembly.

In the next slide you can see the tangent mate. I have used the flat surface of the pseudo-cap for now jsut to keep it simple.

In the third slide I have placed an angular dimension mate between vertical planes of each of the caps and assembly.

At this stage the caps should be positioned pretty much where you want them to be.

In case you actually want these caps at a distance, in the fourth slide I have created an offset surface (1cm) from your finger-oid part and re-attached the tangent mate to this surface.

In the end I have changed the tangency from the flat surface to the fillet in case this is really important. Note that there may be minor interferences with the offset surface but since this is an envelope part anyway I believe it shouldn't matter. Also please check the functionality of the Align/Anti-align button I have pointed at with the red arrow.

Note that the caps are still with a minus in front which means they're yet not fully restrained. This is because the tangent mate is very weak and it removes little from the 6 degrees of freedom of your caps. I let you explore how to further anchor your caps to fully restrain them. As a tip you can create more reference geometry and use it accordingly (sketch points, axes etc.).

I have mentioned before this is not an ellegant method however it is one of the most intuitive for a begginer.

Indeed the best way to go about it is top-down modelling where in your assembly you create a layout sketch and anchor your caps from this skeleton structure. If you have time get yourself accustomed with SWX tutorials in your help menu; they're designed to get you up to speed in the shortest time possible.

As for the re-positioning of the triad have a closer look at Alin's initial suggestion; he tells you there how to do it in order to move it closest to your desired pivot point.

Hope this helps,

Regards,

B. A.

comment imagecomment imagecomment imagecomment imagecomment imagecomment imagecomment imagecomment imagecomment imagecomment image