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 / 66
     
   
Subject: 
Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 22 Mar 2007 14:34:10 GMT
Viewed: 
32115 times
  

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

   
         
     
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 7 Apr 2007 18:50:46 GMT
Viewed: 
24789 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: 
25752 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: 
26116 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: 
26528 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: 
26659 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

   
         
     
Subject: 
NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 7 Apr 2007 22:11:57 GMT
Viewed: 
25519 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

Mike Gallagher has very kindly uploaded his improved version of ldraw.xml to
http://www.lugnet.com/jump.cgi?http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml
so I recommend using it.

Tim

    
          
      
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 10 Apr 2007 00:29:21 GMT
Viewed: 
25911 times
  

In lugnet.cad.ldd, Timothy Gould 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

Mike Gallagher has very kindly uploaded his improved version of ldraw.xml to
http://www.lugnet.com/jump.cgi?http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml
so I recommend using it.

Tim

I just uploaded my version 1.01e. This is what I have fixed and found as of
today. I’m still working on some problem ones below and I’m at a loss on what to
do if anything I could do.

If you already downloaded the 1.01A through D you will have to refresh your page
to get the LDrawMapping version="1.01e”

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Below is my info for the ones I have been unable to get going, if any one wants
to take a crack at those I can send them the files to get started.

I will be working and testing conversions from both directions on all the rest
in the next few days.

Issues as of 070509 LDrawMapping version="1.01e”

3040B.dat will export from LDD > LDRAW. But will not import from LDR > LDD.

2412B will not load 1x2 grill

3070B or A (1x1 tile with grove will not load)

no 1x4x2 fence in ldraw [misc5a file]


no ldraw 1x1 round,  8x3 wings,

     
           
      
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 10 Apr 2007 10:48:56 GMT
Viewed: 
25999 times
  

Hi Mike,

Couple of ideas for a couple of the bugs.

Issues as of 070509 LDrawMapping version="1.01e”

3040B.dat will export from LDD > LDRAW. But will not import from LDR > LDD.

Did you triy transparent and opaque?

2412B will not load 1x2 grill

3070B or A (1x1 tile with grove will not load)

Did you try 30039?

no 1x4x2 fence in ldraw [misc5a file]


no ldraw 1x1 round,  8x3 wings,

Tim

    
          
     
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Mon, 23 Apr 2007 20:07:20 GMT
Viewed: 
26784 times
  

In lugnet.cad.ldd, Timothy Gould 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

Mike Gallagher has very kindly uploaded his improved version of ldraw.xml to
http://www.lugnet.com/jump.cgi?http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml
so I recommend using it.

Tim

Well it took al little longer than I thought but I have all the ones done I
could figure out. Some only import or export one way, others I have no clue on
why they do not work, some do not have official LDR files yet.

But here is the updated ldraw.xml

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

This is the readme

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw_xml_readme.txt

Mike Gallagher
MIKESLEGO

    
          
     
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 26 Jul 2007 02:19:05 GMT
Viewed: 
29543 times
  

In lugnet.cad.ldd, Mike Gallagher wrote:
In lugnet.cad.ldd, Timothy Gould 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

Mike Gallagher has very kindly uploaded his improved version of ldraw.xml to
http://www.lugnet.com/jump.cgi?http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml
so I recommend using it.

Tim

Well it took al little longer than I thought but I have all the ones done I
could figure out. Some only import or export one way, others I have no clue on
why they do not work, some do not have official LDR files yet.

But here is the updated ldraw.xml

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

This is the readme

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw_xml_readme.txt

Mike Gallagher
MIKESLEGO

Verified and made a brand new XML with only parts that are in the current LEGO
factory parts, and they must work in the conversion both ways (LDD > LDR > LDD).

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

I have not attempted to do any of the minifig stuff. And others are missing but
I did not have time tonight.
I have a few parts that will go from LDD > LDR but not LDR < LDD. I left these
out of this XML. No clue :I
Mike G

    
          
     
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 30 Aug 2007 16:41:08 GMT
Viewed: 
29693 times
  

Latest update, all most done....
http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Mike Gallagher

    
          
     
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 30 Aug 2007 17:58:38 GMT
Viewed: 
30208 times
  

