Sign in to follow this  
Jarema

ldraw.xml

Recommended Posts

Doesn’t seem so bad to me :tongue:

Hard to tell from the picture but I guess the missing parts are motors and electrical stuff and flexible(?) parts.

For flexible parts, no luck. LDD 4.3.9 doesn’t export them anymore. At all. Even unflexed ones. 4.3.8 did, 4.3.9 won’t.

For motors and electrical stuff or any other part that’s not correctly converted, if you have the part numbers in both LDD and LDraw, I can look into it and try to add or correct them.

Share this post


Link to post
Share on other sites

This work for Me.

<!-- Electric Mindstorms EV3 Brick -->
<Brick ldraw="95646.dat" lego="54809" />
<Transformation ldraw="95646.dat" tx="2.4" ty="-3.6" tz="4.8" ax="0" ay="1" az="0" angle="1.570796" />
<!-- Electric Mindstorms EV3 Gyroscopic Sensor -->
<Brick ldraw="99380.dat" lego="91996" />
<Transformation ldraw="99380.dat" tx="-0.4" ty="0" tz="-0.8" ax="0" ay="1" az="0" angle="4.712389"/>
<!-- Electric Mindstorms EV3 Color Sensor -->
<Transformation ldraw="95650.dat" tx="-0.4" ty="0" tz="-0.8" ax="0" ay="1" az="0" angle="4.712389" />
<!-- Electric Mindstorms EV3 Ultrasonic Sensor -->
<Transformation ldraw="95652.dat" tx="-0.4" ty="0" tz="-0.8" ax="0" ay="1" az="0" angle="4.712389" />
<!-- Electric Mindstorms EV3 Infrared Sensor -->
<Transformation ldraw="95654.dat" tx="-0.4" ty="0" tz="-0.8" ax="0" ay="1" az="0" angle="4.712389" />

But... still need add transformation for:

<!-- Tread Small (20 tread 'links') -->
<Brick ldraw="71965c01.dat" lego="43903" />

<!-- Electric Mindstorms EV3 Touch Sensor -->
<Brick ldraw="95648.dat" lego="95648" />

<!-- Electric Mindstorms EV3 Small Motor -->
<Brick ldraw="99455.dat" lego="99455" />

<!-- Electric Mindstorms EV3 Large Motor -->
<Brick ldraw="95658.dat" lego="95658" />

Edited by Jarema

Share this post


Link to post
Share on other sites

Updated.

But:

  • 54809 is a totally different part, a propellor. It’s part of 54824 in LDD.
  • 91996 doesn’t exist in LDraw, nor in LDD.
  • 43903 is in the unofficial parts library, as 45903c01.dat
    As said in the introduction, I prefer exact matches with unofficial parts (which will hopefully soon become official) than almost matches with official but (even slighty) different parts.
    In this case, 71965c01.dat has 28 Tooth, 45903 has 20.
  • 95648, 95658, and 99455 are assemblies.
    I found the composing parts in LDraw.
    I haven’t yet made the assembly importation (LDraw to LDD) yet, only export, but separated parts should be okay.
    Edit:separated parts correctly positionned are imported and “assembled” in LDD. LDraw assemblies are not importable (same as steering wheel, etc.).

Edited by SylvainLS

Share this post


Link to post
Share on other sites

For Electric Mindstorms NXT RJ12 Cable End remove x from ldraw="x933c01.dat" or you should consider about using 933c02.dat as replacement.

Edited by Jarema

Share this post


Link to post
Share on other sites

As far as I can tell, 933c01.dat should match 60410.

And 60410 is only available in LDD in the “loose” assemblies 55804, 55805, 55806, 11145, 11146, 11147, and 54690.

I say “loose” assemblies because the two parts can be moved separately.

LDraw provides the complete assemblies 55804.dat, 55805.dat, 55806.dat, 11145.dat, 11146.dat, and 11147.dat (nothing for 54690).

But LDD assemblies aren’t exported as LDraw assemblies (and vice versa for import), which is not a bad thing as LDraw assemblies are one-piece: their parts can’t be moved separately (so their positions wouldn’t match their LDD counterparts).

Anyway, LDD assemblies are normally exported as separated parts.

So 5580[456] and 1114[567] should be exported as two 60410/933c01.dat.

But they are not.

Therefore I think those assemblies are among the parts LDD refuses to export, like flexible parts.

So, to sum it up: no luck there.

Oops, there was a typo :grin:.

So, they are correctly exported as two separate plugs.

But they can’t be imported: the Assembly element should define the relative positions of the components of the assembly. We can’t do that for those assemblies because the components can be placed anywhere.

Besides, we have 6 LDD assemblies with the same two components.

Edited by SylvainLS

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.