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 / 2239
2238  |  2240
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Mirror Building
Newsgroups: 
lugnet.cad.mlcad
Date: 
Mon, 30 Mar 2009 20:51:51 GMT
Viewed: 
16108 times
  
In lugnet.cad.mlcad, Cristian Sala wrote:
I think that this method only rotates the model...
was if I have somthing like that:
0 Untitled
0 Name: test.ldr
0 Author: MLCad
0 Unofficial Model
0 COLOR 71 Stone_Gray 0 163 162 164 255 163 162 164 255
0 COLOR 72 Dark_Stone_Gray 0 99 95 97 255 99 95 97 255
0 COLOR 151 Light_Stone 8 229 228 222 255 229 228 222 255
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 0 -170 4 -10 1 0 0 0 1 0 0 0 1 6081.DAT
1 0 -150 20 0 1 0 0 0 1 0 0 0 1 2456.DAT
1 0 -110 12 10 1 0 0 0 1 0 0 0 1 4276b.dat
1 14 40 4 -10 1 0 0 0 1 0 0 0 1 6081.DAT
1 14 20 20 0 1 0 0 0 1 0 0 0 1 2456.DAT
1 14 -20 12 10 -1 0 0 0 1 0 0 0 -1 4276b.dat
0

If you put a minus sign in front of one of the ones in an identity matrix, and
leave everything else alone, it will mirror about the corresponding axis.  For
example, this one uses your original geometry, and mirrors the black part around
the X axis.  (I deleted the yellow geometry from the file completely):

0 FILE test.ldr
0 Untitled
0 Name: test.ldr
0 Author: MLCad
0 Unofficial Model
0 COLOR 71 Stone_Gray 0 163 162 164 255 163 162 164 255
0 COLOR 72 Dark_Stone_Gray 0 99 95 97 255 99 95 97 255
0 COLOR 151 Light_Stone 8 229 228 222 255 229 228 222 255
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0

1 16 0 0 0 1 0 0 0 1 0 0 0 1 BlackPart.dat
1 16 0 0 0 -1 0 0 0 1 0 0 0 1 BlackPart.dat

0 FILE BlackPart.dat
1 0 -170 4 -10 1 0 0 0 1 0 0 0 1 6081.DAT
1 0 -150 20 0 1 0 0 0 1 0 0 0 1 2456.DAT
1 0 -110 12 10 1 0 0 0 1 0 0 0 1 4276b.dat
0

Notice how I just changed the 1 to -1 for the second use of BlackPart.dat.

--Travis



Message has 2 Replies:
  Re: Mirror Building
 
(...) SNIP (...) That is also the way I explained it. But we have to mention that with this technic the Logo on the studs are not correct on the mirrored part! cu mikeheide (15 years ago, 30-Mar-09, to lugnet.cad.mlcad)
  Re: Mirror Building
 
"Travis Cobbs" <tcobbs@REMOVEgmail.com> ha scritto nel messaggio news:KHC7AF.n5s@lugnet.com... (...) hey, it really works.... and it was so easy too!!! probably I have done some mistake in the Mike's suggestion!! thank you very much! Cristian (...) (15 years ago, 31-Mar-09, to lugnet.cad.mlcad)

Message is in Reply To:
  Re: Mirror Building  [DAT]
 
(...) hello Mike, I think that this method only rotates the model... was if I have somthing like that: 0 Untitled 0 Name: test.ldr 0 Author: MLCad 0 Unofficial Model 0 COLOR 71 Stone_Gray 0 163 162 164 255 163 162 164 255 0 COLOR 72 Dark_Stone_Gray (...) (15 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

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