cut_rotation = 2;
holes_rotation = 9;
-pin_offset = 6;
+pin_y_offset = 5.5;
+pin_x_offset = 0.5;
ridge_rotation = 8.5;
// computed
}
module Pin(){
- translate([0, pin_offset, 0]) rotate([0,90,0]){
+ translate([pin_x_offset, pin_y_offset, 0]) rotate([0,90,0]){
translate([0, 0, -pin_thick/2])
linear_extrude(height=pin_thick){
translate([-pin_base/2, 0]) square([pin_base, 50]);
}
}
-module PiecesPrint(){
+module PiecePrint(pc){
rotate([0,180,0])
- for (pc=[0,1]){
- Piece(pc,4);
- }
+ Piece(pc,4);
+}
+
+module PiecesPrint(){
+ PiecePrint(0);
+ PiecePrint(1);
}
module Demo(){
//Pin();
//Pieces();
PiecesPrint();
+//PiecePrint(0);
+//PiecePrint(1);