design-id vs item-id


Re: design-id vs item-id
#12
Philippe Hurbain Wrote:
Quote:one that can't be solved by a "simple" database text file of associations of color + design, which has been suggested as a workaround.
Good point!

Here is an example of the most egregious assembly I could think of. This simply can't be represented by a 1-1 correspondence text file. Note that assembly descriptions themselves reference other item IDs, either pattern item IDs or primitive item IDs.

I picked this one out of the TECHNIC figures because a) the design has been modeled in LDRAW (without TEXMAP required), and b) all the item IDs are fully known.

This is just an example, it's obviously not useable as-is (one would need the other item files referenced). Most of the primitives should be inferable from the numbering.

This is Peeron 2698c01px21 (bricklink tech021)

-- joshua

Code:
0 TECHNIC fig. no. 14 (Bright Blue)
0 Name: 4105230.dat
0 Author: BrickOracle element generator
0 // TLG item ASSEMBLY

0 unofficial part
0 CATEGORY Figure, Midi and TECHNIC

0 // This file has the TLG item number, name, and color for the given element.
0 // It also lists the approximate year range this number was active.

0 // This file is compatible with LCAD tools, but it is NOT subject to
0 // the LDRAW Contributor Agreement, which means your rights are restricted.

0 // Permission is granted to use this file for any purpose ONLY if it is left unmodified.

0 // 4jj

1 16  0 -96 0  1 0 0  0 1 0  0 0 1  items/270826.dat
1 16  0 -54 0  1 0 0  0 1 0  0 0 1  items/81945.dat
1 16  0 0 0  1 0 0  0 1 0  0 0 1  items/82534.dat
1 16  26.2 -46 0  0 0 -1  -1 0 0  0 1 0  items/270123.dat
1 16  26.2 -46 0  0 0 -1  -1 0 0  0 1 0  items/270523.dat
1 16  26.2 -46 0  .7071 0 -.7071  -.7071 0 -.7071  0 1 0  items/270023.dat
1 16  48 -24 0  .7071 0 -.7071  -.7071 0 -.7071  0 1 0  items/270123.dat
1 16  48 -24 0  -0 0 -1  -1 0 0  0 1 0  items/270523.dat
1 16  48 -24 0  1 0 0  0 0 -1  0 1 0  items/270023.dat
1 16  48 10.5 0  -1 0 0  0 0 -1  0 -1 0  items/270224.dat
1 16  -26.2 -46 0  0 0 1  -1 0 0  0 -1 0  items/270123.dat
1 16  -26.2 -46 0  0 0 1  -1 0 0  0 -1 0  items/270523.dat
1 16  -26.2 -46 0  -.7071 0 .7071  -.7071 0 -.7071  0 -1 0  items/270023.dat
1 16  -48 -24 0  -.7071 0 .7071  -.7071 0 -.7071  0 -1 0  items/270123.dat
1 16  -48 -24 0  -0 0 -1  -1 0 0  0 1 0  items/270523.dat
1 16  -48 -24 0  -1 0 0  0 0 -1  0 -1 0  items/270023.dat
1 16  -48 10.5 0  1 0 0  0 0 -1  0 1 0  items/270224.dat
1 16  0 0 0  1 0 0  0 1 0  0 0 1  items/269923.dat
1 16  0 0 0  1 0 0  0 1 0  0 0 1  items/271023.dat
1 16  15 17 0  1 0 0  0 1 0  0 0 1  items/4105237.dat
1 16  10 58 0  1 0 0  0 1 0  0 0 1  items/270423.dat
1 16  10 98 0  1 0 0  0 1 0  0 0 1  items/270626.dat
1 16  -15 17 0  1 0 0  0 1 0  0 0 1  items/4105233.dat
1 16  -10 58 0  1 0 0  0 1 0  0 0 1  items/270423.dat
1 16  -10 98 0  1 0 0  0 1 0  0 0 1  items/270626.dat

0
0 // end TECHNIC fig. no. 14 (Bright Blue)
0
Reply
« Next Oldest | Next Newest »



Messages In This Thread
design-id vs item-id - by Michael Heidemann - 2013-03-17, 19:25
Re: design-id vs item-id - by Roland Melkert - 2013-03-17, 19:43
Re: design-id vs item-id - by Tim Gould - 2013-03-17, 20:46
Re: design-id vs item-id - by Roland Melkert - 2013-03-17, 21:01
Re: design-id vs item-id - by Chris Dee - 2013-03-17, 21:25
Re: design-id vs item-id - by Joshua Delahunty - 2013-10-26, 21:47

Forum Jump:


Users browsing this thread: 1 Guest(s)