DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Rotation moves opposite of drag motion

Started by MarkX, December 01, 2012, 07:30:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarkX

Has anyone else seen this?

I'm trying to rotate an object about the Y axis, but the object stubbornly moves in the OPPOSITE direction to my movements.

Thanks,
Mark

Dr PR

Mark,

It happens all the time with me.

Sometimes it is because I am working in wireframe mode and have gotten the view turned upside down. I use DesignCAD tile to set things right again and then rotations work correctly.

At other times I am just viewing from an odd angle, usually a bit high but from the front, and rotation goes bananas.

It has happened so many times I don't even think about it and just move the cursor the opposite direction until I get the rotation I want.

If I am giving the rotation a set angle, instead of dragging with the mouse, and it goes the wrong way I just Undo and repeat the rotation with the opposite angle. Anyway, I ususally can't tell one direction from the other, and at least half the time I guess wrong.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on December 01, 2012, 08:11:38 PM
Mark,

It happens all the time with me.

Sometimes it is because I am working in wireframe mode and have gotten the view turned upside down. I use DesignCAD tile to set things right again and then rotations work correctly.

At other times I am just viewing from an odd angle, usually a bit high but from the front, and rotation goes bananas.

It has happened so many times I don't even think about it and just move the cursor the opposite direction until I get the rotation I want.

If I am giving the rotation a set angle, instead of dragging with the mouse, and it goes the wrong way I just Undo and repeat the rotation with the opposite angle. Anyway, I ususally can't tell one direction from the other, and at least half the time I guess wrong.

Phil

Hi Phil,

I tried looking at the view from the other side, but that didn't help. It still stubbornly refused to rotate in the same direction as the cursor movement.

Moving the opposite way might work, but you can't rotate precisely that way, can you?

Thanks -- this might help alleviate my persecution complex ;-)

Thanks!
Mark

prl

#3
Quote from: MarkX on December 01, 2012, 07:30:10 PM
Has anyone else seen this?

I'm trying to rotate an object about the Y axis, but the object stubbornly moves in the OPPOSITE direction to my movements.

Mark,

As Phil would say, this is one of those "in your mind" things and a DesignCAD way of doing things.   What you are calling rotating the model (the set view command) is properly thought of as orbiting the model.  The model isn't moving, your point of view (the DC camera) is.  Hence when you move the DC camera (cursor) to the right, you are orbiting counterclockwise and your model will appear to rotate clockwise.    Example: your kitchen table is your model and also the xz plane.  You "set view" and walk CCW around your table looking at the table.  Your brain tells you the table is rotating CW.

Rotating only occurs when you select something and rotate it relative to the DC xyz coordinate system.


By the way, if you are using other programs (SketchUP etc.), many of them use the "stationary camera" concept which conforms to your expectations for matching the mouse movement and the model rotation.



MarkX

Quote from: prl on December 02, 2012, 12:37:35 AM
Quote from: MarkX on December 01, 2012, 07:30:10 PM
Has anyone else seen this?

I'm trying to rotate an object about the Y axis, but the object stubbornly moves in the OPPOSITE direction to my movements.

Rotating only occurs when you select something and rotate it relative to the DC xyz coordinate system.

That is exactly what I'm talking about. Using the Rotate command ("R"),  I attempt to do a simple swivel of a block along the Y axis in drag mode. Instead of following the cursor, it moves the OPPOSITE direction.  Re SketchUp  -- SU has basic functions like Rotate nailed down.  It will even let me snap to a distant point as the final touch-down. This makes it easy when you want to turn a block until one of its faces is flush with a given line.

I mentioned View in my 2nd post, because I tried to turn the view upside down to see if the Rotate command would then track correctly. Still no luck. In the end, I used the 3 handle snap. I guess rotate works best when you have an exact angle to use.

Thanks,
Mark

prl

Quote from: MarkX on December 02, 2012, 06:39:43 AM
That is exactly what I'm talking about. Using the Rotate command ("R"), 

OK. You always challenge me to find out what the program actually does through the user interface.  Now where is that command (talking to myself)?

prl

OK, I'm back.  I see what you are saying.  Sometimes it rotates the object as expected other times the opposite direction.   Probably a stray minus sign floating around in the code somewhere.

DC does have some oddities on how it translates where you are on the screen relative to where it thinks the cursor is in 3d space.  For me it shows up when I extend or shorten lines using preset point mode in 3d mode.  Depending on the viewing angle, things sometimes go opposite directions.

MarkX

Quote from: prl on December 02, 2012, 07:05:48 AM
For me it shows up when I extend or shorten lines using preset point mode in 3d mode.  Depending on the viewing angle, things sometimes go opposite directions.
Seen that one too, but I can usually work it the right way by using one of the side or top views.

Mark

Dr PR

Mark,

Does this happen in all drawings?

I'm like prl, sometimes objects rotate the way I expect them to and sometimes they don't.

If the rotation axis is more or less vertical or horizontal relative to the screen view the rotation usually goes the way I expect. But if the rotation axis is at a large angle (eg. 45 degrees) to the screen view all bets are off.

Also, if I select a line to be the axis of rotation I cannot predict what it will do. Rotation is always relative to the +/- orientation of the rotation axis. For the three normal coordinate system axes the +/- orientations are well defined. But on a line oriented randomly in 3D space, which is the "+" end and which is "-"? When working on the fly I can't predict it, so there is no "right" way for something to rotate around it.

One other thing - you haven't set a new working plane have you? This will totally alter which way is up, and can really mess with your mind if you have forgotten you have set a new work plane.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on December 02, 2012, 03:20:44 PM
One other thing - you haven't set a new working plane have you? This will totally alter which way is up, and can really mess with your mind if you have forgotten you have set a new work plane.
I may have at the first time I was attempting this, but it still gives me trouble.

Now I can get it to drag in the right direction if I click and drag. However, this is imprecise. Its only as good as you can eye-ball it. If you zoom in, you can see there is still a gap. So you continue the rotate command again, and zoom in, and ... need to do more.

What I thought you could do was to place your first point with a snap, and then place its destination with a second snap. But whenever I try this approach, the rotation moves off in the opposite direction. I'm rotating about the Y axis, and have tried viewing from above looking down (mostly) and from the side, with the Y axis nearly vertical. I've also turned the view upside down. And, I've even tried changing the handed-ness of the drawing. It still perversely wants to rotate opposite the way I move. And it definitely won't let me form a swivel arm action as you can do in other programs. I could swear that it worked this way one time.

At this point, I could just measure the angle and then plug that into the rotation command (with a negative!)  and get what I want. But rotation is one of the basic commands that all CAD and drawing programs are expected to perform without complication.

Thanks,
Mark


Dr PR

Mark,

Now I understand better. When you try to snap the second "rotate to here" point does the drawing rotate backwards before you set the second point?

I have noticed one especially irritating thing about rotating with the cursor. As soon as you move the cursor in any direction the object rotates wildly, typically about 180 degrees, before you press the left mouse button to start dragging. As a result you may have to drag the thing almost a full circle even if you intended to rotate it only a small amount.

Is this spastic rotation what is causing your problem?

Phil
DesignCAD user since 1987

magic

Hi all,

My experience is that if you start your rotation by placing your cursor inside the object that you want to rotate, it works the right way round.

Phil, the spastic moves, as you so amply put it, I think are due to the Increment setting in the Rotation window. If you set it at 1, it's smooth and not "spastic" at all.
It's a kind of magic!




prl

Mark, 

No disagreements about your findings.

The below is prl opinion. 

For alignment rotations in 3d, skip the flaky rotation command and stick with the >sethandles and dragmove approach.  Very pure and advanced for something 25 years old.  IMO, only time one ever needs the standard rotation command is for a numerical input rotation.

Handles, handles, handles . . . . the key to being efficient, fast and unique (DC
).

MarkX

Quote from: prl on December 03, 2012, 06:23:35 AM
Mark, 

No disagreements about your findings.

The below is prl opinion. 

For alignment rotations in 3d, skip the flaky rotation command and stick with the >sethandles and dragmove approach.  Very pure and advanced for something 25 years old.  IMO, only time one ever needs the standard rotation command is for a numerical input rotation.

Handles, handles, handles . . . . the key to being efficient, fast and unique (DC
).
I agree this is the pragmatic solution. And its how I moved on with the project. But, gee, shouldn't a key command like Rotate be non-problematic? Ok, handles are 25 years ahead of their time ... but Rotate is 25 years behind?

Thanks,
Mark

MarkX

Quote from: Dr PR on December 02, 2012, 09:47:07 PM
Now I understand better. When you try to snap the second "rotate to here" point does the drawing rotate backwards before you set the second point?
...
Is this spastic rotation what is causing your problem?
Hi Phil,

I don't know if the motion is spastic, but it is backwards. Ok, I reset the view and I can get a pure drag to work correctly. But dragging is imprecise.  So I use the second technique (click on rotation start point,  click on rotation end point), but now it refuses to rotate in the correct direction.

The attached indicates the problem. Hopefully the notes are good enough.

Thanks,
Mark