To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.testOpen lugnet.off-topic.test in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Testing / 5662
Subject: 
lxf to ldr converter
Newsgroups: 
lugnet.off-topic.test
Date: 
Mon, 20 Jul 2009 14:13:11 GMT
Viewed: 
12410 times
  
Hey,

in a social network (XING.com) a member (Ulf Rupprecht) asked for tool to
convert lxf (LDD) to ldraw files and I started researching. I ended by reading
the entry from Duane Hess (http://news.lugnet.com/cad/ldd/?n=184): 'I don't like
having to use LDD as an intermediary when converting because it occasionally
strips out parts that are not currently available.'

So I decided to implement that tool that can convert lxf or lxfml to ldr or mpd
files. You can have a look at it on www.digital-bricks.de, a German website set
up by Ulf (there will be an English version by time...). Though the website is
(currently) German only, the converter is in English.

The converter will convert all parts he knows in the ldraw.xml. He will not be
stopped by 'currently not available' parts.
I have added decoration tags to a l2l.xml (an extended version of the ldraw.xml
(additional)) so that I can map decorated parts. E.g. the 'Brick 1 x 1 with Eye
Pattern'. This will be interesting for minifig parts (like Torso and Head).
And the upmost advantage for me is the report output from the converter. It
tells me which parts/decorations are missing; I can edit them in the xml-files
and convert again without restarting.

Inside the converter you can configure external applications to start with the
converted file (L3Lab, L3P, LDView, etc.).

Rolf


Subject: 
Re: lxf to ldr converter
Newsgroups: 
lugnet.off-topic.test
Date: 
Thu, 28 Jul 2016 14:20:04 GMT
Viewed: 
2950 times
  
Question, I tried to use this programs and it's giving me the following error.
Could you help me with that? Thanx.

2016-07-28 08:08:36,201 [1 ] INFO  ldd2ldraw.Ldd2Ldraw
- Open C:\Antonio back up\LEGO\LDD2LDraw\ldraw.xml.
2016-07-28 08:08:36,273 [1 ] INFO  ldd2ldraw.Ldd2Ldraw
- Read mappings...
2016-07-28 08:08:36,339 [1 ] WARN  ldd2ldraw.Ldd2Ldraw
- Multible definitions for the Material 143. The first [41] will be used!
2016-07-28 08:08:36,344 [1 ] WARN  ldd2ldraw.Ldd2Ldraw
- Multible definitions for the Transformation 30237.dat. The first will be used!
2016-07-28 08:08:36,349 [1 ] WARN  ldd2ldraw.Ldd2Ldraw
- Multible definitions for the Brick 61252. The first [6019.dat] will be used!
2016-07-28 08:08:36,350 [1 ] WARN  ldd2ldraw.Ldd2Ldraw
- Multible definitions for the Transformation 6019.dat. The first will be used!
2016-07-28 08:08:36,352 [1 ] WARN  ldd2ldraw.Ldd2Ldraw
- Multible definitions for the Transformation 41855.dat. The first will be used!
2016-07-28 08:08:36,380 [1 ] FATAL LDD2LDrawAddOn.LDD2LDrawAddOn
- An FATAL Error occured: The given key was not present in the dictionary.
2016-07-28 08:08:36,400 [1 ] FATAL LDD2LDrawAddOn.LDD2LDrawAddOn
-    at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ldd2ldraw.Ldd2Ldraw.ReadMappings(String file)
   at ldd2ldraw.Ldd2Ldraw.DoConvert()
   at LDD2LDrawAddOn.LDD2LDrawAddOn.buttonConvert_Click(Object sender, EventArgs
e)


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