Put back some text labels, but fewer and bigger.

Cleanup old STL files
This commit is contained in:
douzeb 2023-01-28 19:48:21 +01:00
parent d1bffb4bdd
commit cc3102c1f9
6 changed files with 27 additions and 43 deletions

Binary file not shown.

Binary file not shown.

View File

@ -5,7 +5,7 @@
$w=2.5; // wall thickness
$wf=1.5; // wall thickness for front and back faces
$wf=2; // wall thickness for front and back faces
$g=.2; // gap
$hl=123; // heatsink length
@ -39,7 +39,7 @@ module frontBox() {
}
frontHoles();
frontScrewoles();
// frontLabel();
frontLabel();
}
}
@ -51,28 +51,22 @@ module backBox() {
}
backHoles();
backScrewoles();
// backLabel();
backLabel();
}
}
module frontLabel() {
color("green")
translate([$boxw / 2 - 6, $boxl - .5, $feeth + 7.5])
translate([$boxw / 2 - 6, $boxl - .8, $feeth + 7.5])
rotate([90, 0, 180])
union() {
translate([4,10.5,0])
linear_extrude(2) text("Projet CLIC", size=5);
translate([54,10.5,0])
linear_extrude(2) text("projetclic.cc", size=5);
translate([4,4,0])
linear_extrude(2) text("YesWiki", size=5);
translate([55.75,4,0])
linear_extrude(2) text("yeswiki.net", size=5);
translate([4,-2.5,0])
linear_extrude(2) text("YUNoHost", size=5);
translate([49,-2.5,0])
linear_extrude(2) text("yunohost.org", size=5);
// translate([11,2.75,0])
// linear_extrude(2) text("YESWIKI.NET", size=8);
// translate([3,2.75,0])
// linear_extrude(2) text("YUNOHOST.ORG", size=8);
translate([6,2.75,0])
linear_extrude(2) text("CHATONS.ORG", size=8);
}
translate([0, $boxl, $feeth + $boxh - 38.5])
corners(23, 92);
@ -80,23 +74,13 @@ module frontLabel() {
module backLabel() {
color("green")
translate([$boxw / 2 - 6, $boxl - .5, $feeth + 7.5])
translate([$boxw / 2 - 6, $boxl - .8, $feeth + 7.5])
rotate([90, 0, 180])
union() {
translate([42,27,0])
linear_extrude(2) text("CLIC", size=8);
translate([4,10.5,0])
linear_extrude(2) text("CHATONS", size=5);
translate([54,10.5,0])
linear_extrude(2) text("chatons.org", size=5);
// translate([4,4,0])
// linear_extrude(2) text("example", size=5);
// translate([49,4,0])
// linear_extrude(2) text("example.com", size=5);
translate([4,-2.5,0])
linear_extrude(2) text("Le DistriLab", size=5);
translate([60,-2.5,0])
linear_extrude(2) text("distrilab.fr", size=5);
translate([38,26.5,0])
linear_extrude(2) text("CLIC", size=10);
translate([10,2.75,0])
linear_extrude(2) text("DISTRILAB.FR", size=8);
}
translate([0, $boxl, $feeth + $boxh - 38.5])
corners(23, 92);
@ -179,14 +163,14 @@ module backHoles() {
translate([0, $boxl, $feeth + $boxh - 13.8])
corners(24.26, 92);
translate([31.9, $boxl, $boxh - 9.92])
translate([31.9, $boxl, $boxh - 5])
cube([12.8, 5+$w, 3.1], center=true);
translate([19, $boxl, $feeth + $boxh - 13.8])
translate([18.75, $boxl, $feeth + $boxh - 14.3])
rotate([90, 0, 0])
cylinder(h=5+$w, r=3, center=true, $fn=100);
translate([-32.33, $boxl, $feeth + $boxh - 9.4])
rotate([90, 0, 0])
cylinder(h=5+$w, r=2.85, center=true, $fn=100);
cylinder(h=5+$w, r=3, center=true, $fn=100);
}
}
@ -195,19 +179,19 @@ module frontHoles() {
translate([0, $boxl, $feeth + $boxh - 13.8])
corners(24.26, 92);
// ethernet
translate([34.42, $boxl, $feeth + $boxh - 14])
translate([34.42, $boxl, $feeth + $boxh - 14.5])
cube([15.32, 5+$wf, 13.5], center=true);
// usb
translate([-2.87, $boxl, $feeth + $boxh - 15.5])
translate([-2.87, $boxl, $feeth + $boxh - 16])
cube([14.5, 5+$wf, 16], center=true);
translate([-21, $boxl, $feeth + $boxh - 15.5])
translate([-21, $boxl, $feeth + $boxh - 16])
cube([14.5, 5+$wf, 16], center=true);
// power
translate([-38.8, $boxl, $feeth + $boxh - 14.07])
translate([-40, $boxl, $feeth + $boxh - 14.07])
rotate([90, 0, 0])
cylinder(h=5+$wf, r=3.725, center=true, $fn=100);
// hdmi
translate([17.13, $boxl, $feeth + $boxh - 10.8]) {
translate([17.13, $boxl, $feeth + $boxh - 11.3]) {
difference() {
cube([15.35, 5+$wf, 6], center=true);
translate([-10, 0, 3])
@ -219,7 +203,7 @@ module frontHoles() {
}
}
// micro-usb
translate([-21.21, $boxl, $feeth + $boxh - 4.3])
translate([-21.21, $boxl, $feeth + $boxh - 4.8])
difference() {
cube([8, 5+$wf, 3], center=true);
translate([-5, 0, -1.5])
@ -230,10 +214,10 @@ module frontHoles() {
cube([3, 6+$wf, 3], center=true);
}
translate([-39, $boxl - 3.5, $feeth + $boxh - 13.3])
cube([11, 4+$wf, 13], center=true);
translate([-39.5, $boxl - 3.5, $feeth + $boxh - 13.3])
cube([11, 3.8, 13], center=true);
translate([16.8, $boxl - 3.5, $feeth + $boxh - 11])
cube([19, 4+$wf, 10], center=true);
cube([19, 3.8, 10], center=true);
}
}