PCB supports

This commit is contained in:
2026-01-05 01:05:44 +01:00
parent 66d5713a10
commit a092549fa5
3 changed files with 15 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ use <cutouts.scad>
// TODO: open hardware logo, Fabula logo, cutouts for components and buttons, tag slot with led mount
box_cut_height = 10;
pcb_screw_size = 3;
module fabula_enclosure_bottom() {
difference() {
@@ -37,9 +38,13 @@ module fabula_enclosure_bottom() {
module fabula_enclosure_top() {
difference() {
union() {
box();
//box();
// Supports
translate([-66.1, 30.1, -16.2]) #pcb_support(pcb_screw_size);
translate([-66.1, -27.8, -16.2]) #pcb_support(pcb_screw_size);
translate([64.1, 24.2, -16.2]) #pcb_support(pcb_screw_size);
translate([64.1, -26.8, -16.2]) #pcb_support(pcb_screw_size);
}
// Cutouts

View File

@@ -20,3 +20,10 @@ module supports_charging_module() {
translate([-2, 0, 0]) cube([28.2, 17.2, 6], true);
}
}
module pcb_support(screw_diameter) {
difference() {
cylinder(d = 10, h = 17.6, center = true);
cylinder(d = screw_diameter, h = 18, center = true);
}
}

View File

@@ -21,5 +21,5 @@ module test_fit_components() {
}
test_fit_components();
translate([0, 0, 20]) rotate([0, 0, -90]) rotate([180, 0, 0]) fabula_enclosure_bottom();
translate([0, 0, 20]) rotate([0, 0, -90]) rotate([180, 0, 0]) #fabula_enclosure_top();
//translate([0, 0, 20]) rotate([0, 0, -90]) rotate([180, 0, 0]) fabula_enclosure_bottom();
#translate([0, 0, 20]) rotate([0, 0, -90]) rotate([180, 0, 0]) fabula_enclosure_top();