
Đèn Cube Hi -Poly - Remix Magnet Remix
- Downloads
- 0
- Likes
- 0
- Views
- 0
- Remixes
- 0
- Comments
- 0
Files 4 224.9 KB
- HiPolyCubeBaseMagRemix_1766564789.stlSTL · 80.7 KB
- HiPolyCubeCoreMagRemix_1766564789.stlSTL · 35.4 KB
- HiPolyCubeMagRemix_oriented_1766564790.stlSTL · 72.2 KB
- HiPolyCubeMagCore2Remix_1766564791.stlSTL · 36.6 KB
Make a variant with AI
Build another version of this model.
Details
- Model ID
- #21222
- Category
- Mỹ Thuật
- Published
Description
Print as shown, press and super glue in eight D5x2mm magnets, enjoy.
Bonus, now you can mount on ferrous metal surfaces like a fridge or cabinet.
The LED cores can be built several ways, by spiral wrapping or Cartesian strips. The core dimensions were chose as a multiple of the LEDs in a 60/meter strip, 16.67mm.
Below is a look up table to find the correct LED index based on the X and Y coordinates.
The square core built as shown is “CARTEASIAN”
The beveled corner core built as shown is “OCTAGONAL”
// #define CARTEASIAN
#define OCTAGONAL
#ifdef CARTEASIAN //carteasian hi-poly cube config ------------------------------------------------------------------------------
// sets accurate logical difinitions, LED arrays: 6H x 4W faces and 4x4 top
const uint8_t kMatrixWidth = 16; //X variable, 4 faces 4 LED each
const uint8_t kMatrixHeight = 7; //Y variable, vertical rows + top
//an algorythm is much larger and slower to look up LED index
static uint8_t XY_LUT[] = {0,11,12,23,24,55,56,87,88,99,100,111,72,71,40,39,
1,10,13,22,25,54,57,86,89,98,101,110,73,70,41,38,
2,9,14,21,26,53,58,85,90,97,102,109,74,69,42,37,
3,8,15,20,27,52,59,84,91,96,103,108,75,68,43,36,
4,7,16,19,28,51,60,83,92,95,104,107,76,67,44,35,
5,6,17,18,29,50,61,82,93,94,105,106,77,66,45,34,
33,47,32,31,30,48,49,62,81,63,80,79,78,64,65,46
};
#endif
#ifdef OCTAGONAL //beveled corner tower hi-poly cube config ------------------------------------------------------------------------------
// sets accurate logical difinitions, LED arrays: 6H x 4W faces and 3x3 top
const uint8_t kMatrixWidth = 16; //X variable,
const uint8_t kMatrixHeight = 7; //Y variable, vertical rows + top
static uint8_t XY_LUT[] = {5,6,17,18,29,30,59,60,99,98,87,86,75,74,45,44,
4,7,16,19,28,31,58,61,100,97,88,85,76,73,46,43,
3,8,15,20,27,32,57,62,101,96,89,84,77,72,47,42,
2,9,14,21,26,33,56,63,102,95,90,83,78,71,48,41,
1,10,13,22,25,34,55,64,103,94,91,82,79,70,49,40,
0,11,12,23,24,35,54,65,104,93,92,81,80,69,50,39,
38,105,37,105,36,105,53,105,66,105,67,115,68,51,52
};
#endif
// XY **************************************************************
uint16_t XY( uint8_t x, uint8_t y)
{
//request through a simple index of LED locations, to use the Look-Up-Table
uint8_t lutIndex = (y * kMatrixWidth) + x;
return XY_LUT[lutIndex];
}
Print spec
- Formats
- stl
- Model files
- 4
- Total size
- 224.9 KB
- Largest file
- 80.7 KB
0 comments
You may also like 12 models
See all-
New -

-

-
New -

-
New -

-
New -

-

-

-


