|
- module stepper_controller() {
- //board
- color("darkgreen") cube([15.24,20.32,1.5]);
- translate([0,0,1.5]){
- pin_header(8);
- translate([15.24-2.54,0,0]) pin_header(8);
- }
-
- }
-
-
- module pin_header(length) {
- translate([1.27,1.27,0])
- for (i = [0:length-1]){
- translate([0,2.54*i,2.55]){
- color("goldenrod") cube([0.62,0.62,11.15],center=true);
- translate([0,0,-1.225])
- color("#1a1a1a") hull() {
- cube([2.55,1.8,2.5],center=true);
- cube([1.8,2.55,2.5],center=true);
- }
- }
- }
- }
|