Welcome! Log In Create A New Profile

Advanced
Re: design-id vs item-id
October 26, 2013 02:47PM
Quote
Philippe Hurbain
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

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


Edited 1 time(s). Last edit at 2013-10-26 02:49PM by Joshua Delahunty.
SubjectAuthorViewsPosted
design-id vs item-id Michael Heidemann834March 17, 2013 12:25PM
Re: design-id vs item-id Roland Melkert209March 17, 2013 12:43PM
Re: design-id vs item-id Michael Heidemann218March 17, 2013 01:14PM
Re: design-id vs item-id Tim Gould186March 17, 2013 01:46PM
Re: design-id vs item-id Roland Melkert205March 17, 2013 02:01PM
Re: design-id vs item-id Chris Dee325March 17, 2013 02:25PM
Re: design-id vs item-id Joshua Delahunty258March 22, 2013 06:09AM
Re: design-id vs item-id Philippe Hurbain270March 22, 2013 06:34AM
Re: design-id vs item-id Joshua Delahunty205October 26, 2013 02:47PM
Re: design-id vs item-id Joshua Delahunty186November 24, 2013 09:01AM
Re: design-id vs item-id Michael Heidemann237March 22, 2013 01:34PM
Re: design-id vs item-id Joshua Delahunty205March 23, 2013 09:19AM
Re: design-id vs item-id Joshua Delahunty332March 24, 2013 07:46AM



Sorry, only registered users may post in this forum.

Click here to login