In lugnet.cad.ldd, Mike Gallagher wrote:
Latest update, all most done....
http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Great job! Do you intend to cope with Technic parts available in MINDSTORMS
mode?

Philo

    
          
      
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 30 Aug 2007 18:39:41 GMT
Viewed: 
30074 times
  

In lugnet.cad.ldd, Philippe Hurbain wrote:
In lugnet.cad.ldd, Mike Gallagher wrote:
Latest update, all most done....
http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Great job! Do you intend to cope with Technic parts available in MINDSTORMS
mode?

Philo

Thanks from all of us!

Working through those and others, Just uploaded another version 1.06 with 11
more parts.

Mike

    
          
     
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Fri, 31 Aug 2007 02:51:08 GMT
Viewed: 
30449 times
  

In lugnet.cad.ldd, Philippe Hurbain wrote:
In lugnet.cad.ldd, Mike Gallagher wrote:
Latest update, all most done....
http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Great job! Do you intend to cope with Technic parts available in MINDSTORMS
mode?

Philo

Some Technic parts now in file,

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Mike

    
          
     
Subject: 
Re: NEW VERSION! Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Fri, 31 Aug 2007 08:31:35 GMT
Viewed: 
30388 times
  

Some Technic parts now in file,

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Keep on the good job ;o)

Any chance ldraw.xml supports the NXT unofficial parts that I host here:
http://philohome.com/nxtldraw/nxtldraw.htm? If not, is there somewhere an
explanation of the procedure to add new parts to the xml file?

Philo

   
         
     
Subject: 
Re: Conversion file for ldraw to ldd **Updated Ldraw.xml
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 24 Nov 2007 02:53:28 GMT
Viewed: 
27750 times
  

Just uploaded my latest version. New version 1.08
Enjoy

Mike Gallagher

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

    
          
     
Subject: 
Re: Conversion file for ldraw to ldd **Updated Ldraw.xml
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 12 Jun 2008 17:18:27 GMT
Viewed: 
29105 times
  

Just uploaded the latest ldraw.xml to my sites. V1.3 LDD 2.3.19 Brick ver 38.19

This time I included parts that still need work. The thinking with this is that
you can export then import the parts to the original location. They will just be
in wacky places in 1 program.

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Still working on fixing the rest.

Mike Gallagher
http://www.GallaghersArt.com
MIKESLEGO

    
          
     
Subject: 
Re: Conversion file for ldraw to ldd **Updated Ldraw.xml
Newsgroups: 
lugnet.cad.ldd
Date: 
Mon, 16 Jun 2008 07:52:30 GMT
Viewed: 
28674 times
  

In lugnet.cad.ldd, Mike Gallagher wrote:
Just uploaded the latest ldraw.xml to my sites. V1.3 LDD 2.3.19 Brick ver 38.19

This time I included parts that still need work. The thinking with this is that
you can export then import the parts to the original location. They will just be
in wacky places in 1 program.

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Still working on fixing the rest.

Mike Gallagher
http://www.GallaghersArt.com
MIKESLEGO

Hi Mike,

many thx for all the good work. I mirrored your file at LDraw.org and the
LDD/LDraw conv tutorial should now be up to date.

w.

   
         
     
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 24 Jun 2008 18:19:45 GMT
Viewed: 
28771 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

Hi Tim,
  Thanks for the work on ldraw.xml.

  I just downloaded LDD 2 from the LEGO website onto my Mac (running leopard OS
(10.5)) and copied your new ldraw.xml to:

/Applications/LEGO Digital Designer.app/contents/Resources/Assets

  When I try to use the Export menu, it always saves the model as lxf.  I get no
choice to export to LDraw file format.

  Has anyone figured out how to do this on the Mac?

Kevin

    
          
     
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 24 Jun 2008 18:34:26 GMT
Viewed: 
29567 times
  

In lugnet.cad.ldd, Kevin L. Clague wrote:
  When I try to use the Export menu, it always saves the model as lxf.  I get no
choice to export to LDraw file format.

  Has anyone figured out how to do this on the Mac?

