McBin

house.scad

$fn=50; // Smooth curves

module house() {
    // Base of the house
    cube([10, 10, 5], center=true);
    
    // Door on the front
    translate([0, 4, -2.5]) cube([2, 1, 3]);
    
    // Windows on the sides
    translate([-3, 3, 1]) cube([1, 1, 1]);
    translate([3, 3, 1]) cube([1, 1, 1]);
}

house();
Copied to clipboard!