Fix drawer bottom, add license note.

This commit is contained in:
tastytea 2020-08-01 01:10:03 +02:00
parent 8838630d8e
commit 0428a1adbc
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 20 additions and 3 deletions

View File

@ -1,7 +1,22 @@
/* Copyright © 2020 tastytea <tastytea@tastytea.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
$fa = 1;
$fs = 0.2;
drawer_size = 30; /* Cube */
drawer_size = 20; /* Cube */
lath_width = 2.4; /* x */
lath_depth = 4.8; /* y */
@ -28,8 +43,10 @@ module schublade()
}
/* Bottom */
color([0.4, 0.2, 0.2]) translate([board_height, board_height, 0]) cube(
[drawer_size - board_height * 2, drawer_size - board_height * 2, 1]);
color([0.4, 0.2, 0.2]) translate([board_height, board_height, 0]) cube([
drawer_size - board_height * 2, drawer_size - board_height * 2,
board_height
]);
/* Handle */
translate([drawer_size / 2, 0, drawer_size / 2])