To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.lddOpen lugnet.cad.ldd in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDD / 21
Subject: 
Re: LDD to LDRAW Conversion Fixes (another fix)
Newsgroups: 
lugnet.cad.ldd
Date: 
Fri, 30 Jun 2006 12:21:41 GMT
Viewed: 
25207 times
  
Here again is an optional fix.  This will convert new brown in LDD models to old
brown in LDRAW, which is more convenient to edit in MLCAD:

First, comment out the old brown definition:

  <!-- OLD BROWN, removed by Jason Railton 30.Jun.06 -->
  <!-- colour tabulaname="25">6</colour -->

Then, comment out the new brown definition:

  <!-- NEW BROWN, removed by Jason Railton 30.Jun.06 -->
  <!-- colour tabulaname="192">70</colour -->

Finally, add in this crossover definition:

  <!-- NEW TO OLD BROWN, remapped by Jason Railton 30.Jun.06 -->
  <colour tabulaname="192">6</colour>


As for parts, I tried to do the 1x1 plate with tooth from the LDRAW Parts
Tracker (part 49668):
http://www.ldraw.org/cgi-bin/ptdetail.cgi?f=parts/49668.dat

The re-orientation definition required is "y + 0.320" (down a plate) and rotate
Pi radians about the y axis (turn round 180°):

  <!-- 1x1 PLATE WITH TOOTH, added by Jason Railton 30.Jun.06 -->
  <origin x="0.000" y="0.320" z="0.000" axisx="0" axisy="1" axisz="0"
angle="3.141593">49668</origin>

And the part definition is simply:

  <!-- 1x1 PLATE WITH TOOTH, added by Jason Railton 30.Jun.06 -->
  <geometry tabulaname="49668">49668</geometry>

But, this doesn't work.  If you place a tooth on your model in MLCAD, LDD will
import it in the right place.  But, if you save the model from LDD in '.ldr'
format, the tooth will disappear.  Re-loading the '.ldr' file can precipitate a
crash, too.

Contrary to some suggestions based on LDD 1.5, LDD 1.6 refers to all colours of
this part as "49668".  I still don't know why this doesn't work though - it
worked for the 1x1x2/3 slope.


Jason Railton


Subject: 
Re: LDD to LDRAW Conversion Fixes (another fix)
Newsgroups: 
lugnet.cad.ldd
Date: 
Sun, 6 Aug 2006 19:53:30 GMT
Viewed: 
25673 times
  
In lugnet.cad.ldd, Jason J. Railton wrote:

<snipped content>

As for parts, I tried to do the 1x1 plate with tooth from the LDRAW Parts
Tracker (part 49668):
http://www.ldraw.org/cgi-bin/ptdetail.cgi?f=parts/49668.dat

<snipped content>

But, this doesn't work.  If you place a tooth on your model in MLCAD, LDD will
import it in the right place.  But, if you save the model from LDD in '.ldr'
format, the tooth will disappear.  Re-loading the '.ldr' file can precipitate a
crash, too.

Contrary to some suggestions based on LDD 1.5, LDD 1.6 refers to all colours of
this part as "49668".  I still don't know why this doesn't work though - it
worked for the 1x1x2/3 slope.

I'd suggest experimenting and seeing if this is a color-specific issue.

49668 is one of the numbers that is remapped internally in the program, so that
(as you mentioned), it always uses the one number, for both opaque and
transparent parts. I wonder whether the part type that 49668 truly is (Opaque or
Transparent) will transfer fine, but the other coloring type is causing the
crash.  The 1x1x2/3 slope doesn't act this way, which would be why I'm
suggesting this as the cause.

-- joshua

----
Joshua Delahunty
Lugnet member #3


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