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 / 3042
3041  |  3043
Subject: 
Re: Comprehensive meta-command list
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 5 Oct 1999 13:15:50 GMT
Viewed: 
448 times
  
On Sun, 3 Oct 1999 04:20:30 GMT, "Gary Williams" <graywolf@pcpros.net>
wrote:

0 ROTATE { <angle> <roll> <yaw> <pitch> | END } (Four angles?  What's the
first one for?)

Used to rotate everything until the END is encountered.

The last three parameters define a vector, not angles.  The nested commands
are rotated <angle> degrees around the vector.

To rotate 45 degrees around X, do:

0 ROTATE 45 1 0 0
...

To rotate -45 degress around Y, you can do this:

0 ROTATE 45 0 -1 0

You can rotate around any vector, but I can only hand-write the simple
ones.

Steve



Message is in Reply To:
  Comprehensive meta-command list
 
I'm attempting to compile a list of all meta-commands...did I miss anything? Current (From the LDraw FAQ): 0 <description> If the first line of the file is a comment, it's assumed to be the description of the file. 0 STEP Used to indicate the end of (...) (25 years ago, 3-Oct-99, to lugnet.cad.dev)

21 Messages in This Thread:









Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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