Topic: Leocad and blender question

not sure if this is the right forum to post this... but how do you import a LeoCad lego model into blender?

Re: Leocad and blender question

After you made your model in leacad, you go to file and export as 3D studio and then save it to your desktop. Then open up blender and go to file and then click import and then chose what type of file you want to import and then locate it and click import.

http://i1221.photobucket.com/albums/dd476/BlastedBrick/BannerNightmare.png

Re: Leocad and blender question

i do that, then i go to blender and select import as in the picture:  http://i.imgur.com/wsxKq.jpg but then this always comes up http://i.imgur.com/BEuHC.jpg anyone help me?

Re: Leocad and blender question

Get a full installation of Python mini/tongue

Have you gone to the Python website and downloaded it? Python with the source?

Last edited by Blacitch (September 6, 2010 (10:55am))

Re: Leocad and blender question

nevermind- when i downloaded  python, the left icon popped up (left) Then installed (middle) Then when i try opening my 3ds or whatever it is called, the same thing pops up http://i.imgur.com/zYOTz.jpg mini/confused

Last edited by Mason (September 6, 2010 (11:08am))

Re: Leocad and blender question

Python has to be installed first, then Blender, I believe.  You'll have to uninstall everything first and start over.

Alternatively to LeoCAD, try an ldraw importer plugin for Blender and save your models as ldr.  Take advantage of Ldraw's duplicity inheritance in Blender.

https://i.imgur.com/4b9NnS3.pnghttps://i.imgur.com/GUIl0qk.pnghttps://i.imgur.com/ox64uld.pnghttps://i.imgur.com/v3iyhE5.png

Re: Leocad and blender question

umm... ok mini/blankexpression

Re: Leocad and blender question

can someone please provide me with a link to get the full python software? I'm asking this because i'm not sure which website is the right one...

Re: Leocad and blender question

python.org/download/

Re: Leocad and blender question

k- thanks

Re: Leocad and blender question

It works mini/delirium !!!!!!!! lol- i downloaded a different version of blender, too (2.53 beta) works wayyyyy better.

Re: Leocad and blender question

Keep in mind 2.53 is in beta form, so you may at some point run into some glitches or errors of some type. But so far 2.53 is much better than 2.49. But it annoys me that you can't open 2.53 files in 2.49 without having issues, and vise versa, so it's good (depending on how much pre made models and tutorial downloads) to have both 2.49 and 2.53 on your computer.

Re: Leocad and blender question

I'd suggest that you use the .obj format instead of .3ds.  3ds models can only handle three vertices for a face which this causes a lot of problems...  the .obj format will build the models much better.

Youtube | Twitter
"Animation is about creating the illusion of life. And you can't create it if you don't have one." - Brad Bird

Re: Leocad and blender question

one other question- can you export LEGO Digital designer files and import them into Blender? i'm asking this because LEGO digital designer looks easier to use than LeoCAD- or is the another lego making program that can be imported into blender?

Re: Leocad and blender question

Yes, LDD Is much easier to use than LeoCad.  But exporting is a little harder.   

You need two programs, one converts the LDD file to a Ldraw file (sorry, i don't know the name I'll try to find out asap) Then, you need Ldraw.  From Ldraw, you convert it to wavefront or 3ds, and import it into blender

I've never actually done this, but my friend, Lord Dargor ( http://bricksinmotion.com/forums/user/1333/ ) did it for me.  Send him a message for details.

Youtube | Twitter
"Animation is about creating the illusion of life. And you can't create it if you don't have one." - Brad Bird

Re: Leocad and blender question

Yes. First make a model in LDD, and then export it as an Ldraw file. After that, you can open it in LeoCad, and re-export it. (be warned that LeoCad may not have certain bricks in its database, and they will be removed from the model.) I myself export my models (which I build entirely in LeoCad) as Wavefront Files (.obj). They appear as one, big object in Blender. Opening a model as a 3ds file makes each brick a sepparate object (resulting in laggy Blender). I hope that helped! mini/smile

Note: LeoCad studs appear as cylinders made up of many planes in Blender, so they look a little choppy. mini/confused

http://www.majhost.com/gallery/StudioL30/Random-Pictures/youtube.jpghttp://www.majhost.com/gallery/StudioL30/Random-Pictures/sitelogo.jpg

Re: Leocad and blender question

FYI, you can manually update LeoCAD's parts to be consistent with MLCAD.

https://i.imgur.com/4b9NnS3.pnghttps://i.imgur.com/GUIl0qk.pnghttps://i.imgur.com/ox64uld.pnghttps://i.imgur.com/v3iyhE5.png