Reset the orientation of a component?

Hello

Is there a way to reset the orientation of a component that has been rotated (manually or by motion)?

As much as for the position, " move " exposes clear and editable coordinates, as for the rotation, " rotate " does not expose any absolute value.

So how do you put a component back on the right side?
I can fiddle with aligned constraints but hey, if there's a command or a place to set an absolute rotation instead of relative, I prefer.

Thank you

Hello, an angle constraint seems appropriate for this type of need.

image

So to be more concrete, I have balls that are constrained, but for some reason (messed up manipulations) one of the balls has not returned to its initial orientation, unlike the other 3 square. I would like to put it back on its feet and be able to straighten them out easily if it happens again.
And more generally, to be able to edit the rotation of components by absolute values. In short, if I grasp [0; 0; 0] it regains its original orientation. It's a bit like the 3D base...

If I have to make a macro for that, it's abused.

There is certainly something to " dig into" by constraining your sphere in the assembly via its 3 original planes.

As a reminder, a constraint deemed important can be renamed and stored in a folder of the creation tree, useful so as not to lose it in the mass of the whole.

2 Likes

Hello @romain_becdelievre

The thing is, my marbles have to stay mobile to slide and roll along the rods. Except that when trying to move poorly constrained components, some components can end up in messed up positions and orientations when the assembly returns to the neutral position.
The balls are limited in their movement but not in their rotation, so the ball is still on the rails but if it doesn't return to its exact position, like here, you have to recenter it manually, no problem, but the rotation remains as it rolled, and I can't " recenter " the orientation.
In short, all this to say that if I can avoid going through constraints to straighten the slightest object... I was hoping for at least a one-click option, but I think only a macro will be able to do that.

Hello

If the marble must be able to continue to move freely and the constraints are sufficiently well made for it to remain in its housing, what is the point of having the planes of the marbles oriented properly? For me none.

If you need these planes to make cuts, at worst you can always create planes oriented as you see fit and that go through the origin of the marble for example.

2 Likes

@froussel
I admit that I didn't understand the goal either, I regularly work with rollers in my assemblies and I leave them free to rotate on their axis since it has no visual/technical impact.
But I guess there's a good reason why @Sylk rack our brains so much on it :slight_smile:

Hello.

I illustrated my request with the marble in context, but in reality it doesn't matter. Constraints or not, the interest is to be able to reset to 0 a component whatever it is and whatever the reason without having to delete it to reimport it.

In 3DsMax for example, you can know and manually set the degree of rotation on each axis of an object, WHY NOT Solidworks? Or if he can, how? That is the whole question.

Precisely it happened because of constraints during construction or poorly done