Posts: 3,037
Threads: 161
Joined: Jul 2011
RE: LDraw file generation
2019-07-29, 19:30
(2019-07-29, 15:41)Ed Bardet Wrote: I am not a math person so the translation matrices throw me. I was hoping that I could find a way that I could calculate the various values for each row. I was wondering if there was an explanation somewhere of how the translation is done. The actual trig would be wonderful.
You could do this with LDCad's scripting, that way you won't need to worry (much) about the matrix math.
(2019-07-29, 15:41)Ed Bardet Wrote: One other thing,that I was not able to find, was where do the coordinates refer to. The geometric center of the brick? or someplace else.
The matrix in the type 1 lines always works with the abs origin (0,0,0) of the part/submodel it references.