added washer to accessory tool, added holes to bottom of rack case for feet, updated readme.md

This commit is contained in:
Edward Kisiel
2025-06-01 17:40:00 -04:00
parent 60ca7f47bb
commit 4f42b9a3db
4 changed files with 99 additions and 28 deletions

View File

@@ -21,20 +21,20 @@
/*
NAME: fan_cover
DESCRIPTION: creates fan covers for fan openings
NAME: m_insert
DESCRIPTION: creates brass inserts for models
TODO: none
USAGE: m_insert(type="M3", icolor = "#ebdc8b")
USAGE: m_insert(type="m3", icolor = "#ebdc8b")
type = "M3"
type = "m3"
icolor = color of insert
*/
module m_insert(type="M3", icolor = "#ebdc8b") { //#f4e6c3, #ebdc8b
module m_insert(type="m3", icolor = "#ebdc8b") { //#f4e6c3, #ebdc8b
odiam = type == "M3" ? 4.2 : 3.5;
idiam = type == "M3" ? 3 : 2.5;
odiam = type == "m3" ? 4.2 : 3.5;
idiam = type == "m3" ? 3 : 2.5;
iheight = 4;
difference() {
@@ -46,3 +46,36 @@ module m_insert(type="M3", icolor = "#ebdc8b") { //#f4e6c3, #ebdc8b
cube([.5, .5, 1.5]);
}
}
/*
NAME: washer
DESCRIPTION: creates washers
TODO: none
USAGE: washer(type="round", id=3, od=6, iheight=2, sheight=2, countersunk, icolor = "#ebdc8b")
type = "round", "shouldered"
id = inside diameter
od = outside diameter
iheight = washer thickness
sheight = shoulder height
countersunk = true
icolor = color of washer
*/
module washer(type="round", id=3, od=6, iheight=2, sheight=2, countersunk = false, icolor = "#ebdc8b") { //#f4e6c3, #ebdc8b
difference() {
union() {
color(icolor,.6) cylinder(d=od, h=iheight);
if(type == "shouldered") {
color(icolor,.6) cylinder(d=od+4, h=sheight);
}
}
color(icolor,.6) translate([0,0,-1]) cylinder(d=id, h=od+sheight+2);
if(type == "shouldered" && countersunk == true) {
color(icolor,.6) translate([0,0,-.01]) cylinder(d2=id, d1=6, h=sheight);
}
}
}