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.

Direction of rotations

Started by samdavo, March 22, 2014, 01:08:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo

#15
Quote from: prl on March 23, 2014, 06:28:09 AM
I would agree without a frame of reference, as Phil indicates, you're lost in 3d space and you're guessing which way things will rotate.

Case in point, the attached movie shows the two point line rotations for your suitcase with the Big Mac.  Everything is the same for the two models except for the point order of setting the two points for the rotation axis.
Thanks for that movie prl, (excellent) - and it is pretty much exactly what I was doing , without the preset points.   But what I found (94.5% sure I didn't screw up) was that  I sometimes got a clockwise, and sometimes an anticlockwise rotn(??)

Likewise, I drew an axis CD and reversed it to DC (point 1 to point 2).  When I rotated using "rotn about a line",  sometimes one way sometimes the other, weird.  No sooner did I think I'd cracked it, and I would have a cup of coffee, try again, and get the reverse effect (??)   Maybe I should have tried tea (??)

And I agree with you about the pitching and rolling.    In summary, I think we concluded that rocking and rolling was a global phenomenon,  but the twist was local? :)) 

Quote from: Dr PR on March 22, 2014, 08:44:41 AM
Worse still, I am certain that I guess wrong more than half the time (or at least it seems that way).
Yep, it's a bit like Murphy's Law, the chances of toast landing on either side is 50-50;   or 95-5 if one of them is buttered.  (And 75.32% of statistics are made up on the spot)

Bob P

Whenever there's the possibility of "getting lost" - especially when I'm going to use a Working plane - I'll draw a line that's approximately in the correct direction before I change to the Working Plane.  After changing to the Working Plane, if my real line doesn't match, I know that my direction is backward.

samdavo

Makes sense Bob :) and only takes a few seconds - all good tips.

There are heaps of tricks that you pick up along the way yes?

PARALLEL LINES CAN HELP WITH PERPENDICULARITY
An example (arguably complete change of subject, but sorta related) :-
If I need a line perpendicular to an inclined line, I will firstly use "parallel" (=) , or maybe "parallel by distance" (F2), and draw a second line, then by joining the ends, you get your perpendicular line. I find that particularly quick and easy. (2 cents)

Looking at the jpeg, the green lines are drawn joining the two parallel red lines, hence perpendicular to them.   And the red lines can be inclined.

Now, to be honest, I mainly use that trick in 2D lol, but I note that parallel lines seem to work ok in 3D as well ( possibly with Shift, or Ctrl, or Shift+Ctrl held down whilst the mouse is moved to set the second line).

PS As for Phil's ham and salad thingo, I doubt I'll get a job as an illustrator at a Sandwich Bar :)  For a start, the bread's mouldy.

Dr PR

Well, my bread wasn't moldy!

As far as the wayward rotations, if a rotation goes the wrong direction I just "Undo" and try again, changing the sign of the rotation. Quick and easy. No need to mess with all those other things.

The trick, and hard part, is finding the correct rotation axis. That can take some trial and error.

Phil
DesignCAD user since 1987

samdavo

Phil
How's this for an idea ?
Bob P posted some macros for rotation back there - they were dead simple, as he will readily admit, main aim to avoid filling in the options lol.

But they've given me an idea.
What if you change "R" from default rotation, to a macro that
a) first saves the angle (and axis), - call this alpha - and
b) then rotates the object; 

c) and then if you went the wrong way, you are given the option of rotating back 2x alpha; i.e. it effectively ...
"undoes" twice. ?
Just a thought.
cheers

Dr PR

What? prl isn't DrPR's alter ego? Oh, that's right. I already knew that!

Sam, itsounds like a good idea but I don't know if I would use the macro. I am already programmed to undo/redo.

The macro would be a shortcut when the rotation went the wrong way, but an extra step when rotation worked correctly. I guess of "OK" was the default so you only had to press "Enter" to continue it wouldn't be too much trouble.

Phil

PS: I am a keystroke/mouse click/mouse move counter. The fewer the better - less work to get the job done.
DesignCAD user since 1987

prl

Quote from: samdavo on March 23, 2014, 01:34:27 PM
But what I found (94.5% sure I didn't screw up) was that  I sometimes got a clockwise, and sometimes an anticlockwise rotn(??)

I'm sure you have identified the problem.  The 2 point line command internally computes a direction vector and it switches itself by 180 depending on 3d direction.  I copied something around a circle (XZ plane) keeping my point order and angle constant.  I was expecting a cone shape either all going to a point, or all leaning outward.  I got a mix of the two depending on where I was on the 360 degree circle.  You're not going to win with this command regardless how careful you are.


Dr PR

I have the same problem with "Sweep" - no way to predict which way a sweep will go, but if it is wrong I just reverse the swign of the angle and try again.

I've been doing this so long it just seems natural.

Phil
DesignCAD user since 1987