Subject:
|
Re: LDraw coordinate system driving me crazy
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Sun, 19 Nov 2006 15:16:12 GMT
|
Viewed:
|
3078 times
|
| |
| |
In lugnet.cad.dev, Jim Foltz wrote:
|
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.
|
In LDraw +z is backwards, not forwards or more strictly +Z points away from the
camera when X is right and -Y is up.
Tim
|
|
Message has 1 Reply: | | Re: LDraw coordinate system driving me crazy
|
| Hi, Here's my box test model in SketchUp. (The above model is the same model unfolded.) (URL) When I export this model to a .dat and open it in LDView, the green side is the top-view, blue is the front view (as expected), and I would expect the (...) (18 years ago, 19-Nov-06, to lugnet.cad.dev, FTX)
|
Message is in Reply To:
| | Re: LDraw coordinate system driving me crazy
|
| (...) I've 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 ((URL)) says the LDraw axes are: X is right, Y is (...) (18 years ago, 19-Nov-06, to lugnet.cad.dev, FTX)
|
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
|
|
|
|