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 / 11652
  Re: Quick way to mirror-image a model?
 
(...) Why? I have a slow PC, and running the mirwiz.exe program is nearly instantaneous. It's a lookup and 2 matrix multiplies per part. If the exception matrix lookup fails, use the default matrix. It would take extra, unneeded code to ignore (...) (20 years ago, 24-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Why process something as an exception when the default behavior is needed? It's all in what one sees as extra, unneeded code. ;-) Though I just did some timing and I don't see any performance differences between ignoring them and not. (...) (...) (20 years ago, 24-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Well, yeah. But it's simpler to process it all -- the only exceptional processing you need is "look for the part in mirror.ini. If not found, use the default settings". With your method, you have to also add "if the matrix looks like MD, then (...) (20 years ago, 24-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
Oops, I missed replying to one point. (...) If you mean (-1 0 0 0 1 0 0 0 1) as the 'default' matrix, my response is: that default matrix works for *any* reflection across any arbitrary plane. If you mean (-1 0 0 0 1 0 0 0 1) as the reflection (...) (20 years ago, 24-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Uh, I thought we were refering to it as "Steve's algorithm". Are you having 2nd thoughts? ;^) Enjoy, Don PS. Why am I constantly seeing really long lines in the browser for this thread. It makes things really hard to read when I have to scroll (...) (20 years ago, 24-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Sorry, I should have said "Don's pseudo-code". ;) (...) I don't know - I'm replying via the web interface, posting with plain text. (20 years ago, 24-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Alright, I give up then. I've accomplished my original goal of mirroring a model, and I'm just confusing and frustrating myself and wasting your and Don's time with stupid questions. I've put the newest executable & source code at: (URL) (20 years ago, 25-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) I've put the complete mirror.ini file here for now. (URL) (20 years ago, 2-Jul-04, to lugnet.cad)

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