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 / 2241
2240  |  2242
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Mirror Building
Newsgroups: 
lugnet.cad.mlcad
Date: 
Mon, 30 Mar 2009 21:38:18 GMT
Viewed: 
16895 times
  
In lugnet.cad.mlcad, Cristian Sala wrote:
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

Or did I missunderstood your question?

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 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

I draw the black part and then I expect to have it "mirrored" like the
yellow one..

the same effect as you put the part in front of a mirror... not just
rotating it

am I right?

thank you
Cristian

Oh, I made a mistake. It should be for the second line for rotation about Y:
The next line is then
1 16 0 0 0 -1 0 0 0 1 0 0 0 1 modelhalf.dat

You have to make sure that the origin of your modelhalf.dat will be at the
"mirror surface".

Here an mpd made from your source:

0 FILE Untitled1.dat
0 Untitled
0 Name: Untitled1.dat
0 Author: MLCad
0 Unofficial Model
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
0 FILE modelhalf.ldr
0 Modelhalf
0 Name: modelhalf.ldr
0 Author: Michael Heidemann [mikeheide]
0 Unofficial Model
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG -3 1
1 14 110 4 -10 1 0 0 0 1 0 0 0 1 6081.DAT
1 14 90 20 0 1 0 0 0 1 0 0 0 1 2456.DAT
1 14 50 12 10 -1 0 0 0 1 0 0 0 -1 4276b.dat
0
0 FILE completemodel.ldr
0 Complete Model
0 Name: completemodel.ldr
0 Author: Michael Heidemann [mikeheide]
0 Unofficial Model
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 modelhalf.ldr
1 16 0 0 0 -1 0 0 0 1 0 0 0 1 modelhalf.ldr
0
0



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 (...) (16 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
    

Custom Search

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