From 0428a1adbc142b0ba4564293507677ed21e1acbd Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 1 Aug 2020 01:10:03 +0200 Subject: [PATCH] Fix drawer bottom, add license note. --- regal_mit_schubladen.scad | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/regal_mit_schubladen.scad b/regal_mit_schubladen.scad index d12b9ad..29d3ca9 100644 --- a/regal_mit_schubladen.scad +++ b/regal_mit_schubladen.scad @@ -1,7 +1,22 @@ +/* Copyright © 2020 tastytea + * + * 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 . + */ + $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])