| | Re: Rotation of Systems
|
| 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
|
| 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
|
| (...) 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
|
| (...) 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
|
| (...) 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)
| |