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 / 11643
11642  |  11644
Subject: 
Re: Quick way to mirror-image a model?
Newsgroups: 
lugnet.cad
Date: 
Wed, 23 Jun 2004 15:55:29 GMT
Viewed: 
4102 times
  
In lugnet.cad, Steve Bliss wrote:
In lugnet.cad, Don Heyse wrote:
And generating the MIRROR.INI file.  I did some corner parts, some
triangular wings, some minifig arms and legs, and some technic liftarms.
I also created a tiny C program to parse MIRROR.INI and use it to mirror
a file across the ZY plane.  It seems to work so far.  The source, ini,
and a windows command line executable is here:

  http://ldglite.sf.net/mirwin.zip

If anyone wants to update MIRROR.INI for all 2500 parts, that'd be
fantastic.

Dibs on Wings and files starting with 1!

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
sample MIRROR.INI from a PARTS.LST sorted by description, not
part name. :^(

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.

That was my plan, and it takes almost no work.  We just have to mark
them as done somewhere and eventually remove them from MIRROR.INI when
all the parts have been checked.  See the comments in MIRROR.INI to
see how I've been marking the flag field to tag parts I've worked on.
I suppose you could use a flag of 9 to indicate a part that fits the
default profile, so we know we've made a decision on it.  We'll know
we're done when there are no 0 flags left.

Have you tested the mirwiz.exe program on any .LDR files yet?  It's one
way to spot the exceptions not yet handled in MIRROR.INI.  And it's
kinda fun.

Enjoy,

Don



Message has 1 Reply:
  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)

Message is in Reply To:
  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)

65 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