3-D rotation

Started by j-wetzel, October 27, 2009, 10:06:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

j-wetzel

(DC3-DMax, v. 19.1)  I have a solid shape (a polyhedron) that I need to rotate in 3-D about a weird axis, known only by two of its points.  Somehow the only way I've found to do this is to use matrix algebra to find the coordinates of the new (rotated) vertices and then to redraw the damn polyhedron.  (I've done this by hand, but I probably could do it with a BasicCad program if forced.)  But there has to be a better way!

Any suggestions?
--Jack

Bob P

This a relatively simple operation if you use a new working plane.  I would draw a rotation reference line from vertex to vertex first so I didn't lose my orientation.  Then set a new working plane using your two vertexes and a third arbitrary point not on the rotation axis.  Once you are in the new working plane, just select the axis of orientation (likely x-x) and rotate.

magic

Hi j-wetzel,

Here is a little illustrative film on rotate: http://www.magicsystems.com/rotate.htm.
It's a kind of magic!




Dempsey

Magic, your films are always magic. A picture is worth more than a thousand words.
Dempsey

Dr PR

j-w

To amplify Bob P's suggestion:

1. Draw the line from vertex to vertex around which you want to rotate.

2. Use the "Draw/Line/Perpendicular to a line" function to create a line perpendicular to the axis of rotation.

3. Move this line to one end of the rotation axis line - this gives you three points in a plane (the ends of the rotation axis and the end of the perpendicular).

4. Use "View/Working plane/Set working plane" to set a new working plane with the rotation axis in the working plane. Set the "origin" at the intersection of the rotation axis and the perpendicular, and the other two points at the other ends of the axis and perpendicular.

5. Now the rotation axis lies in the new working plane along one of the new X, Y or Z axes, and you can rotate the solid with the simple rotation commands.

6. Use "View/Working Plane/Reset Working Plane" to switch back to the original working plane (as in step 1) after you have made the rotation.

I rarely set a new working plane, but when I need to work on a surface at an odd angle to the normal axes I reset the working plane to the plane of the surface. Then it is relatively simple to make changes to the oddly angled surface. It is MUCH faster than trying to do the math or make geometric constructions. Plus, you don't get errors due to round off in trig functions.
DesignCAD user since 1987

j-wetzel

You guys are the greatest.  Sorry for not thanking you sooner, but I've been a bit under the weather -- well, a lot under the weather.  Thanks again.
--Jack