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 / 102
     
   
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 7 Apr 2007 18:50:46 GMT
Viewed: 
24877 times
  

In lugnet.cad.ldd, Timothy Gould wrote:
Hi all,

I've converted the old conversion file from LDD 1.6 (with Jason Railton's
adaptions) to LDD 2.0 format. It is far from perfect but is also far better than
what is currently available.

To install it just quit LDD 2, go to [LDD2Directory]/assets and look for the
file ldraw.xml. Back the file up somewhere and replace it by my file. When you
reboot it will offer much more substantial conversion (although a lot of pieces
will be killed by bad translation and rotation tables).

http://www.brickshelf.com/gallery/timgould/Misc/ldraw.xml

Tim

I have been trying to correct some of the errors when exporting from LDD > LDR,
and not being a programmer I have come to a dead end.
I have been able to correct some of the parts that would show up but not in the
correct location or rotation. But I’m at a loss to why some parts just do not
show up.
I have noticed that at the end of the XML for LDRAW it seems to be a conversion
of part #’s from 3068b >3068. But these parts do not show up, should there also
be lines like below for 3068b?
Also how do I find out what the LEGO part numbers are for LDD parts?
Are all the current available parts in this XML file one way or another but may
need fixed? If not would it be a waste of my time to add the rest (if you or
others all ready working on it).

Fixed these
<Transformation ldraw="3045.dat" tx="0.000" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="3046.dat" tx="0" ty="-0.96" tz="0.800"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="3039.dat" tx="-0.400" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="0" />
<Transformation ldraw="4286.dat" tx="0.000" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="0" />

Thanks
Mike Gallagher
MIKESLEGO
GALLAGHERSART

   
         
   
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 7 Apr 2007 19:00:54 GMT
Viewed: 
25855 times
  

In lugnet.cad.ldd, Mike Gallagher wrote:
In lugnet.cad.ldd, Timothy Gould wrote:
Hi all,

I've converted the old conversion file from LDD 1.6 (with Jason Railton's
adaptions) to LDD 2.0 format. It is far from perfect but is also far better than
what is currently available.

To install it just quit LDD 2, go to [LDD2Directory]/assets and look for the
file ldraw.xml. Back the file up somewhere and replace it by my file. When you
reboot it will offer much more substantial conversion (although a lot of pieces
will be killed by bad translation and rotation tables).

http://www.brickshelf.com/gallery/timgould/Misc/ldraw.xml

Tim

I have been trying to correct some of the errors when exporting from LDD > LDR,
and not being a programmer I have come to a dead end.
I have been able to correct some of the parts that would show up but not in the
correct location or rotation. But I’m at a loss to why some parts just do not
show up.

Me too to some degree.

I have noticed that at the end of the XML for LDRAW it seems to be a conversion
of part #’s from 3068b >3068. But these parts do not show up, should there also
be lines like below for 3068b?

I believe the system may be (incorrectly) case sensitive when reading LDraw
files. Perhaps add b and B options. It's also possible this particular aspect is
not yet programmed completely.

Furthermore when generating LDraw files from LDD it will use the first of these
conversions for the inverse so add the latest version of the part first.

Also how do I find out what the LEGO part numbers are for LDD parts?
Are all the current available parts in this XML file one way or another but may
need fixed

I couldn't say if they're all there. I just converted the LDD 1.6 conversion
file to the new format for LDD 2.0.

I believe that the Factory Pick a Brick will show you the part number when you
click on a part although I can't remember exactly where to find it. For the most
part they should be the same as LDraw although there are potential problems for
clear elements which I believe can have different part numbers to the
translucent equivalents.

If not would it be a waste of my time to add the rest (if you or
others all ready working on it).

I've not touched the file since I autogenerated it and fixed a few parts. I'm
hoping to get some extra information from the Factory team to make writing the
conversion a lot easier.

Fixed these
<Transformation ldraw="3045.dat" tx="0.000" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="3046.dat" tx="0" ty="-0.96" tz="0.800"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="3039.dat" tx="-0.400" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="0" />
<Transformation ldraw="4286.dat" tx="0.000" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="0" />

Thanks
Mike Gallagher
MIKESLEGO
GALLAGHERSART

And thank you for these fixes.

Tim

   
         
   
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 7 Apr 2007 20:45:47 GMT
Viewed: 
26229 times
  

In lugnet.cad.ldd, Timothy Gould wrote:
In lugnet.cad.ldd, Mike Gallagher wrote:
In lugnet.cad.ldd, Timothy Gould wrote:
Hi all,

