weatherstation/hardware/ht-dn50_stopfen.scad

25 lines
547 B
OpenSCAD
Raw Permalink Normal View History

radius=25;
height=30;
union() {
difference() {
cylinder(h=height, r=radius, $fn=300);
translate([0, 0, -5])
cylinder(h=height+10, r=radius-2, $fn=300);
}
difference() {
union() {
translate([0, 0, height])
cylinder(h=3, r=radius+5, $fn=300);
color("green")
translate([-22, -12, 31])
cube([44, 24, 5]);
}
color("red")
translate([-20, -10, 25])
cube([40, 20, 15]);
}
}