Blender rendering:

OpenSCAD definitions:
alpha=1;
module chamber() {
translate([0,0,2])
scale(v=0.8)
difference() {
cube([3,3,3]);
translate([0,1,1])
cube([3,1,1]);
translate([1,0,1])
cube([1,3,1]);
}
}
module pedestal() {
cube([1,1,1]);
translate([0,2,0])
cube();
translate([2,0,0])
cube();
translate([2,2,0])
cube();
translate([0,0,1])
cube([3,3,1]);
}
module hat() {
translate([1.25,1.25,4.25])
rotate(45)
cylinder(1,3,1,$fn=4);
}
color("lightblue", alpha)
translate([-0.25,-0.25,0])
pedestal();
color("lightgreen", alpha)
chamber();
color("lightcoral", alpha)
hat();
Be First to Comment