Subject:
|
Re: LDraw coordinate system driving me crazy
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Sun, 19 Nov 2006 15:00:39 GMT
|
Viewed:
|
3040 times
|
| |
| |
In lugnet.cad.dev, Roland Melkert wrote:
|
Hello all,
Im having difficulties with the ldraw coordinate system. As fas I
understood it its Right handed, just like OpenGL. So
|
Ive been having difficulty with importing/exporting .dat files from SketchUp.
In SketchUp, if you stand at the Origin;
X is right, Y is forward, and Z is up.
The LDraw Primitives Reference (http://www.ldraw.org/library/primref/) says
the LDraw axes are:
X is right, Y is down, and Z is forward. Heres the image from the reference
page.
So it first seems like a simple 90 degree rotation around the X axis is all you
need to convert between SketchUp and LDraw system, but it doesnt work in
practice. I cant get the 2 systems to agree on an axes system.
|
|
Message has 2 Replies: | | Re: LDraw coordinate system driving me crazy
|
| A sincere thanks to all of you. Your comments made me go back over (again) my export code, and I found an error. Now it works as expected. I was getting funny rotations because I mis-ordered the elements of the transformation matrix, duh. Seems (...) (18 years ago, 20-Nov-06, to lugnet.cad.dev, FTX)
|
Message is in Reply To:
| | LDraw coordinate system driving me crazy
|
| Hello all, I'm having difficulties with the ldraw coordinate system. As fas I understood it it's Right handed, just like OpenGL. So X positive is right X negative is left Y Positive is top Y Negative is bottom z Positive is front z negative is back (...) (18 years ago, 19-Nov-06, to lugnet.cad.dev)
|
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|