To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 548
  Rotating a part?
 
L-cad is down, and I really would like help with this: I have point A (x,y,z) and point B (x',y',z'). I want to rotate a part (with its insertion point at A) so that it is perpendicular to the line AB. How do I calculate the angles of rotation about (...) (26 years ago, 21-Jan-99, to lugnet.cad)
 
  Re: Rotating a part?
 
(...) Here's a better answer than the one I sent to L-CAD (which I assume is still in listserv limbo). This is a quote from the comp.graphics.algorithms FAQ. But first, info on where to get the complete FAQ: ===...=== Subject 0.03: How can I get (...) (26 years ago, 21-Jan-99, to lugnet.cad)
 
  Re: Rotating a part?
 
This seems designed to rotate points given an angle and a rotation axis. I'm trying to determine what angle(s) to use given a line between two points. Also, I'm not a programmer, so I'm basically stuck with formulas I can use in a spreadsheet. (...) (26 years ago, 21-Jan-99, to lugnet.cad)
 
  Re: Rotating a part?
 
Ah. You can't apply the solution given, because you need to find the axis of rotation. That axis is the vector which is normal to the vertical line through the current insertion point and the ending insertion point. There's probably also information (...) (26 years ago, 21-Jan-99, to lugnet.cad)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR