LDCad 1.6 suggestions/plans


Re: LDCad 1.6 ROTSTEP feedback
I never used ROTSTEP, but about the question "Also does anyone know the best/easiest way to extract the angles from an existing rotation matrix?", attached you can find the Excel file I use to convert angles to matrix and vice versa (second sheet), plus some useful trigonometric formulas to estimate the angles to be applied to pieces (first sheet).

You can paste in B2 the rotation matrix copied from LDCad and see the results in the B13Big Grin15 range (choose the axis sequence you prefer), or obtain the resulting rotation matrix in B28, from the angles applied in the x-z-y order from the B19:B21 cells.

Note that the 2D arctangent in Excel uses the arguments in reversed order in respect to other programming languages and math bibliography.

I don't know if this is the easiest/best way to obtain them, I have no PhD in mathematics :-P
Ignore the round formula.

Hope this can help you

EDIT:
Oops, just saw you already found a solution.. I have not yet studied your formulas, but I have not seen a check condition for the +/-90 degrees singularity. Have you checked the rotation matrix 0 -1 0 1 0 0 0 0 1?
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: LDCad 1.6 ROTSTEP feedback - by TestOne - 2016-02-25, 22:56
RE: LDCad 1.6 suggestions/plans - by Kai - 2016-05-23, 18:48
RE: LDCad 1.6 suggestions/plans - by Art - 2016-08-11, 12:56
RE: LDCad 1.6 suggestions/plans - by Art - 2016-08-12, 7:29
RE: LDCad 1.6 suggestions/plans - by Karen M - 2017-10-24, 10:28

Forum Jump:


Users browsing this thread: 2 Guest(s)