To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10504
10503  |  10505
Subject: 
Re: LDraw coordinate system driving me crazy
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 19 Nov 2006 15:16:12 GMT
Viewed: 
2748 times
  
In lugnet.cad.dev, Jim Foltz wrote:
   In lugnet.cad.dev, Roland Melkert wrote:
   Hello all,

I’m having difficulties with the ldraw coordinate system. As fas I understood it it’s Right handed, just like OpenGL. So


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 (http://www.ldraw.org/library/primref/) says the LDraw axes are:

X is right, Y is down, and Z is forward. Here’s 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 doesn’t work in practice. I can’t 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 (...) (17 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 (...) (17 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR