git.haldean.org h1a / master assy.scad
master

Tree @master (Download .tar.gz)

assy.scad @masterraw · history · blame

use <cap.scad>
use <guide.scad>
use <base.scad>
include <dims.scad>

h = 2000;

color("white")
    translate([0, 0, h+cap_height]) rotate([180, 0, 0])
        cap();
color("white") guide();

color("red", 0.8) linear_extrude(h) difference() {
    offset(itcr)
        square([itod-2*itcr, itod-2*itcr], center=true);
    square([itid, itid], center=true);
}
color("gray", 0.6) union() {
    difference() {
        cylinder(r=otod/2, h=h);
        translate([0,0,-eps]) cylinder(r=otid/2, h=h+2*eps);
    }
}

// this is the approximate size of a rpi 3A+
color("green") translate([0, 0, -5 - cap_height]) cube([55, 65, 10], center=true);