I need assistance in creating a database / statistical analysis of Lego pieces. You are free to use the tool(s) of your choice. Here’s a brief description of the project: 1. For each Lego piece, find the minimum dimensions (x,y,z) of a cube that it would fit into. Round up to the nearest millimeter. 2. Analyze the distribution of the cubes, for example: “there are # pieces that fit into a cube of 10mm x 10mm x 10mm,” “there are # pieces that fit into a cube of 11mm x 10mm x 10mm,” etc. 3. The above analysis should be performed on the entire universe of Lego “official parts” that can be obtained from this site: http://www.ldraw.org/article/13.html (--> “Get All Official Parts”). There are thousands of parts. 4. Deliverables include the analysis above and the code and/or files that you use to complete it. This is for a personal project. Ideally the analysis above would be completed in the next few weeks. If interested, please send me an email at gthomps at gmail.com. Thanks!
It sounds like perhaps you are referring to cuboids [1] or some other three-dimensional shape, as cubes would have equal edge lengths - so you couldn't have an 11x10x10 cube.
Comments (161) 159 threads
Show all comments
Showing thread 4 of 159
I need assistance in creating a database / statistical analysis of Lego pieces. You are free to use the tool(s) of your choice.
Here’s a brief description of the project:
1. For each Lego piece, find the minimum dimensions (x,y,z) of a cube that it would fit into. Round up to the nearest millimeter.
2. Analyze the distribution of the cubes, for example: “there are # pieces that fit into a cube of 10mm x 10mm x 10mm,” “there are # pieces that fit into a cube of 11mm x 10mm x 10mm,” etc.
3. The above analysis should be performed on the entire universe of Lego “official parts” that can be obtained from this site: http://www.ldraw.org/article/13.html (--> “Get All Official Parts”). There are thousands of parts.
4. Deliverables include the analysis above and the code and/or files that you use to complete it.
This is for a personal project. Ideally the analysis above would be completed in the next few weeks.
If interested, please send me an email at gthomps at gmail.com. Thanks!
[1] https://en.wikipedia.org/wiki/Cuboid