Skip to content

Instantly share code, notes, and snippets.

@lanrat
Created February 10, 2022 05:23
Show Gist options
  • Save lanrat/13ec8fdc76b309c8fbbf33b0cfd96f9f to your computer and use it in GitHub Desktop.
Save lanrat/13ec8fdc76b309c8fbbf33b0cfd96f9f to your computer and use it in GitHub Desktop.
click and grow garden extension [WIP]
$fn = 100;
translate([0,0,100/2]) {
difference() {
cube([35,15,100],center=true);
cube([35-2,15-2,100.01],center=true);
translate([0,0,-35]) {
translate([35/2-2,0,0]) {
cube([2,20,30.01],center=true);
}
translate([-(35/2-2),0,0]) {
cube([2,20,30.01],center=true);
}
}
}
}
module bump() {
module bump_a() {
rotate([90,0,0]) {
difference() {
cylinder(h=15,r=2,center=true);
translate([-2,0,0]) cube([4,4,15.01],center=true);
}
}
}
difference() {
union() {
bump_a();
translate([0,0,-3.4]) bump_a();
}
translate([2.5,0,-3.4/2]) rotate([90,0,0]) cylinder(h=15.1,r=1.5,center=true);
}
}
// notches
translate([35/2-0.5,0,10]) {
bump();
}
mirror([1,0,0]) translate([35/2-0.5,0,10]) {
bump();
}
translate([0,0,80/2+80]) { // 20cm overlap
difference() {
cube([35+2,15+2,80],center=true);
cube([35,15,80.01],center=true);
}
}
// todo below
module notch() {
translate([35/2,0,80+80-25]) rotate([0,0,90]) cube([5,2,2], center=true);
}
notch();
translate([0,0,-30]) notch();
translate([0,0,-60]) notch();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment