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
20  |  22
Subject: 
Re: LDD to LDRAW Conversion Fixes (another fix)
Newsgroups: 
lugnet.cad.ldd
Date: 
Fri, 30 Jun 2006 12:21:41 GMT
Viewed: 
25148 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



Message has 1 Reply:
  Re: LDD to LDRAW Conversion Fixes (another fix)
 
In lugnet.cad.ldd, Jason J. Railton wrote: <snipped content> (...) <snipped content> (...) 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 (...) (18 years ago, 6-Aug-06, to lugnet.cad.ldd)

Message is in Reply To:
  LDD to LDRAW Conversion Fixes
 
I've been tinkering with the "ldraw.xml" file in LEGO Digital Designer (LDD), and have come up with the following list of fixes for good LDD/LDRAW conversion. In case you hadn't already discovered, if you append ".ldr" to the end of the file name (...) (18 years ago, 28-Jun-06, to lugnet.cad.ldd, lugnet.lego, lugnet.trains, lugnet.town, lugnet.build) !! 

10 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