19 lines
401 B
OpenSCAD
19 lines
401 B
OpenSCAD
/* https://github.com/BelfrySCAD/BOSL2 */
|
|
include <BOSL2/std.scad>
|
|
|
|
width = 16;
|
|
height = 20;
|
|
depth = 24;
|
|
thickness = 4;
|
|
rounding = 2;
|
|
|
|
$fn = 150;
|
|
|
|
linear_extrude(height)
|
|
difference() {
|
|
translate([0,0])
|
|
rect([width+thickness,depth+2*thickness], rounding=rounding*[0,0,1,1]);
|
|
translate([thickness/2,0])
|
|
rect([width,depth], rounding=rounding*[0,1,1,0]);
|
|
}
|