board.scad 1.26 KB
module dupontheader() {
 color([0.1,0.1,0.1]) {
		cube([33.5,2.5,20.34]);
		translate([0,2.5,0]) cube([31.18,2.5,20.34]);
	}
}

module dp25() {
		 color([0.9,0.9,0.9]) {
					hull() {
							 translate([43,-0.5,9]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=8);
							 translate([42,-0.5,4]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=8);
							 translate([11,-0.5,4]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=8);
							 translate([10,-0.5,9]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=8);
					}
					translate([50,-0.5,6.5]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=6);
					translate([3,-0.5,6.5]) rotate([90,0,0]) cylinder(d=5.4,h=4.8,$fn=6);
					translate([0,-0.5,0]) cube([53,0.5,12.5]);
		}
		 color([0.1,0.1,0.1]) {
				 difference(){
							cube([53,12,12.5]);
							translate([-1,2,10])cube([55,12,5]);
							translate([-1,2,3])cube([7.7,12,10]);
							translate([46.3,2,3])cube([7.7,12,10]);
				 }
		}
}


module board() {
		color([0.5,0.3,0]) cube([63.34,60.11,1.6]);
		translate([42.83,17,1.6])rotate([0,0,180]) dupontheader();
		translate([50.95,14.5,1.6])rotate([0,0,90]) dupontheader();
		translate([9.27,45.5,1.6]) dupontheader();
		translate([0,-3.3,1.6]) dp25();
		translate([67.84,4.2,1.6])rotate([0,0,90]) dp25();
		translate([53,64,1.6])rotate([0,0,180]) dp25();
}