To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 16284
16283  |  16285
Subject: 
Mirror matrix question
Newsgroups: 
lugnet.cad
Date: 
Sun, 14 Jun 2009 23:27:46 GMT
Viewed: 
8337 times
  
Hi gang,

  If I have an LDraw Type 1 line that adds a submodel, and the rotation matrix
of the line is a mirrored matrix about one and only one axis, can one calculate
which axis the model is mirrored about?  Can one do so if the user mirrored
*and* rotated the submodel when adding it to the model?

  What I want to do is to be able to render the mirror image version of the
model as the mirror image (so the user builds the submodel correctly), but with
the same overall orientation as the non-mirrored version.

  Any help would be great.

Thanks,
Kevin



Message has 5 Replies:
  Re: Mirror matrix question
 
(This should probably have been in lugnet.cad.dev, and I almost put it there, but decided that it wouldn't make much difference.) I don't know the answer to this question. I'm responding any, just to let you know that I did read the question, since (...) (15 years ago, 15-Jun-09, to lugnet.cad)
  Re: Mirror matrix question
 
(...) I don't think so. (...) What if you mirror it again to get back to an unmirrored state, then run the code in mirwiz to create a submodel that only looks mirrored (but actually just flips pieces to look mirrored and substitutes opposite wedges, (...) (15 years ago, 15-Jun-09, to lugnet.cad)
  Re: Mirror matrix question
 
(...) Not sure if this helps but... If you solve (M11+1) x + M12 y = - M13 M21 x + (M22+1) y = - M23 and then normalise the vector (x,y,1) the result will be a vector normal to the mirroring plane. To test that you indeed have a rotation/mirror you (...) (15 years ago, 15-Jun-09, to lugnet.cad)
  Re: Mirror matrix question
 
(...) You can also use SR 3D Builder to build your mirrored/symmetric models. You build a side and the program will build the other, mirrored one. It automatically substitute and rotate non symmetric parts and is compatible with lDraw/MLCad file (...) (15 years ago, 15-Jun-09, to lugnet.cad)
  Re: Mirror matrix question
 
(...) Hi Kevin, I just realised that there might be a way to do this by exploiting the way LDRAW defines parts. All mirrored parts should be written as a bunch of studs and a subpart which is either mirrored or non-mirrored. By determining which (...) (15 years ago, 13-Aug-09, to lugnet.cad)

9 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