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 / 2242
2241  |  2243
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Mirror Building
Newsgroups: 
lugnet.cad.mlcad
Date: 
Mon, 30 Mar 2009 21:41:21 GMT
Viewed: 
23975 times
  
In lugnet.cad.mlcad, Kevin L. Clague wrote:
> In lugnet.cad.mlcad, Michael Heidemann wrote:
> > In lugnet.cad.mlcad, Cristian Sala wrote:
> > > hello guys,
> > > 
> > > I want to know if someone has ever thinked about doing a program to mirror a
> > > model!
> > > in other words, when you build a symmetrix model, you build only one side
> > > and then mirror it to the other side
> > > 
> > > thank you
> > > Cristian
> > 
> > 
> > Why using a special program?
> > 
> > First build the half of your model.
> > This model is then referenced by the main file with a line like
> > 1 16 0 0 0 1 0 0 0 1 0 0 0 1 modelhalf.dat
> > 
> > The next line is then
> > 1 16 0 0 0 1 0 0 0 -1 0 0 0 1 modelhalf.dat
> > 
> > Got it!
> 
> 
> Christian,
> 
>   Mike is showing you a very nice magic trick that can be performed using the
> rotation matrix associated with each part added in an LDraw model.
> 
>   An LDraw type 1 line has this format:
> 
> 1 <color> <x> <y> <z> <a> <b> <c> <d> <e> <f> <g> <h> <i> <type>
> 
> <a> through <i> are the rotation matrix:
> 
> <a> <b> <c>
> <d> <e> <f>
> <g> <h> <i>
> 
> A matrix that does no rotation is:
> 
> 1 0 0
> 0 1 0
> 0 0 1
> 
> Mike changed this to:
> 
> 1  0 0
> 0 -1 0
> 0  0 1
> 
> Mike, how does this create a mirror image about the Y axis?

You are right, my fault. It should be for the second line:

The next line is then
1 16 0 0 0 -1 0 0 0 1 0 0 0 1 modelhalf.dat

Sorry for any trouble made by this.

cu
mikeheide


> 
> Kevin
> 
> > 
> > Or did I missunderstood your question?
> > 
> > cu
> > mikeheide



Message is in Reply To:
  Re: Mirror Building  [DAT]
 
(...) Christian, Mike is showing you a very nice magic trick that can be performed using the rotation matrix associated with each part added in an LDraw model. An LDraw type 1 line has this format: 1 <color> <x> <y> <z> <a> <b> <c> <d> <e> <f> <g> (...) (17 years ago, 30-Mar-09, to lugnet.cad.mlcad)

16 Messages in This Thread:






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

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