To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9013
9012  |  9014
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Mirrored parts and studs
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 1 Jul 2003 19:14:28 GMT
Viewed: 
1333 times
  
In lugnet.cad.dev, Orion Pobursky wrote:
There is somewhat of a disagreeance going on over at the PT about mirrored parts
and I thought I'd bring it to the whole community to discuss.

Here's a little background for the non initiated:

In order to same time and DAT code if a part has a mirrored brother then one
part reference the other and applies a mirrored matrix.  For example, the
Technic Panel #1 just references Technic Panel #2 and applies the matrix

-1 0 0 0 1 0 0 0 1

This is the preferred way to represent a mirrored part pair.  There is no
disagreement about this methed of coding parts.  The problem comes in when you
add studs.

If you have stud the the part and apply a mirror matrix, most of the time
nothing is wrong. Along comes L3P or LDView that, based on user preference, add
the LEGO logo to the top of the studs.  If the part is a mirror part then the
added logos also show up mirrored. Here's where we get 2 dissenting opinons:

1.)  Nothing is wrong with the part.  The stud logos are added by an external
program and are not part of the DAT code.  This is, therefore, a limitation of
the external program and not of the part itself.

2.)  The part itself is flawed in that the studs are mirrored.  We should redo
all the mirrored parts with stud in such a way that the studs are not mirrored.

My question to the reader of this post is:

What do you prefer?

I'm axious to get a resolution on this since many otherwise good part are being
held up because of this issue.

-Orion

I favour the following scenario - put the part detail in a subpart, but the
studs themselves in the main part files.

s\xxxxs01.dat
bulk of part excluding decorated surfaces and studs (handedness of lowest
numbered part)

xxxx.dat
1 0 0 0 1 0 0 0 1 0 0 0 1 s\xxxxs01.dat
4s and 3s for decoration
x y z 1 0 0 0 1 0 0 0 1 stud.dat (correctly orientated for LEGO logo)

xxxy.dat
1 0 0 0 -1 0 0 0 1 0 0 0 1 s\xxxxs01.dat
4s and 3s for decoration
x y z 1 0 0 0 1 0 0 0 1 stud.dat (correctly orientated for LEGO logo)
Chris



Message has 2 Replies:
  Re: Mirrored parts and studs
 
I am generally against new meta-commands, but inspired by "0 BFD INVERTNEXT", how about something like "0 MIRRORING KEEPPOSITIVENEXT". The more accurate syntax, I leave to the gurus... /Tore (21 years ago, 1-Jul-03, to lugnet.cad.dev)
  Re: Mirrored parts and studs
 
(...) Thats what i did with the re-upload of some files from the 2865.dat & 32087.dat parts (9V straight track, 9V track cross ) and the recently posted 2867.dat (9V Curved track). I moved the studs from the subparts to the main file. With the (...) (21 years ago, 1-Jul-03, to lugnet.cad.dev)

Message is in Reply To:
  Mirrored parts and studs
 
There is somewhat of a disagreeance going on over at the PT about mirrored parts and I thought I'd bring it to the whole community to discuss. Here's a little background for the non initiated: In order to same time and DAT code if a part has a (...) (21 years ago, 1-Jul-03, to lugnet.cad.dev)

25 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