Freshly updated Ldraw.xml


Re: Freshly updated Ldraw.xml
#18
Hey Jarema,

Jarema Wrote:I Can use XML Notepad and Parts Tracker at http://www.ldraw.org/library/tracker to remove non-existed part in the LDraw universe.

did you use some kind of automatic detection? If yes, how does it work? I think your file is a really good starting point.
But I am afraid, that we have to clean it even more:

Afaik the LDD has only numbers for parts, assemblies and aliases. But in the ldraw.xml there are 3 entries with letters:
For the first one I think we will have to find another lego number.
Code:
3611 <!-- Plane Jet Engine with Plate 2 x 2  4868 25  -->
3612 <Brick ldraw="u9017.dat" lego="4868a" />
3613 <Transformation ldraw="u9017.dat" tx="-.4" ty="1.04" tz="-.4" ax="0" ay="1" az="0" angle="4.712389" />

The second and third are exactly the same. At least one can be removed. But there is also a attribute (itemNos) I do not know if
it is working.
Code:
3991 <!--  3626bpa8  -->
3992 <Brick ldraw="3626bpa8.dat" lego="xxx" itemNos="82359" />
3993 <Transformation ldraw="3626bpa8.dat" tx="0" ty="-.96" tz="0" ax="0" ay="1" az="0" angle="0" />

3996 <!--  3626bpa8  -->
3997 <Brick ldraw="3626bpa8.dat" lego="xxx" itemNos="82359" />
3998 <Transformation ldraw="3626bpa8.dat" tx="0" ty="-.96" tz="0" ax="0" ay="1" az="0" angle="0" />

And then, we still have a few transformations that are defined multiple times:
Code:
Multiple brick node for 61252
Multiple transformations for 6019.dat
Multiple transformations for 41855.dat
Multiple transformations for 2516.dat
Multiple transformations for 2413.dat
Multiple transformations for 11297.dat
Multiple transformations for 57518.dat
Multiple transformations for 92339.dat
Multiple transformations for 45106.dat
Multiple transformations for 54090.dat
Multiple transformations for 3626bpa8.dat
Multiple transformations for 30225b.dat
Multiple transformations for 3641.dat
Multiple transformations for 4003.dat
Multiple transformations for 2531.dat
Multiple transformations for 41881.dat
Multiple transformations for 2339.dat
Multiple transformations for 76254.dat
Multiple transformations for 30413.dat

At least there are a few transformations, that have no counterpart in the LDraw universe:
Code:
30237b.dat not available in LDraw
4865bb.dat not available in LDraw
54090.dat not available in LDraw
47992.dat not available in LDraw
48294.dat not available in LDraw
42611.dat not available in LDraw
85962.dat not available in LDraw
54654.dat not available in LDraw
54923.dat not available in LDraw
64867.dat not available in LDraw
60607.dat not available in LDraw
6078.dat not available in LDraw
57029.dat not available in LDraw
x240.dat not available in LDraw
x136.dat not available in LDraw
x1681.dat not available in LDraw
42013.dat not available in LDraw
46304.dat not available in LDraw
32008.dat not available in LDraw
4485b.dat not available in LDraw
53593.dat not available in LDraw
x396 not available in LDraw
88295.dat not available in LDraw
93058.dat not available in LDraw
89159.dat not available in LDraw
48005.dat not available in LDraw
47404.dat not available in LDraw
51644.dat not available in LDraw
62575.dat not available in LDraw
33175.dat not available in LDraw
x45.dat not available in LDraw
40390.dat not available in LDraw
87750.dat not available in LDraw
76247.dat not available in LDraw
x246.dat not available in LDraw
6203.dat not available in LDraw
43889.dat not available in LDraw
30032.dat not available in LDraw
4739a.dat not available in LDraw
48284.dat not available in LDraw
92084.dat not available in LDraw
51641.dat not available in LDraw
87957.dat not available in LDraw
62695.dat not available in LDraw
51642.dat not available in LDraw
40393.dat not available in LDraw
30085.dat not available in LDraw
72092.dat not available in LDraw
30131.dat not available in LDraw
40388.dat not available in LDraw
40389.dat not available in LDraw
40387.dat not available in LDraw
44608.dat not available in LDraw
40385.dat not available in LDraw
54125.dat not available in LDraw
x933c01.dat not available in LDraw
30202.dat not available in LDraw
88287.dat not available in LDraw
64807.dat not available in LDraw
62699.dat not available in LDraw
88286.dat not available in LDraw
87990.dat not available in LDraw
40238.dat not available in LDraw
85942.dat not available in LDraw
87992.dat not available in LDraw
93217.dat not available in LDraw
85944.dat not available in LDraw
60751.dat not available in LDraw
61189.dat not available in LDraw
6089.dat not available in LDraw
42602.dat not available in LDraw
30649.dat not available in LDraw
92580.dat not available in LDraw
33216.dat not available in LDraw
30410.dat not available in LDraw
87754.dat not available in LDraw
30113.dat not available in LDraw
89520.dat not available in LDraw
64806.dat not available in LDraw
64797.dat not available in LDraw
x132 .dat not available in LDraw
59362.dat not available in LDraw
87999.dat not available in LDraw
98279.dat not available in LDraw
92082.dat not available in LDraw
92083.dat not available in LDraw
52345.dat not available in LDraw
87555.dat not available in LDraw
6030.dat not available in LDraw
87781.dat not available in LDraw
92088.dat not available in LDraw
60935.dat not available in LDraw
87826.dat not available in LDraw
98376.dat not available in LDraw
62691.dat not available in LDraw
87749.dat not available in LDraw
11100.dat not available in LDraw
98087.dat not available in LDraw
89524.dat not available in LDraw
86059.dat not available in LDraw
87562pb01.dat not available in LDraw
11601.dat not available in LDraw
92289.dat not available in LDraw
98721.dat not available in LDraw
61199.dat not available in LDraw
10258.dat not available in LDraw
59232.dat not available in LDraw
x1608.dat not available in LDraw
98565.dat not available in LDraw
90622.dat not available in LDraw
x1687.dat not available in LDraw
41890.dat not available in LDraw
93060.dat not available in LDraw
47576.dat not available in LDraw
85969.dat not available in LDraw
x516.dat not available in LDraw
bb607.dat not available in LDraw
x71.dat not available in LDraw
x37.dat not available in LDraw
x90.dat not available in LDraw
99252.dat not available in LDraw

I did not check them all, but in my LDraw lib they seem to be not available.

Attached you can find a text file that could be used as some kind of ToDo list. It should contain all LDD parts and assemblies of brickset 1564.1 sorted by designId. I generated it like this:

Code:
foreach (designId in LDDParts)
{
  check if designId.dat exists
  check if transformation node for designId exists in ldraw.xml
  if (brick node for designId exists in ldraw.xml)
  {
    check if transformation node for brick exists in ldraw.xml
    check if brick.dat exists
  }
    if (no transformation found)
    {
      search for possible LDraw files
    }
}

Rolf


Attached Files
.zip   ldd2ldraw.zip (Size: 113.53 KB / Downloads: 3)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Freshly updated Ldraw.xml - by Jarema - 2015-09-30, 20:21
Re: Freshly updated Ldraw.xml - by Jarema - 2015-10-01, 18:36
Re: Freshly updated Ldraw.xml - by Rolf Osterthun - 2015-10-05, 21:24
Re: Freshly updated Ldraw.xml - by Jarema - 2015-09-30, 21:29
put ldraw.xml to github? - by Steffen - 2015-10-03, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)