2,7 → 2,7 |
|
|
module LCD_frontPanel(){ |
WIDTH = 7; // pocet der na zakl desku. Min je 8 |
WIDTH = 7; // pocet der na zakl desku. Def je 7 |
FOOT_X_SHIFT = 0; // posun v ose X, tzn. vysunutí ven, nebo dovnitř. 0 je v rovine s kratsi hranou zakl. desky ASBASE1115 |
DISPLAY_Z_SHIFT = 2; // mezera, která vznikne mezi "nohou" a spodní hranou PCB |
FOOT_THICK = 7; // síla spodní "nohy" (toho, v cem jsou srouby) |
13,10 → 13,15 |
NUT_DIAMETER = 6; // vyska matky |
CLEAR = 0.1; |
|
BOX_HEIGHT = 45; |
BOX_WIDTH = 80; |
BOX_THICKENESS = 1; |
|
difference(){ |
union(){ |
translate([0, 4 +FOOT_X_SHIFT, 0+DISPLAY_Z_SHIFT/2])cube([80,8,36+DISPLAY_Z_SHIFT], center=true); |
translate([0, 4 +FOOT_X_SHIFT/2, (-36-FOOT_THICK)/2])cube([80,8+FOOT_X_SHIFT,FOOT_THICK], center=true); |
translate([-BOX_WIDTH/2, 8-BOX_THICKENESS, -18-FOOT_THICK]) cube([BOX_WIDTH,BOX_THICKENESS,BOX_HEIGHT]); |
translate([0, 4 +FOOT_X_SHIFT, 0+DISPLAY_Z_SHIFT/2]) cube([80,8,36+DISPLAY_Z_SHIFT], center=true); |
translate([0, 4 +FOOT_X_SHIFT/2, (-36-FOOT_THICK)/2]) cube([80,8+FOOT_X_SHIFT,FOOT_THICK], center=true); |
translate([+75/2, 0, +31/2+DISPLAY_Z_SHIFT]) rotate([90,0,0]) cylinder(FOOT_THICK, 2.3/2, 2.3/2); |
translate([+75/2, 0, -31/2+DISPLAY_Z_SHIFT]) rotate([90,0,0]) cylinder(FOOT_THICK, 2.3/2, 2.3/2); |
translate([-75/2, 0, +31/2+DISPLAY_Z_SHIFT]) rotate([90,0,0]) cylinder(FOOT_THICK, 2.3/2, 2.3/2); |