// All dimensions are assumed to be given in millimeters major_width = 7; // major_height = 1; major_height = 8; minor_width = 5; minor_height = 4; for (i=[0:0]) { union() { translate(v=[10*i, 0, minor_height / 2]) { cube([minor_width, minor_width, minor_height], center=true); } translate(v=[10*i, 0, - major_height / 2]) { cube([major_width, major_width, major_height], center=true); } } }