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 / *35295 (-20)
  Re: Quick way to mirror-image a model?
 
(...) IMO there *is* value to knowing that the proper exception matrix is indeed an exception rather than coincidentally the same as the default matrix. If the 5 is not the place for this, there should be a new flag for it. It's especially important (...) (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?
 
(...) I don't think so. 5 is for keeping track of which parts we've looked at, not which ones to ignore when your run your mirror program. Eventually I think we'll remove all the ones marked with a 5 from the MIRROR.INI file. (And that includes the (...) (20 years ago, 24-Jun-04, to lugnet.cad)
 
  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?
 
(...) Never mind. 5 would be the correct value for this, right? (20 years ago, 24-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
What about a flag for default behavior? I've been coding to ignore ones with default rotations, but there are plenty of parts (especially slopes) that need a (-1 0 0 0 1 0 0 0 1) rotation applied when reflected front-to-back and it would be nice to (...) (20 years ago, 24-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Total side note: I agree with Don, row/column ordering is not what I would have chosen. BUT, it is far easier (IMO) to hand-transform row/column LDraw commands than the equivalent column/row commands (like I've had to do in POV-Ray code). (...) (20 years ago, 23-Jun-04, to lugnet.cad, lugnet.cad.mlcad)
 
  Re: Mac Brick CAD 2.3b2 (critical bug)
 
Following my release of MBC 2.3b2 the other day, I've been notified of a critical crash bug in the editor, where inserting parts will cause the application to crash. I've now posted an update Mac Brick CAD 2.3b3 that fixes this. If you have (...) (20 years ago, 23-Jun-04, to lugnet.cad.dev.mac)
 
  Re: Quick way to mirror-image a model?
 
(...) Yes, that looks right. The other thing that messes me up with LDRAW matrices is the row, column ordering. The ordering in LDRAW files is not what I would have chosen, so I always have to look it up. From the old FAQ: (URL) type 1's format is: (...) (20 years ago, 23-Jun-04, to lugnet.cad, lugnet.cad.mlcad)
 
  Re: Quick way to mirror-image a model?
 
(...) It's neither commutative [(a * b) * c != a * (b * c)] nor associative [a * b != b * a]. That shouldn't be the problem in the calculation above, since the current matrix was the identity matrix... (...) Looks like you're doing MF = MP * (MC * (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Probably. ;^) (...) Matrix multiplication is not commutative. (distributive? Err, I forget my math terms.) You're doing one or more of the multiplications in the wrong order? Try ME * (MC * MP) instead. Notice I switched the order inside the (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?  [DAT]
 
(...) Can you or Don check my work? I'm trying to figure out why the ME transform that I did works in my program and the ME that Don put in mirror.ini works in his code, but not vice-versa. The most likely explanation is that I'm doing something (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Ignore the 9 suggestion, I see you're already way ahead of me on flag definition. Don (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Read the comments at the top of MIRROR.INI in the zip file. I already did a bunch of wings. Only tested one though... Is there something special about files starting with 1, or are you taking an alphabetical approach? Sadly, I created my (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) and another two: ; 6 = asymmetric ; 7 = asymmetric, but in a non-significant way Part 108 (a shock absorber spring) is getting a 7. Steve (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) In mirror.ini, you noted: ; NOTE: I started using the Flags to keep track of which parts I checked. ; 0 = not checked. ; 1 = substitute part ; 2 = mirror across XY plane instead of default of ZY plane ; 3 = mirror and rotate a bit. ; 4 = (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Developing MLCAD plugins?
 
(...) I forwarded this question to here because I don't know the answer. Apparently there has been some discussion in the past about developing plugins for MLCAD: (URL) there a specification for plugin development? Thanks, Don (20 years ago, 23-Jun-04, to lugnet.cad, lugnet.cad.mlcad)
 
  Re: Quick way to mirror-image a model?
 
(...) It would need to determine the plane of reflection, and do the second reflection on the X components for left-right or Z components for front-back. (...) I've come up with the same results in all cases so far. I'll do some thinking as to which (...) (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Dibs on Wings and files starting with 1! How hard would it be to support normal, self-referential reflections for patterned parts? So we could map all 973*.dat parts to themselves, with a default mirror. Steve (20 years ago, 23-Jun-04, to lugnet.cad)
 
  Re: Quick way to mirror-image a model?
 
(...) Would that work in general cases, or just for right-left reflection? (...) Actually, I think they're not - "Steve's algorithm" (ha!) requires that both the MP and ME transforms be mirroring, so that the MF transform would be non-mirroring. (...) (20 years ago, 23-Jun-04, to lugnet.cad)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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