30 lines
875 B
OpenSCAD
30 lines
875 B
OpenSCAD
/* https://github.com/BelfrySCAD/BOSL2 */
|
|
include <BOSL2/std.scad>
|
|
|
|
width = 15;
|
|
height = 34.5;
|
|
depth = 18.75;
|
|
thickness = 2;
|
|
rounding = 2;
|
|
hole_diameter = 4.5;
|
|
|
|
$fn = 150;
|
|
|
|
|
|
difference() {
|
|
group() {
|
|
translate([0,0,(depth+thickness)/2])
|
|
cuboid([width,height+2*thickness,depth+thickness], rounding=rounding, edges=[TOP+BACK,TOP+FWD]);
|
|
translate([0,(height+width)/2+thickness,thickness/2])
|
|
cuboid([width,width,thickness], rounding=rounding, edges=[BACK+RIGHT,BACK+LEFT]);
|
|
}
|
|
group() {
|
|
translate([0,0,depth/2])
|
|
cuboid([2*width,height,depth], rounding=rounding, edges=[TOP+BACK,TOP+FWD]);
|
|
translate([0,-(height+thickness)/2,thickness/2])
|
|
cuboid([2*width,thickness,thickness]);
|
|
translate([0,(height+width)/2+thickness,0])
|
|
cylinder(h=thickness, d=hole_diameter);
|
|
}
|
|
}
|