I've converted the old conversion file from LDD 1.6 (with Jason Railton's
adaptions) to LDD 2.0 format. It is far from perfect but is also far better than
what is currently available.

To install it just quit LDD 2, go to [LDD2Directory]/assets and look for the
file ldraw.xml. Back the file up somewhere and replace it by my file. When you
reboot it will offer much more substantial conversion (although a lot of pieces
will be killed by bad translation and rotation tables).

http://www.brickshelf.com/gallery/timgould/Misc/ldraw.xml

Tim

I have been trying to correct some of the errors when exporting from LDD > LDR,
and not being a programmer I have come to a dead end.
I have been able to correct some of the parts that would show up but not in the
correct location or rotation. But I’m at a loss to why some parts just do not
show up.

Me too to some degree.

I have noticed that at the end of the XML for LDRAW it seems to be a conversion
of part #’s from 3068b >3068. But these parts do not show up, should there also
be lines like below for 3068b?

I believe the system may be (incorrectly) case sensitive when reading LDraw
files. Perhaps add b and B options. It's also possible this particular aspect is
not yet programmed completely.

Furthermore when generating LDraw files from LDD it will use the first of these
conversions for the inverse so add the latest version of the part first.

Also how do I find out what the LEGO part numbers are for LDD parts?
Are all the current available parts in this XML file one way or another but may
need fixed

I couldn't say if they're all there. I just converted the LDD 1.6 conversion
file to the new format for LDD 2.0.

I believe that the Factory Pick a Brick will show you the part number when you
click on a part although I can't remember exactly where to find it. For the most
part they should be the same as LDraw although there are potential problems for
clear elements which I believe can have different part numbers to the
translucent equivalents.

If not would it be a waste of my time to add the rest (if you or
others all ready working on it).

I've not touched the file since I autogenerated it and fixed a few parts. I'm
hoping to get some extra information from the Factory team to make writing the
conversion a lot easier.

Fixed these
<Transformation ldraw="3045.dat" tx="0.000" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="3046.dat" tx="0" ty="-0.96" tz="0.800"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="3039.dat" tx="-0.400" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="0" />
<Transformation ldraw="4286.dat" tx="0.000" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="0" />

Thanks
Mike Gallagher
MIKESLEGO
GALLAGHERSART

And thank you for these fixes.

Tim

I also fixed these.

First 2 I just had to fix placement, 3rd one I created a “transformation” and
“brick ldraw” lines, the 4th I only had to add the “transformation” line, you
all ready had the “brick ldraw” line. But 3069b and 3068b I could not get to
work until I removed them from the XML file as seen below. Once removed I only
got an error when loading MLCAD about “newer part update”, parts were in correct
location and I was able to resave and import into LDD.

Fixed

   <Transformation ldraw="2357.dat" tx="0" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="2420.dat" tx=".800" ty="-0.32" tz="0"
ax="0" ay="1" az="0" angle="3.141593" />

New

<Transformation ldraw="2456.dat" tx="-2" ty="-0.96" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
<Brick ldraw="2456.dat" lego="44237" />

I also added this line but not the <Brick ldraw……  it now shows up. It would not
show up at all before,

<Transformation ldraw="2362b.dat" tx="0.400" ty="-2.88" tz="0"
ax="0" ay="1" az="0" angle="3.141593" />

Removed from XML, you get a “parts update” when you open MLCAD but they are seen
in both directions.

<Brick ldraw="3068B.dat" lego="3068" />
   <Brick ldraw="3068A.dat" lego="3068" />
   <Brick ldraw="3069B.dat" lego="3069" />
   <Brick ldraw="3069A.dat" lego="3069" />

Could not remomeber if I changed or added these but with the above lines removed
and these line in place it worked

<Transformation ldraw="3068.dat" tx="-0.400" ty="-0.32" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3068b.dat" tx="-0.400" ty="-0.32" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3069b.dat" tx="-0.400" ty="-0.32" tz="0"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3069.dat" tx="-0.400" ty="-0.32" tz="0"
ax="1" ay="0" az="0" angle="0" />

Gallagher

   
         
   
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 7 Apr 2007 21:07:06 GMT
Viewed: 
26638 times
  

--snip--
And thank you for these fixes.

Tim

I also fixed these.

First 2 I just had to fix placement, 3rd one I created a “transformation” and
“brick ldraw” lines, the 4th I only had to add the “transformation” line, you
all ready had the “brick ldraw” line. But 3069b and 3068b I could not get to
work until I removed them from the XML file as seen below. Once removed I only
got an error when loading MLCAD about “newer part update”, parts were in correct
location and I was able to resave and import into LDD.

Fixed

   <Transformation ldraw="2357.dat" tx="0" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="2420.dat" tx=".800" ty="-0.32" tz="0"
ax="0" ay="1" az="0" angle="3.141593" />

New

<Transformation ldraw="2456.dat" tx="-2" ty="-0.96" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
<Brick ldraw="2456.dat" lego="44237" />

I also added this line but not the <Brick ldraw……  it now shows up. It would not
show up at all before,

<Transformation ldraw="2362b.dat" tx="0.400" ty="-2.88" tz="0"
ax="0" ay="1" az="0" angle="3.141593" />

Removed from XML, you get a “parts update” when you open MLCAD but they are seen
in both directions.

<Brick ldraw="3068B.dat" lego="3068" />
   <Brick ldraw="3068A.dat" lego="3068" />
   <Brick ldraw="3069B.dat" lego="3069" />
   <Brick ldraw="3069A.dat" lego="3069" />

Could not remomeber if I changed or added these but with the above lines removed
and these line in place it worked

<Transformation ldraw="3068.dat" tx="-0.400" ty="-0.32" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3068b.dat" tx="-0.400" ty="-0.32" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3069b.dat" tx="-0.400" ty="-0.32" tz="0"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3069.dat" tx="-0.400" ty="-0.32" tz="0"
ax="1" ay="0" az="0" angle="0" />

Gallagher

Hi Mike,

It's my understanding [1] that we're allowed to post our own Ldraw.xml files so
perhaps you could upload yours to Brickshelf. That way people can be sure that
they've got the fixes right and the XML file can grow with fixes as people add
more.

Tim

[1] I asked someone from LDD if I could post mine and I was given permission and
yours is a derivative work of mine so I can see no problems.

   
         
   
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 7 Apr 2007 22:03:08 GMT
Viewed: 
26762 times
  

In lugnet.cad.ldd, Timothy Gould wrote:
--snip--
And thank you for these fixes.

Tim

I also fixed these.

First 2 I just had to fix placement, 3rd one I created a “transformation” and
“brick ldraw” lines, the 4th I only had to add the “transformation” line, you
all ready had the “brick ldraw” line. But 3069b and 3068b I could not get to
work until I removed them from the XML file as seen below. Once removed I only
got an error when loading MLCAD about “newer part update”, parts were in correct
location and I was able to resave and import into LDD.

Fixed

   <Transformation ldraw="2357.dat" tx="0" ty="-0.96" tz="0"
ax="0" ay="1" az="0" angle="1.570796" />
   <Transformation ldraw="2420.dat" tx=".800" ty="-0.32" tz="0"
ax="0" ay="1" az="0" angle="3.141593" />

New

<Transformation ldraw="2456.dat" tx="-2" ty="-0.96" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
<Brick ldraw="2456.dat" lego="44237" />

I also added this line but not the <Brick ldraw……  it now shows up. It would not
show up at all before,

<Transformation ldraw="2362b.dat" tx="0.400" ty="-2.88" tz="0"
ax="0" ay="1" az="0" angle="3.141593" />

Removed from XML, you get a “parts update” when you open MLCAD but they are seen
in both directions.

<Brick ldraw="3068B.dat" lego="3068" />
   <Brick ldraw="3068A.dat" lego="3068" />
   <Brick ldraw="3069B.dat" lego="3069" />
   <Brick ldraw="3069A.dat" lego="3069" />

Could not remomeber if I changed or added these but with the above lines removed
and these line in place it worked

<Transformation ldraw="3068.dat" tx="-0.400" ty="-0.32" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3068b.dat" tx="-0.400" ty="-0.32" tz="+0.400"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3069b.dat" tx="-0.400" ty="-0.32" tz="0"
ax="1" ay="0" az="0" angle="0" />
   <Transformation ldraw="3069.dat" tx="-0.400" ty="-0.32" tz="0"
ax="1" ay="0" az="0" angle="0" />

Gallagher

Hi Mike,

It's my understanding [1] that we're allowed to post our own Ldraw.xml files so
perhaps you could upload yours to Brickshelf. That way people can be sure that
they've got the fixes right and the XML file can grow with fixes as people add
more.

Tim

[1] I asked someone from LDD if I could post mine and I was given permission and
yours is a derivative work of mine so I can see no problems.

I will do that. Thanks for all the help and the ldraw.xml file. I loaded mine as
it is today. I have a bunch more I need to do and I should have those done by
Tuesday or so. I made this version 1.01a for starters and will keep most up to
date as I find them posted under same link. Once I’m done I will post a 1.02
version.
http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Gallagher

 

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