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 0 Guests are viewing this topic.

prl

#30
Quote from: Lar on December 07, 2012, 09:13:00 AM
;D Prl, I think I can safely assume that you did not fully read the last paragraph of my post. It was referring to entities other than the dcad developers.

Yes, "they", and I'm off on the wrong track.  Spirits . . . . ghosts or several cool glasses of something with an umbrella at work   :D

Back to the point, if you are intentionally rotating something to a known angle or increment, why are you messing with the drag nonsense?

MarkX

Quote from: prl on December 07, 2012, 09:45:55 AM
Quote from: Lar on December 07, 2012, 09:13:00 AM
;D Prl, I think I can safely assume that you did not fully read the last paragraph of my post. It was referring to entities other than the dcad developers.
Back to the point, if you are intentionally rotating something to a known angle or increment, why are you messing with the drag nonsense?
Because you don't know the angle. You would have to measure it, which is an unreasonable first step. In real life, you would just rotate part A until it was flush with part B. You wouldn't measure the angle between part A and part B, and then carefully rotate part A that number of degrees.

Thanks,
Mark

prl

Quote from: MarkX on December 07, 2012, 11:11:40 AM
Because you don't know the angle.

Sure for the unknown or "match or align this way" rotation, what I call simply the alignment rotation (using snap points to set the rotation point center and the 2nd and/or 3rd point to define the rotation angle and/or plane),  I'll refer you to handles every time.

In Lar's case where he is rotating by 22.5, 45, 90 about an axis or more generically a known specific angle about an axis (I want this piece rotated by 45 degrees exactly), the drag mode seems not to be needed at all. Wanting to watch a known rotation angle happening is animation.


Dr PR

I often set a rotation angle of 15 degrees and drag to rotate through common angles like 15, 30, 45 and 90 degrees. The program remembers the drag increment setting, so the next time I just have to select the object, press "R" and drag. It is a lot faster that typing in a rotation angle in non-drag mode.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on December 07, 2012, 04:35:07 PM
I often set a rotation angle of 15 degrees and drag to rotate through common angles like 15, 30, 45 and 90 degrees. The program remembers the drag increment setting, so the next time I just have to select the object, press "R" and drag. It is a lot faster that typing in a rotation angle in non-drag mode.

Phil
What a great idea! That makes the drag motion at least partially useful, because it doesn't matter that the pick-up point is imprecise.

Mark

JJG

Quote from: Dr PR on December 07, 2012, 04:35:07 PM
I often set a rotation angle of 15 degrees and drag to rotate through common angles like 15, 30, 45 and 90 degrees. The program remembers the drag increment setting, so the next time I just have to select the object, press "R" and drag. It is a lot faster that typing in a rotation angle in non-drag mode.

Phil

My side, I think the most faster is to have such macro as below, to rotate through a shortcut with the value you have given in the code (ie like 15, 30, 45 and 90 degrees), and without to have to define the position of the "big blue" (as says Lar), and done. Dot.
;)

I think, this discussion is going around in circles ...

prl

Quote from: JJG on December 08, 2012, 12:04:08 AM
I think, this discussion is going around in circles ...

A drag . . . . .          (NOT)   :P


'program hkr  (hot key rotate)

'predefined increment rotate - prl note this is assigned to ~

'  note if in 2d - z axis is default
'       if in 3d - y axis is default

da = 45/2 'increment

if sys(80)=0 then
  Message "Increment rotate routine:  Nothing selected. . . press any key to continue"
  END
end if
sys(36)=1

if Sys(344) = 1 then 'in 2d mode
   a=2 'z axis
else
   a=1 'y axis
endif

>Rotate
  {
  <Axis [a]
  <Angle [da]
  <ThroughHandle 1
  <DragMode 0
}
sys(36)=0

End


Lar

Quote from: prl on December 07, 2012, 09:45:55 AM
Back to the point, if you are intentionally rotating something to a known angle or increment, why are you messing with the drag nonsense?
Prl, in earlier days, and maybe before 3d, I could mentally hold whether the rotation is 135 degrees or -135 degrees but for many years now and mostly in 3d and viewing from whatever angle my brain refuses to conjure that bit of data so I find it less of a hassle to drag rotate with an increment. At least I still can determine what axisx to rotate on. For unknown angles I do a 2-handle move.

Lar
...maybe it was since using Cinema 4D, which uses HPB rotation (heading, pitch, bank), which is like doing back flips in a dark china shop. <<fyi: with HPB rotation you end up with the same result no matter which axis is rotated 1st, 2nd and 3rd. With XYZ you would get different results depending on the order>>.