thickened walls and made lettering less deep
This commit is contained in:
parent
79de2e5e85
commit
1c12671d44
|
@ -1,7 +1,7 @@
|
||||||
include <PiZero.scad>
|
include <PiZero.scad>
|
||||||
include <BOSL2/std.scad>
|
include <BOSL2/std.scad>
|
||||||
|
|
||||||
wall_thickness_mod = 1.2;
|
wall_thickness_mod = 2;
|
||||||
cap_thickness = 6;
|
cap_thickness = 6;
|
||||||
case_height = 7;
|
case_height = 7;
|
||||||
outer_rect_size=[PiSizeX + wall_thickness_mod, PiSizeY + wall_thickness_mod];
|
outer_rect_size=[PiSizeX + wall_thickness_mod, PiSizeY + wall_thickness_mod];
|
||||||
|
@ -13,7 +13,7 @@ union() {
|
||||||
up(cap_thickness - 0.05) difference() {
|
up(cap_thickness - 0.05) difference() {
|
||||||
rect_tube(h=case_height, size=outer_rect_size , isize=[PiSizeX, PiSizeY], anchor=BOTTOM);
|
rect_tube(h=case_height, size=outer_rect_size , isize=[PiSizeX, PiSizeY], anchor=BOTTOM);
|
||||||
up(0.5) PiZeroBody(true);
|
up(0.5) PiZeroBody(true);
|
||||||
up(2) fwd(PiSizeY / 2 + wall_thickness_mod / 3 + 0.1) right(PiSizeX / 2 - 6) xrot(90) text3d(text = "5V", size=3, font = "Hurmit Nerd Font", thickness = wall_thickness_mod / 3);
|
up(2) fwd(PiSizeY / 2 + wall_thickness_mod / 2 - 0.29) right(PiSizeX / 2 - 6) xrot(90) text3d(text = "5V", size=3, font = "Hurmit Nerd Font", thickness = 0.3, anchor=FRONT+LEFT+BOTTOM);
|
||||||
}
|
}
|
||||||
// Bottom Wall Cap
|
// Bottom Wall Cap
|
||||||
linear_extrude(cap_thickness) rect(size = outer_rect_size, anchor = CENTER, spin = 0);
|
linear_extrude(cap_thickness) rect(size = outer_rect_size, anchor = CENTER, spin = 0);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user