LEGO Mini Cooper - set 10242


Re: LEGO Mini Cooper - set 10242
#3
I think I have a solution to this. The ldraw.xml needs some editing.

Here we go.

First.
ldraw.xml never translates parts with pattern.
Unless someone puts together a large number of part alias files in ldraw dat-format and creates the equivalent translations in ldraw.xml.
You need to edit the converted file in MLCad, or another model editor, to have any patterned parts.

From your links I created this table of related files/part numbers.

.png   Image 1.png (Size: 8.16 KB / Downloads: 71)

Two of your requested parts are correctly converted by ldraw.xml, 4150 and 98138.
You need to change them into 4150ps4.dat and 98138pc1.dat
91884 is converted, but not correctly.
15068 is missing in ldraw.xml.


To fix this you need to edit your copy of ldraw.xml in a text editor. Notepad will do just fine. Right click on the file and open with Notepad.

Next, search for "91884" and change these lines:
Code:
    <!--  91884 35b  -->
    <Brick ldraw="XXXXX.dat" lego="XXXXX" />
    <Transformation ldraw="91884.dat" tx="0" ty="0" tz="0" ax="0" ay="1" az="0" angle="3.141593"/>
to this:
Code:
<!--  Minifig Shield Round with Stud and Ring Around Edge 91884 35b, Fixed by MagFors -->
<Brick ldraw="XXXXX.dat" lego="XXXXX" />
<!-- Transformation ldraw="91884.dat" tx="0" ty="0" tz="0" ax="0" ay="1" az="0" angle="3.141593"/ -->
<Transformation ldraw="91884.dat" tx="0" ty="0" tz="-0.16" ax="0" ay="0" az="1" angle="1.570796" />

Next, add these lines somewere in your copy of ldraw.xml
Code:
<!-- Slope, Curved 2 x 2 No Studs 15068, translation created by MagFors  -->
<Transformation ldraw="15068.dat" tx="-.4" ty=".32" tz="-.4" ax="0" ay="1" az="0" angle="4.712389"/>


I also noted that the part 11090 is not translated correctly. Search for "11090" and replace this:
Code:
    <!-- Bar Tube with Clip 11090 24  -->
    <Brick ldraw="XXXXX.dat" lego="XXXXX" />
    <Transformation ldraw="11090.dat" tx="0" ty="0" tz="0" ax="0" ay="1" az="0" angle="3.141593"/>
with this:
Code:
    <!-- Bar Tube with Clip 11090 24, Fixed by MagFors -->
    <Brick ldraw="XXXXX.dat" lego="XXXXX" />
    <!-- Transformation ldraw="11090.dat" tx="0" ty="0" tz="0" ax="0" ay="1" az="0" angle="3.141593"/ -->    
    <Transformation ldraw="11090.dat" tx="0" ty="-1.2" tz="0" ax="0" ay="1" az="0" angle="3.141593"/>

Save the file, and make a new export from LDD. The two corrected parts, and one missing, will be translated correctly.

Please note that the lxf-file of the model is not made correctly, compared to the real model.
The headlights are not placed correct.


.png   Image 2.png (Size: 62.92 KB / Downloads: 72)

In the real model the "1x1 tile with clip" is attached to a headlight brick, 4070

Pleas also note that any changes made to the ldraw.xml file will be overwritten the next time TLG chooses to update LDD.

I could have here also attached a corrected mpd-file of 10242, with stickers, but please remember that the fun of lego is putting it together yourself.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: LEGO Mini Cooper - set 10242 - by Magnus Forsberg - 2015-04-16, 21:17

Forum Jump:


Users browsing this thread: 6 Guest(s)