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 / 2236
2235  |  2237
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Mirror Building
Newsgroups: 
lugnet.cad.mlcad
Date: 
Mon, 30 Mar 2009 18:30:13 GMT
Viewed: 
15829 times
  
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?

Kevin


Or did I missunderstood your question?

cu
mikeheide



Message has 1 Reply:
  Re: Mirror Building  [DAT]
 
(...) 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 (...) (15 years ago, 30-Mar-09, to lugnet.cad.mlcad)

Message is in Reply To:
  Re: Mirror Building  [DAT]
 
(...) 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 (...) (15 years ago, 29-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

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