smaller brim

This commit is contained in:
Benedek László 2024-03-29 12:26:54 +01:00
parent 1e09b3ea6b
commit 35ff179ba9

View File

@ -4,7 +4,7 @@ include <../pi/orangepi.scad>
tray_size = [102, 61.5, 5];
cutout_marings = [12, 12, -0.5];
pillar_size = [5, 6.3/2];
brim_size = [3, tray_size[1], pillar_size[0]];
brim_size = [3, tray_size[1]-(2.5*2), pillar_size[0]];
screw_radius = 3/2;
module tray() {
@ -19,7 +19,7 @@ module tray() {
}
// brim
translate([tray_size[0]-brim_size[0], 0, tray_size[2]]) cube(brim_size);
translate([tray_size[0]-brim_size[0], 2.5, tray_size[2]]) cube(brim_size);
}
// remove edges
color("#ff0000") translate([-0.5, 0, tray_size[2]/2]) union() {
@ -35,12 +35,6 @@ module tray() {
}
}
}
// remove edges of brim
translate([0, 0, tray_size[2]]) union() {
cube([tray_size[0]+1, 2.8, 10]);
translate([0, tray_size[1]-2.7, 0]) cube([tray_size[0]+1, 2.8, 10]);
}
}
}