News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

Mysteries of Rotation

Started by MarkX, March 13, 2012, 04:41:19 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

MarkX

I am attaching a file that Lar originally created, but I've changed a few things (in case it looks familiar).

I want to rotate several planes using a macro, but hit a snag that also occurs when attempting to rotate by hand. I'm trying to Rotate using the "Axis Defined by 2 point" option. I bring up the rotation dialog and specify the two points of the axis for Plane A  ... being careful to start at the rotation plane's #1 point and ending at its #2 point.

Then I do the same thing for a second plane I'll call Plane B.

On one edge, it rotates 30 degrees UP like I want.

On the other edge, it rotates 30 degrees DOWN ... which is unexpected.

I immediately thought about point order, so I ran a macro that supposedly knows the order of the points on each plane, and labeled all the #1 points with one pointmark, and all the #2 points with another style. As you can see in the attached, all of the Square/Cross pointmarks are on one side of the form, and all of the Circle/Cross pointmarks are on the other. So the point order seems to be the same on all planes.

So, since I'm following the same procedure for both objects, and both objects seem to have the same point order, why is the rotation working differently?

It will be easier to see and understand by looking at the attached. I've added commentary.

Thanks!
Mark

DrollTroll

#1
Why indeed? That's an interesting mystery. I'll see what I can figure out.

*Addendum* Seems to work fine if I set a custom workplane by setting two points along the bottom edges of the planes being rotated, and a third on one of the top corners.
25 years with DesignCAD

Dr PR

Maybe it is just the way I work, but rotations have never been predictable for me.

I'll draw something and rotate it n degrees around an axis and it rotates one way. Draw something else and rotate it n degrees around the same axis and it rotates the opposite direction.

This has been happening for as long as I can remember. I depend heavily on the fact that the program remembers the angle of rotation so, if something goes the wrong way, I just "Undo" and repeat the rotation but change the sign of the angle. For me this is almost an automatic reflex.

Phil
DesignCAD user since 1987

MarkX

Quote from: Dr PR on March 15, 2012, 04:10:13 PM
Maybe it is just the way I work, but rotations have never been predictable for me.

I'll draw something and rotate it n degrees around an axis and it rotates one way. Draw something else and rotate it n degrees around the same axis and it rotates the opposite direction.

This has been happening for as long as I can remember. I depend heavily on the fact that the program remembers the angle of rotation so, if something goes the wrong way, I just "Undo" and repeat the rotation but change the sign of the angle. For me this is almost an automatic reflex.

Phil

Hi Phil,

Reflexes are useful, but it makes it really hard to build a macro (sans reflexes) to automatically do a series of rotations on planes that each have their own distinctive idea of which way to rotate.

Mark

Dr PR

Mark,

Agreed! It will be interesting to see what DT discovers.

Phil
DesignCAD user since 1987