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




__________ Information from ESET Smart Security, version of virus signature database 3975 (20090330) __________

The message was checked by ESET Smart Security.

http://www.eset.com



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