To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7870
    Re: Rotation of Systems —Don Heyse
   (...) How about this? s.origin = singlepart.origin For (each part) diff.origin = part.origin - s.origin part.origin += diff.origin rotate part about part.origin part.origin -= diff.origin Scribble the movement on paper and see if it works. I think (...) (22 years ago, 20-Sep-02, to lugnet.cad.dev)
   
        Re: Rotation of Systems —Kevin Clague
   To make rotation work like you want, you have to move the group to the origin of the MLCAD space, rotate the group, then relocate the group to where it started. Kevin (...) figuring (...) (22 years ago, 20-Sep-02, to lugnet.cad.dev)
   
        Re: Rotation of Systems —Orion Pobursky
   Here's a clarification of my question: I'm creating a minifig generator plugin for LDDesignPad (possibly a stand alone version as well). I'm having trouble rotating the arm,hand,tool assembly about the origin of the arm. Using an inline procedure (...) (22 years ago, 20-Sep-02, to lugnet.cad.dev)
   
        Re: Rotation of Systems —Don Heyse
   (...) Lets try it with vectors. Calculate the vector V from the arm origin to the hand origin. Rotate this vector about the arm origin (by angle A) to generate vector W. Subtract V from W to generate displacement vector X. Add the displacement (...) (22 years ago, 20-Sep-02, to lugnet.cad.dev)
   
        Re: Rotation of Systems —Steve Bliss
   (...) Actually, if I remember right, the Minifig Modeler in LDAO uses LDLite statements for placement and rotation. Of course, it's been awhile since I was in that code, so I could be hallucinating... 0 TRANSLATE <to end of arm> 0 ROTATE <wrist into (...) (22 years ago, 26-Sep-02, to lugnet.cad.dev)
   
        Re: Rotation of Systems —Orion Pobursky
   (...) Yup, you remember correctly. Actually, I solved my problem after looking at your code. -Orion (22 years ago, 26-Sep-02, to lugnet.cad.dev)
 

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