To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 665
664  |  666
Subject: 
Re: Mirroring models
Newsgroups: 
lugnet.cad.mlcad
Date: 
Fri, 8 Dec 2000 22:51:35 GMT
Viewed: 
2266 times
  
Please ignore my previous reply;
I had a typo in it.  :-/
Franklin

In lugnet.cad.mlcad, Bryan Hodges writes:

Can anyone tell me how to mirror a model in MLCad or LDraw?
I'm currently utilizing MLCad to make dat files of my Imperial Shuttle,
and I've completed the left wing for it.  I'd like to simply mirror
the right wing, since it's an exact symetrical copy of the left wing.

Here's how I'd do it.

Suppose you've currently got this "left wing" sub-assembly
in a subfile which, for the purpose of this example,
I shall call "leftwing.dat".  Inside your main model's
DAT file, you will have a line as follows:

|>  1  q  x  y  z  a  b  c  d  e  f  g  h  i  leftwing.dat

In this line, the co-ordinate (x,y,z) is the placement
of the left wing, and <a,b,c,d,e,f,g,h,i,j>
is the corresponding matrix.

To make a "mirror" of the left wing (to use as a "right wing"),
copy and paste this line, and then modify it as follows:

|>  1  q -x  y  z -a -b -c  d  e  f  g  h  i  leftwing.dat

I _specifically_ call your attention to the fact that
the "X"-co-ordinate _and_ the first three number of the matix
have been multiplied by "-1" (negative one).

I hope this helps.
Franklin



Message is in Reply To:
  Mirroring models
 
Can anyone tell me how to mirror a model in MLCad or LDraw? I'm currently utilizing MLCad to make dat files of my Imperial Shuttle, and I've completed the left wing for it. I'd like to simply mirror the right wing, since it's an exact symetrical (...) (24 years ago, 8-Dec-00, to lugnet.cad.mlcad)

7 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