Jump to content

How To Get An Ldd Piece To Ldraw


PWNZOR
 Share

Recommended Posts

Thanks to the link that jamesster found, and to Philippe Hurbain's ('Philo's) brief tutorial, I was able to finally begin modeling Jet's helmet, via importing the LDD piece into LDraw.

What you'll need:


Step One:

  • Install the 3DXML view, then the Screenprint, in that order!
  • Run the Screenprint program
  • Run LEGO Digital Designer, the brick(s) you want to convert, and save the LDD file (in case you have to restart).
  • Press F10, or whatever you set the hotkey to for the Screenprint program, to generate the 3DXML file.
    • If this doesn't work, see the notes below.
  • Change the extension on the 3DXML file you created (right-click the task icon on the bottom right of the screen, and press 'Explore Results' to get to the file) to a .zip, and extract it
  • Open up the extracted file in your text edit program (Notepad++, anyone?), and copy all the numbers between the <positions></positions> tags, and paste in a clean separate text document, but don't include the <positions> tags themselves. Save it to any extension, or no extension at all.

Step Two:

  • Run my 3DXML to LDraw converter. For some reason, you have to run it via command line.
    java -jar "C:[Location of .jar file]3DXML_To_LDraw.jar
    I found out it was my computer's problem; you should be able to double-click the .jar just fine
  • Take this file, and put in the parts folder in your LDraw directory. Open up MLCAD, open this new part, and save the .ldr file.
  • Run the LrdDat2Obj program.
  • You now have your .obj file! You should be able to try for other converters, but I use this particular one because Lightwave reads .obj files.

Notes:

  • You may have to try running the Screenprint program a few times, but always run it before LDD.
  • I ended up uninstalling it and reinstalling it; try that if nothing else works.
Link to comment
Share on other sites

Win7 does NOT have any support for changing file types. I got it to change A file type, but I think that is a fluke.

Link to comment
Share on other sites

Win7 does NOT have any support for changing file types. I got it to change A file type, but I think that is a fluke.

What the heck are you talking about? I change file types all the time on Win7; it's just a simple matter of changing the extension. And besides, what does this have to do with the tutorial?

Link to comment
Share on other sites

Okay; I have Win7, and can easily change the text of ".3dxml" to ".zip" of a file name.

Don't blame the OS because you're not able to.

Link to comment
Share on other sites

I can't extract the compressed file!

Cannot open folder! Invalid filetype!

Seeing the thread you got this from, well, your swiching of orders caused part of the problem, however, I tried to use that button, it would not respond.

Link to comment
Share on other sites

Seeing the thread you got this from, well, your swiching of orders caused part of the problem, however, I tried to use that button, it would not respond.

What are you talking about, switching orders?

Link to comment
Share on other sites

•Change the extension on the 3DXML file you created to a .zip, and extract it (right-click the task icon on the bottom right of the screen, and press 'Explore Results' to get to the file).

Get the file (right-click on 3DVIA icon and choose “Explore resultsâ€), rename it from .3dxml to .zip and unzip it. Inside is a text only 3dxml file, open it with a text editor.

I'm stuck at this point because I've tried both to no avail.

Anyways, how do I get to this:

•Open up the extracted file in your text edit program (Notepad++, anyone?), and copy all the numbers between the <Positions></Positions> tags, and paste in a clean separate text document, but don't include the <Positions> tags themselves. Save it to any extension, or no extension at all.

Link to comment
Share on other sites

•Change the extension on the 3DXML file you created to a .zip, and extract it (right-click the task icon on the bottom right of the screen, and press 'Explore Results' to get to the file).

Get the file (right-click on 3DVIA icon and choose “Explore resultsâ€), rename it from .3dxml to .zip and unzip it. Inside is a text only 3dxml file, open it with a text editor.

The parentheses should be another bullet; I'll change the wording.

•Open up the extracted file in your text edit program (Notepad++, anyone?), and copy all the numbers between the <Positions></Positions> tags, and paste in a clean separate text document, but don't include the <Positions> tags themselves. Save it to any extension, or no extension at all.

Get the file by using the "Explore Results" when you click the task icon, and rename the extension from .3dxml to .zip. Extract the file. Then follow those directions.

Link to comment
Share on other sites

HOW DO YOU RENAME THE EXTENSION?

Assuming you don't have the stupid settings on, it's simply changing the .3dxml at the end of the file name to .zip

Link to comment
Share on other sites

That is what I tried, but Win7 dosn't have that system, so I did it on the Explorer, but the file became unreadable.

So how do you do it in Win7? I get the feeling we are using VERY different versions.

Link to comment
Share on other sites

That is what I tried, but Win7 dosn't have that system, so I did it on the Explorer, but the file became unreadable.

So how do you do it in Win7? I get the feeling we are using VERY different versions.

>.>

I have a file named File.3dxml

I change its name to File.zip

I unzip File.zip and I get another file with .3dxml at the end of it.

I then proceed to getting the <Positions> list out of it.

Link to comment
Share on other sites

Well, I just see FILE with the filetype in a seperate column. Or just FILE.

Win7 FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL.

Link to comment
Share on other sites

Win7 has some setting that hides file extensions and it's set to not show file extensions by default. If you find that, toggle it to show extensions and quit whining in this topic. Use the PM system next time.

Link to comment
Share on other sites

Defintaly will give this a try when I get home..it's gonna make conversion a hell of a lot easier...

Link to comment
Share on other sites

Win7 does NOT have any support for changing file types. I got it to change A file type, but I think that is a fluke.

Tools > Folder Options

Go to the second tab

There's a check mark for showing the file extentions.

Link to comment
Share on other sites

Well, I just see FILE with the filetype in a seperate column. Or just FILE.

Win7 FAIL FAIL FAIL FAIL FAIL FAIL FAIL FAIL.

Win7 has some setting that hides file extensions and it's set to not show file extensions by default. If you find that, toggle it to show extensions and quit whining in this topic. Use the PM system next time.

Well, I am not going to be last person to miss that option. And I gave a new quote.

Link to comment
Share on other sites

There is one problem that I KNOW I can't get around without additional software: Low-poly LDD elements.

Link to comment
Share on other sites

  • 5 months later...
  • 8 months later...
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.