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 / 13445
    Re: Finding a rotation matrix for a triangle —Niels Bugge
   (...) Heh, probably ;-) Well, perhaps I got the math part, and definition process a bit mixed up: I'd just like to have a program that, from a three coordinates on a plane, can give me a rotation vector+angle that I can enter in MLCad... And I'm a (...) (19 years ago, 29-Nov-05, to lugnet.cad, FTX)
   
        Re: Finding a rotation matrix for a triangle —Timothy Gould
   (...) Hi Niels, There isn't really a meaningful way to get an angle out of a plane defined by three points. What would the angle mean? The xyz, angle formula in MLCad just says rotate the vector angle degrees around the vector xyz but in the case of (...) (19 years ago, 29-Nov-05, to lugnet.cad)
   
        Re: Finding a rotation matrix for a triangle —Niels Bugge
   (...) The angle of the plane defined by the three points: I need to slap a primitive directly onto the triange with the correct angle. Now, if I should only slap this edge-primitive onto some rect-primitive, I should be able to copy the angle (...) (19 years ago, 5-Dec-05, to lugnet.cad, FTX)
   
        Re: Finding a rotation matrix for a triangle —Timothy Gould
   (...) Now I think I see what you mean. You want to know how to rotate the primitive so that it lines up with one of the edge lines of the triangle. (...) This isn't the best way to go (I'll explain at the end of the post). (...) OK. The problem here (...) (19 years ago, 5-Dec-05, to lugnet.cad)
   
        OK here's the real problem! (Was: Re: Finding a rotation matrix for a triangle) —Niels Bugge
   Well, I think I've tried to explain what I need to do 3-4 times already, which is where I think the language barriers have played a pretty big role... The reason I tried to cook the problem down, is to reduce confusion, but I guess that was a bad (...) (19 years ago, 6-Dec-05, to lugnet.cad, FTX)
   
        Re: OK here's the real problem! (Was: Re: Finding a rotation matrix for a triangle) —Timothy Gould
     (...) I think my interpratation from the last time was halfway there and this explains it much better so we're definitely getting somewhere faster now :). You should be able to use the formula I gave in the last reply instead of an XYZ+angle in (...) (19 years ago, 6-Dec-05, to lugnet.cad, FTX)
   
        Re: OK here's the real problem! (Was: Re: Finding a rotation matrix for a triangle) —Don Heyse
     (...) Take the edge line: 1 2 -30 4 10 -3.69552 0 -1.53073 0 1 0 1.53073 0 -3.69552 1-4edge.dat Put it in a separate subfile. Include that subfile with no rotation matrix. Now apply a new MLCad rotation to the subfile. Finally inline the subfile to (...) (19 years ago, 6-Dec-05, to lugnet.cad, FTX)
   
        Re: OK here's the real problem! (Was: Re: Finding a rotation matrix for a triangle) —Steve Bliss
   (...) Actually, what you need to do is *skew* the 1-4edge. Literally deform it, so it stretches along the edge of the stud3 cylinder. If you turn it, it will no longer intersect the surface of the cylinder -- the edge will disappear inside the (...) (19 years ago, 6-Dec-05, to lugnet.cad, FTX)
 

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