35 lines
855 B
OpenSCAD
35 lines
855 B
OpenSCAD
// To jest taka podstawecznka na te metalowe półki małe, żeby można było stawiać kamyczki
|
|
|
|
width=220;
|
|
length=160;
|
|
|
|
height_down = 5;
|
|
height_up = 15;
|
|
wall_thickness = 2;
|
|
shelf_thickness = 1;
|
|
|
|
// space left - ile od krawędzi wyciąć środek
|
|
sl = 20;
|
|
|
|
include <BOSL2/std.scad>
|
|
include <BOSL2/shapes3d.scad>
|
|
|
|
wt = wall_thickness;
|
|
st = shelf_thickness;
|
|
total_height = height_up + height_down + shelf_thickness;
|
|
|
|
difference() {
|
|
// głowny model
|
|
translate([width/2+wt, length/2+wt, total_height/2])
|
|
cuboid([width + wt*2, length + wt*2, total_height], rounding=2);
|
|
// wycięcie na dole
|
|
translate([wt,wt,-0.1])
|
|
cube([width, length, height_down]);
|
|
// wycięcie na górze
|
|
translate([width/2, length/2, height_up])
|
|
translate([wt,wt,height_down + st + 0.1])
|
|
cuboid([width, length, height_up * 2], rounding=10);
|
|
}
|
|
|
|
|
|
// cuboid();
|