I haven't ever tried LDD on the Mac, but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.  (If your app is based
on NSDocument, NSDocument handles things and custom code isn't needed.)  Based
on what you have said, it sounds like LDD doesn't have the custom code needed to
support multiple file types.

Having said that, you might check if the "Hide extension" (or maybe it's "Show
extension") check box is available.  If it is, set it so that extensions are
visible.  Also, make sure you've clicked the arrow next to the filename so that
you have the full Save interface, instead of the abbreviated one.  If you are
allowed to show the extension, change it to .ldr manually, and see if that
works.

--Travis

    
          
      
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 24 Jun 2008 18:45:52 GMT
Viewed: 
30385 times
  

In lugnet.cad.ldd, Travis Cobbs wrote:
In lugnet.cad.ldd, Kevin L. Clague wrote:
  When I try to use the Export menu, it always saves the model as lxf.  I get no
choice to export to LDraw file format.

  Has anyone figured out how to do this on the Mac?

I haven't ever tried LDD on the Mac, but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.  (If your app is based
on NSDocument, NSDocument handles things and custom code isn't needed.)  Based
on what you have said, it sounds like LDD doesn't have the custom code needed to
support multiple file types.

Having said that, you might check if the "Hide extension" (or maybe it's "Show
extension") check box is available.  If it is, set it so that extensions are
visible.  Also, make sure you've clicked the arrow next to the filename so that
you have the full Save interface, instead of the abbreviated one.  If you are
allowed to show the extension, change it to .ldr manually, and see if that
works.

--Travis

Hi Travis,

  Thanks for the thought.  I had made it this far.  I tried to save my test file
to my home directory and got this message:

Warning
Unable to export model to "/Users/kclague/test.ldr"

Kevin

     
           
      
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 24 Jun 2008 20:08:58 GMT
Viewed: 
31231 times
  

In lugnet.cad.ldd, Kevin L. Clague wrote:
In lugnet.cad.ldd, Travis Cobbs wrote:
In lugnet.cad.ldd, Kevin L. Clague wrote:
  When I try to use the Export menu, it always saves the model as lxf.  I get no
choice to export to LDraw file format.

  Has anyone figured out how to do this on the Mac?

I haven't ever tried LDD on the Mac, but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.  (If your app is based
on NSDocument, NSDocument handles things and custom code isn't needed.)  Based
on what you have said, it sounds like LDD doesn't have the custom code needed to
support multiple file types.

Having said that, you might check if the "Hide extension" (or maybe it's "Show
extension") check box is available.  If it is, set it so that extensions are
visible.  Also, make sure you've clicked the arrow next to the filename so that
you have the full Save interface, instead of the abbreviated one.  If you are
allowed to show the extension, change it to .ldr manually, and see if that
works.

--Travis

Hi Travis,

  Thanks for the thought.  I had made it this far.  I tried to save my test file
to my home directory and got this message:

Warning
Unable to export model to "/Users/kclague/test.ldr"

Kevin

I have no clue for MAC’s, but when you copied the ldraw.xml to the location, did
you see the original ldraw.xml from the LEGO LDD install? If not search for it
and see where it is.

As far as the error you get while exporting, could be a bad XML file. In windows
I can double click the ldraw.xml file and safari opens it up. If there is an
error in the ldraw.xml file then Safari gives me some error and a line number of
the error. You can try this just to make sure it is good.

You mentioned you download Tim’s version of the ldraw.xml. This was the original
version myself and many others have used to come up with a more up to date
version. You can find that at this location and on ldraw.org site.

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Mike Gallagher
GallaghersArt.com

     
           
       
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 24 Jun 2008 20:22:26 GMT
Viewed: 
33368 times
  

In lugnet.cad.ldd, Mike Gallagher wrote:
In lugnet.cad.ldd, Kevin L. Clague wrote:
In lugnet.cad.ldd, Travis Cobbs wrote:
In lugnet.cad.ldd, Kevin L. Clague wrote:
  When I try to use the Export menu, it always saves the model as lxf.  I get no
choice to export to LDraw file format.

  Has anyone figured out how to do this on the Mac?

I haven't ever tried LDD on the Mac, but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.  (If your app is based
on NSDocument, NSDocument handles things and custom code isn't needed.)  Based
on what you have said, it sounds like LDD doesn't have the custom code needed to
support multiple file types.

Having said that, you might check if the "Hide extension" (or maybe it's "Show
extension") check box is available.  If it is, set it so that extensions are
visible.  Also, make sure you've clicked the arrow next to the filename so that
you have the full Save interface, instead of the abbreviated one.  If you are
allowed to show the extension, change it to .ldr manually, and see if that
works.

--Travis

Hi Travis,

  Thanks for the thought.  I had made it this far.  I tried to save my test file
to my home directory and got this message:

Warning
Unable to export model to "/Users/kclague/test.ldr"

Kevin

I have no clue for MAC’s, but when you copied the ldraw.xml to the location, did
you see the original ldraw.xml from the LEGO LDD install? If not search for it
and see where it is.

As far as the error you get while exporting, could be a bad XML file. In windows
I can double click the ldraw.xml file and safari opens it up. If there is an
error in the ldraw.xml file then Safari gives me some error and a line number of
the error. You can try this just to make sure it is good.

You mentioned you download Tim’s version of the ldraw.xml. This was the original
version myself and many others have used to come up with a more up to date
version. You can find that at this location and on ldraw.org site.

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Mike Gallagher
GallaghersArt.com

I found the original ldraw.xml file here:

/Applications/LEGO Digital Designer.app/Contents/Resources/Assets

I'm trying your newest now. It worked!

Thanks,
Kevin

      
            
       
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Mon, 30 Jun 2008 18:05:18 GMT
Viewed: 
32770 times
  

Here is the current Ldraw.xml.

To install go to \LEGO Company\LEGO Digital Designer\Assets Directory and look
for the ldraw.xml file. Back the file up or rename it and replace it with the
new file. Make sure it has the same format as you see it on the download page.
For some reasons it may add extra data that will make it not work.

While in LDD go to export, choose the .ldr file type, remove the .lxf after your
file name, and save. To import just import from .ldr.

Some of the pieces will be killed by bad translations and rotation’s still but
that list is getting to be a very small list.

This version has many Technic, Minifig, and other parts added and working. The
Beta version has NXT and other parts that are not work out yet. But will import
and export in same locations, just do not correct the parts locations between
imports and exports. 1 version will work, the other will have parts moved and
rotated in whacky was.

Only working parts.

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Beta version (will have incorrect transformation’s, in progress)

http://www.brickshelf.com/gallery/mikeslego/LDD/LdrawXML-Beta/ldraw.xml

I would like to thank all those who have contributed to this. And I hope I did
not leave anyone out but,

LDraw
LDD
Jason Railton
Timothy Gould
Willy Tschager
David Eaton
Michael Heidemann
Orion Pobursky
Magnus Forsberg

I will be keeping these files up to date as we make fixes. So check back when
you need, we may have you part fixed. Once a good size has been updated I will
post again. Rather not post for every part fixed.

Enjoy!

Mike Gallagher

GallaghersArt.com

      
            
       
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 1 Jul 2008 00:18:51 GMT
Viewed: 
33793 times
  

"mike Gallagher" <gallaghersemail@yahoo.com> wrote in message
news:K3AFKu.1IH@lugnet.com...
Here is the current Ldraw.xml.

To install go to \LEGO Company\LEGO Digital Designer\Assets Directory and
look
for the ldraw.xml file. Back the file up or rename it and replace it with
the
new file. Make sure it has the same format as you see it on the download
page.
For some reasons it may add extra data that will make it not work.

Does this file include the 973 parts/colors included in the latest Factory
palette?  At last minifigs finally have weapons to wield in the Factory
palette!

I will be keeping these files up to date as we make fixes. So check back
when
you need, we may have you part fixed. Once a good size has been updated I
will
post again. Rather not post for every part fixed.

When I open that link, it pops up as an HTML page with a lot of bolded
markup text representing commands.  Is this supposed to happen, or do you
need to do something like encode it into an archive format?  It does say
"ldraw.xml" at the top of the window, but I like to be careful before
messing with the unknown.

While on the subject of the file itself, you appear to have commented out a
duplicate entry of 30377.dat - it's still in the file though, just the
transformation line appears first as a comment, then as the proper
transformation line itself.  There are a few other entries in the file like
that fortunately there's very few.  Like below, if the cut/paste was
successful:

<!--  <Transformation ldraw="30377.dat" tx="-1.6" ty="0" tz="0"
ax="-0.512724" ay="0.688642" az="-0.512724" angle="4.34772" />    -->

<Transformation ldraw="30377.dat" tx="0" ty="-1.51" tz="0.51" ax="-0.5"
ay="-0.70710678118654752440084436210485" az="-0.5" angle="4.34772" />

Also, a question:  Does the "only working parts" file transform at all the
part LDD knows as "SPIRAL TUBE W.FLANGE"


Cheers ...

Geoffrey Hyde

      
            
       
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 1 Jul 2008 15:08:45 GMT
Viewed: 
32897 times
  

Does this file include the 973 parts/colors included in the latest Factory
palette?  At last minifigs finally have weapons to wield in the Factory
palette!

My beta has most but some are still not working in that file. The goal is to
have all the parts that are in LDD. But Minifig items are some if the hardest to
fix.


When I open that link, it pops up as an HTML page with a lot of bolded
markup text representing commands.  Is this supposed to happen, or do you
need to do something like encode it into an archive format?  It does say
"ldraw.xml" at the top of the window, but I like to be careful before
messing with the unknown.

Depends on how you download it. You can right click on the file and save as,
View source and save as, but once your file is saved it should read "ldraw.xml"
as the file name / type, and look the same way as you see while viewing file in
web browser from my site. If you double click the file after you download it
should look identical as viewed on my site. And if you get an error while
exporting then you know something is wrong. It will work or not.

While on the subject of the file itself, you appear to have commented out a
duplicate entry of 30377.dat - it's still in the file though, just the
transformation line appears first as a comment, then as the proper
transformation line itself.  There are a few other entries in the file like
that fortunately there's very few.  Like below, if the cut/paste was
successful:

<!--  <Transformation ldraw="30377.dat" tx="-1.6" ty="0" tz="0"
ax="-0.512724" ay="0.688642" az="-0.512724" angle="4.34772" />    -->

<Transformation ldraw="30377.dat" tx="0" ty="-1.51" tz="0.51" ax="-0.5"
ay="-0.70710678118654752440084436210485" az="-0.5" angle="4.34772" />

This is a work in progress with others along with my self working on it. Some
parts seem to change with the versions of LDD updates, or have some real crazy
rotation matrixes like the 30377 part. It’s just for our notes.


Also, a question:  Does the "only working parts" file transform at all the
part LDD knows as "SPIRAL TUBE W.FLANGE"

Have not used any tubes yet, nor attempted to fix yet. But if they are in LDD we
are working on it. We start with the quickest parts to fix, and as we near the
end we are left with all the parts that may take many hours each to correct.

Mike Gallagher
GallaghersArt.com
MIKESLEGO

     
           
      
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 24 Jun 2008 21:20:10 GMT
Viewed: 
31158 times
  

In lugnet.cad.ldd, Mike Gallagher wrote:
   version. You can find that at this location and on ldraw.org site.

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Just as a note, brickshelf.com and ldraw.org are separate.

--Travis

     
           
      
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Wed, 25 Jun 2008 04:36:12 GMT
Viewed: 
31585 times
  

In lugnet.cad.ldd, Travis Cobbs wrote:
   In lugnet.cad.ldd, Mike Gallagher wrote:
   version. You can find that at this location and on ldraw.org site.

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Just as a note, brickshelf.com and ldraw.org are separate.

--Travis

I assume that’s what the and on is for ;)

But I don’t remember where we host the file... sorry but Mike’s is as or more up to date anyway.

Tim

     
           
      
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Wed, 25 Jun 2008 04:57:25 GMT
Viewed: 
31635 times
  

In lugnet.cad.ldd, Timothy Gould wrote:
   In lugnet.cad.ldd, Travis Cobbs wrote:
   In lugnet.cad.ldd, Mike Gallagher wrote:
   version. You can find that at this location and on ldraw.org site.

http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

Just as a note, brickshelf.com and ldraw.org are separate.

--Travis

I assume that’s what the and on is for ;)

But I don’t remember where we host the file... sorry but Mike’s is as or more up to date anyway.

Sorry Mike. My brain completely skipped over the “and” in your sentence.

--Travis

    
          
     
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Wed, 25 Jun 2008 22:57:35 GMT
Viewed: 
29360 times
  

In lugnet.cad.ldd, Travis Cobbs wrote:
I haven't ever tried LDD on the Mac,

Nor have I.

  but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.

L3Lab doesn't have a Save dialog, but in the Open dialog
there is a Pop Up Button with label "Enable",
that let's you choose from:
   All Readable Documents
   L3 LDraw file (ldr)
   L3 LDraw file (mpd)
   All Documents

If you select e.g. "L3 LDraw file (ldr)"
all files but *.ldr are grayed out.

L3Lab is Carbon, I use NavCreateGetFileDialog and
NavDialogSetFilterTypeIdentifiers.
/Lars

    
          
     
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 26 Jun 2008 00:30:32 GMT
Viewed: 
29951 times
  

In lugnet.cad.ldd, Lars C. Hassing wrote:
In lugnet.cad.ldd, Travis Cobbs wrote:
I haven't ever tried LDD on the Mac,

Nor have I.

  but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.

L3Lab doesn't have a Save dialog, but in the Open dialog
there is a Pop Up Button with label "Enable",
that let's you choose from:
   All Readable Documents
   L3 LDraw file (ldr)
   L3 LDraw file (mpd)
   All Documents

If you select e.g. "L3 LDraw file (ldr)"
all files but *.ldr are grayed out.

L3Lab is Carbon, I use NavCreateGetFileDialog and
NavDialogSetFilterTypeIdentifiers.
/Lars

Once I got a better ldraw.xml, the conversion process provided me with a valid
ldraw file.

The instructions associated with LXF seem to indicate that LDD knows about
sub-models, but yet it seems to in-line them when spitting out the ldr file.

I guess LDD does not support MPD.

Kevin

    
          
     
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 26 Jun 2008 06:34:41 GMT
Viewed: 
30493 times
  

In lugnet.cad.ldd, Kevin L. Clague wrote:
In lugnet.cad.ldd, Lars C. Hassing wrote:
In lugnet.cad.ldd, Travis Cobbs wrote:
I haven't ever tried LDD on the Mac,

Nor have I.

  but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.

L3Lab doesn't have a Save dialog, but in the Open dialog
there is a Pop Up Button with label "Enable",
that let's you choose from:
   All Readable Documents
   L3 LDraw file (ldr)
   L3 LDraw file (mpd)
   All Documents

If you select e.g. "L3 LDraw file (ldr)"
all files but *.ldr are grayed out.

L3Lab is Carbon, I use NavCreateGetFileDialog and
NavDialogSetFilterTypeIdentifiers.
/Lars

Once I got a better ldraw.xml, the conversion process provided me with a valid
ldraw file.

The instructions associated with LXF seem to indicate that LDD knows about
sub-models, but yet it seems to in-line them when spitting out the ldr file.

I guess LDD does not support MPD.

Kevin

I believe it can read them but can't write them. Earlier versions definitely
could but the newer ones may be missing that feature. And yeah the LXF file
format definitely has the concept of sub-models.

Tim

    
          
     
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Thu, 26 Jun 2008 12:29:59 GMT
Viewed: 
31044 times
  

In lugnet.cad.ldd, Timothy Gould wrote:
In lugnet.cad.ldd, Kevin L. Clague wrote:
In lugnet.cad.ldd, Lars C. Hassing wrote:
In lugnet.cad.ldd, Travis Cobbs wrote:
I haven't ever tried LDD on the Mac,

Nor have I.

  but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.

L3Lab doesn't have a Save dialog, but in the Open dialog
there is a Pop Up Button with label "Enable",
that let's you choose from:
   All Readable Documents
   L3 LDraw file (ldr)
   L3 LDraw file (mpd)
   All Documents

If you select e.g. "L3 LDraw file (ldr)"
all files but *.ldr are grayed out.

L3Lab is Carbon, I use NavCreateGetFileDialog and
NavDialogSetFilterTypeIdentifiers.
/Lars

Once I got a better ldraw.xml, the conversion process provided me with a valid
ldraw file.

The instructions associated with LXF seem to indicate that LDD knows about
sub-models, but yet it seems to in-line them when spitting out the ldr file.

I guess LDD does not support MPD.

Kevin

I believe it can read them but can't write them. Earlier versions definitely
could but the newer ones may be missing that feature. And yeah the LXF file
format definitely has the concept of sub-models.

Tim

Tim,
  I've been face down in LPub 4......  Has the LDraw community created its own
convertor that supports MDP format?
Thanks,
Kevin

    
          
     
Subject: 
Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Sat, 28 Jun 2008 03:34:14 GMT
Viewed: 
31238 times
  

In lugnet.cad.ldd, Kevin L. Clague wrote:
In lugnet.cad.ldd, Timothy Gould wrote:
In lugnet.cad.ldd, Kevin L. Clague wrote:
In lugnet.cad.ldd, Lars C. Hassing wrote:
In lugnet.cad.ldd, Travis Cobbs wrote:
I haven't ever tried LDD on the Mac,

Nor have I.

  but I do have some Mac info that might
help.  First of all, unlike the system Windows Open/Save dialogs, the system Mac
Open/Save Panels don't support file type selection, so doing this at all
requires custom code unless an app is NSDocument-based.

L3Lab doesn't have a Save dialog, but in the Open dialog
there is a Pop Up Button with label "Enable",
that let's you choose from:
   All Readable Documents
   L3 LDraw file (ldr)
   L3 LDraw file (mpd)
   All Documents

If you select e.g. "L3 LDraw file (ldr)"
all files but *.ldr are grayed out.

L3Lab is Carbon, I use NavCreateGetFileDialog and
NavDialogSetFilterTypeIdentifiers.
/Lars

Once I got a better ldraw.xml, the conversion process provided me with a valid
ldraw file.

The instructions associated with LXF seem to indicate that LDD knows about
sub-models, but yet it seems to in-line them when spitting out the ldr file.

I guess LDD does not support MPD.

Kevin

I believe it can read them but can't write them. Earlier versions definitely
could but the newer ones may be missing that feature. And yeah the LXF file
format definitely has the concept of sub-models.

Tim

Tim,
  I've been face down in LPub 4......  Has the LDraw community created its own
convertor that supports MDP format?
Thanks,
Kevin

I don't think there's any direct converters out there going either way. In
principle (practise maybe not) it shouldn't be too hard to do so long as you
have the read-write libraries. LXF files and the conversion file are just XML
(zipped with other stuff for LXF) so that side of things is dealt with in
standard libraries.

Tim

   
         
     
Subject: 
**** CURRENT LDraw.XML ver 1.6 **** Re: Conversion file for ldraw to ldd
Newsgroups: 
lugnet.cad.ldd
Date: 
Mon, 6 Apr 2009 13:44:03 GMT
Viewed: 
30247 times
  

Spent a bit more timed then I had planned but bunches of new parts! Many new parts for this LDD parts library ver 38.25.

Just uploaded the most current version of the LDraw.xml (ver. 1.6e) file need to import and export LDR files with LDD.

To install go to LEGO CompanyLEGO Digital Designerassets Directory and look for the ldraw.xml file. Back the file up or rename it and replace it with the new file. Make sure it has the same format as your original file. For some reasons it may add extra data that will make it not work.

While in LDD go to export, choose the .ldr file type, remove the .lxf after your file name, and save. To import just import from .ldr.

Here is the version that only has correctly working parts. http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

The beta version may have extra working parts along with many incorrect parts, http://www.gallaghersart.com/mikeslego/LDD/ldraw.xml In the Beta version some of the pieces will be killed by bad translations and rotation’s still.

Will be working on the beta version to get more fixed once I get more time. May be a few weeks. Enjoy!

Mike Gallagher

GallaghersArt.com

   
         
     
Subject: 
** Current Conversion file for LDraw to LDD ver. 1.7
Newsgroups: 
lugnet.cad.ldd
Date: 
Mon, 7 Sep 2009 19:58:12 GMT
Viewed: 
25540 times
  

Just went through the parts and we do have a good amount of new parts added with this update. Fixed and added many colors.

For now I’m sticking to the parts that are easy to get done. Going for the bulk first, I will then work on the complex parts and Minifigs.

You will need to get unofficial parts from LDraw.

As always the current (working only) public LDraw.xml can be found here (Public ver 1.7) http://www.brickshelf.com/gallery/mikeslego/LDD/ldraw.xml

For the Beta version as I do it visit my site here. The beta version may have extra working parts along with many incorrect parts.(ver 1.7 Beta) http://www.gallaghersart.com/mikeslego/LDD/ldraw.xml

For more info visit GallaghersArt.com http://gallaghersart.com/

Enjoy,

Gallagher

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

    
          
     
Subject: 
LDraw.xml now at version 1.81 LDD
Newsgroups: 
lugnet.cad.ldd
Date: 
Tue, 22 Dec 2009 04:33:16 GMT
Highlighted: 
(details)
Viewed: 
25615 times
  

You can view all the info and download the current LDraw.xml version 1.81 public and beta version from my site.

Due to some browsers that add extra characters to the file I have now made both versions as a ZIP download. And since Brickshelf expands the zips I have removed the versions from brickshelf.

With the new version of LDD and new parts palette you may need to download unofficial and some parts LEGO has given LDraw. Visit my site for info on how to get the new LDraw.xml, and links to the LDraw parts along with details of this new LDraw.xml.

New LDraw.xml Ver. 1.81 for LDR to LDD Conversions

This new version has many, many new and fixed parts. Hope you enjoy!

Gallagher

    
          
     
Subject: 
Re: LDraw.xml now at version 1.81.3 LDD
Newsgroups: 
lugnet.cad.ldd
Date: 
Mon, 28 Dec 2009 04:53:22 GMT
Viewed: 
24238 times
  

Now at version 1.81.3 with LDD version 3.0.11 with brick version 114

New LDraw.xml Ver. 1.81.3 for LDR to LDD Conversions

Gallagher

GallaghersArt.com

   
         
     
Subject: 
Re: Conversion file for ldraw to ldd Version 4.20
Newsgroups: 
lugnet.cad.ldd
Date: 
Sun, 2 Oct 2011 21:04:49 GMT
Viewed: 
29968 times
  

Just posted a new version of the LDraw.xml file that’s used to import and export LDR files out of LDD. Please visit the current LDraw.xml download page to get the most current version. Enjoy, Gallagher

   
         
     
Subject: 
Re: Conversion file for ldraw to ldd Version 4.23
Newsgroups: 
lugnet.cad.ldd
Date: 
Sun, 19 Feb 2012 23:57:24 GMT
Viewed: 
30044 times
  

Just posted a new version of the LDraw.xml (4.23) file that’s used to import and export LDR files out of LDD. Please visit the current LDraw.xml download page to get the most current version.

all sorts of parts added, and the tires, nxt, minifig hair and hats groups. over 1,269 working parts.

Enjoy, Gallagher

   
         
     
Subject: 
Re: Conversion file for ldraw to ldd now version 4.34 with 1,607 working parts
Newsgroups: 
lugnet.cad.ldd
Date: 
Fri, 5 Jul 2013 15:17:59 GMT
Highlighted: 
(details)
Viewed: 
30484 times
  

Just finished a major update, LDraw.xml now at version 4.34 with over 1,607 working parts. Will have another minor update soon, once i make some more fixes for minifig arms and hands.

you can find a working only and a beta version for your use.

You can find them HERE

enjoy! Gallagher

   
         
   
Subject: 
Re: Conversion file for LDraw to LDD Update 4.40 with 1,770+ working parts
Newsgroups: 
lugnet.cad.ldd
Date: 
Mon, 6 Jan 2014 16:31:46 GMT
Viewed: 
37639 times
  

Posted an update to the LDraw.xml last week to my site, was hoping to do some more but di not have time.

So here is 4.40 (Working 1,770+ , need work 213+) You can find it here HERE

Still looking for help, so if you have some free time please let me know. Have over 212 mapped parts that need to be adjusted. And I’m sure there are other LDR parts that are not mapped to the correct LEGO part number.

Enjoy! Mike

 

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