Skip to content

Commit

Permalink
Design files for Tapster 2T
Browse files Browse the repository at this point in the history
  • Loading branch information
hugs committed May 20, 2015
1 parent 4442bce commit 0f194bf
Show file tree
Hide file tree
Showing 17 changed files with 31,447 additions and 9 deletions.
15 changes: 6 additions & 9 deletions hardware/tapster-2-tablet/scad/base.scad
@@ -1,13 +1,13 @@
// Description: Base plate for Tapster 2 Plus // Description: Base plate for Tapster 2 Tablet
// Project home: http://tapsterbot.com // Project home: http://tapsterbot.com


beam_width = 8; beam_width = 8;
hole_diameter = 5.3; hole_diameter = 5.3;
hole_radius = hole_diameter / 2; hole_radius = hole_diameter / 2;


plate_radius = beam_width * 24; plate_radius = beam_width * 26;
distance_of_edge_from_center = sqrt(pow(plate_radius,2)-pow(plate_radius/2,2)); distance_of_edge_from_center = sqrt(pow(plate_radius,2)-pow(plate_radius/2,2));
joint_hole_center = distance_of_edge_from_center-4; joint_hole_center = distance_of_edge_from_center-15;


echo("distance_of_edge_from_center=", distance_of_edge_from_center); echo("distance_of_edge_from_center=", distance_of_edge_from_center);


Expand All @@ -20,13 +20,10 @@ module beam(number_of_holes) {
} }


module joint(){ module joint(){
translate([-20.5-4,-distance_of_edge_from_center-1,-4]) translate([-16,-joint_hole_center,-10])
cube([5,beam_width+1.1,16]); cylinder(r=hole_radius, h=25, $fn=30);

translate([15.5+4,-distance_of_edge_from_center-1,-4])
cube([5,beam_width+1.1,16]);


translate([0,-joint_hole_center,-10]) translate([16,-joint_hole_center,-10])
cylinder(r=hole_radius, h=25, $fn=30); cylinder(r=hole_radius, h=25, $fn=30);
} }


Expand Down
28 changes: 28 additions & 0 deletions hardware/tapster-2-tablet/scad/bracket.scad
@@ -0,0 +1,28 @@
hole_diameter = 5.3;
hole_radius = hole_diameter / 2;

difference(){
cube([76.2,30,30]);

translate([-2,-2,-2])
rotate([45,0,0])
cube([80,50,25]);

translate([8,-10,5])
cube([76.2-16,34,34]);

translate([22.1,15,-5])
cylinder(r=hole_radius, h=20, $fn=30);

translate([76.2-22.1,15,-5])
cylinder(r=hole_radius, h=20, $fn=30);

translate([22.1,-20,15])
rotate([0,90,90])
cylinder(r=hole_radius, h=80, $fn=30);

translate([76.2-22.1,-20,15])
rotate([0,90,90])
cylinder(r=hole_radius, h=80, $fn=30);

}
31 changes: 31 additions & 0 deletions hardware/tapster-2-tablet/scad/camera-holder.scad
@@ -0,0 +1,31 @@
beam_width = 8;
hole_diameter = 5.1;
hole_radius = hole_diameter / 2;


union() {
difference() {
cube([32,14,20], center=true);

translate([0,0,-16])
cube([40,16,20], center=true);

translate([-27,0,0])
rotate([0,90,0])
cube([8.4,8.4,50], center=true);

translate([8,0,-20])
cylinder(r=4, h=40, $fn=30);

translate([-12.5,0,0])
cylinder(r=1.5, h=40, $fn=30);

translate([10,0,14])
cube(20,16,14, center=true);

translate([-16,0,7])
cube([17,6.5,3], center=true);

}

}
68 changes: 68 additions & 0 deletions hardware/tapster-2-tablet/scad/camera-mount.scad
@@ -0,0 +1,68 @@
beam_width = 8;
hole_diameter = 5.1;
hole_radius = hole_diameter / 2;

plate_radius = beam_width * 4;
distance_of_edge_from_center = sqrt(pow(plate_radius,2)-pow(plate_radius/2,2));

module beam_holes(number_of_holes, step=8) {
beam_length = number_of_holes * 8;
// Cut the holes
for (x=[4 : step : beam_length]) {
translate([x-4,0,2])
cylinder(r=2.55, h=12, $fn=30);
}
}

union(){

difference(){
cylinder(r=13, h=20, $fn=6);

translate([0,20,16])
rotate([90,0,0])
cylinder(r=1.5, h=40, $fn=30);

translate([0,-8,0])
cube([6.5,3,60], center=true);

translate([0,8,0])
cube([6.5,3,60], center=true);

translate([-4.2,-4.2,-12])
cube([8.4,8.4,50]);
}

difference(){
// Base plate
cylinder(r=plate_radius, h=4, $fn=6);

rotate(90)
translate([0,0,-5])
center_connectors();

translate([0,-8,0])
cube([6.5,3,60], center=true);

translate([0,8,0])
cube([6.5,3,60], center=true);

translate([-4.2,-4.2,-12])
cube([8.4,8.4,50]);
}
}


module center_connectors() {
translate([8,16,0])
rotate(a=0)
beam_holes(10,step=8*8);

rotate(a=120)
translate([8,16,0])
beam_holes(10,step=8*8);

rotate(a=240)
translate([8,16,0])
beam_holes(10,step=8*8);
}
23 changes: 23 additions & 0 deletions hardware/tapster-2-tablet/scad/coupler.scad
@@ -0,0 +1,23 @@
// Description: "Coupler for Tapster 2 Plus"
// Project home: http://tapsterbot.com

hole_diameter = 5.1;
hole_radius = hole_diameter / 2;
tolerance = 0.2;

difference(){
cylinder(r=4.5, h=10, $fn=45);

// threaded rod mount
translate([0,0,-1])
cylinder(r=2.5, h=10, $fn=45);
}

translate([0,0,15])
difference(){
cube([8,4-tolerance,10], center=true);

translate([0,8,1])
rotate([90,0,0])
cylinder(r=hole_radius, h=16, $fn=30);
}
28 changes: 28 additions & 0 deletions hardware/tapster-2-tablet/scad/joint.scad
@@ -0,0 +1,28 @@
// Description: "Joint for Tapster 2 Plus"
// Project home: http://tapsterbot.com

hole_diameter = 5.1;
hole_radius = hole_diameter / 2;
tolerance = 0.2;

difference(){
cube([18,10,8]);

translate([8,3-(tolerance/2),-1])
cube([16,4+tolerance,10]);

rotate([90,0,0])
translate([14,4,-14])
cylinder(r=hole_radius, h=16, $fn=30);

translate([4,5,-4])
cylinder(r=hole_radius, h=16, $fn=30);

translate([0,-4,-1])
rotate([0,0,45])
cube([5,5,10]);

translate([0,7,-1])
rotate([0,0,45])
cube([5,5,10]);
}
69 changes: 69 additions & 0 deletions hardware/tapster-2-tablet/scad/side.scad
@@ -0,0 +1,69 @@
// Description: Side plate for Tapster 2 Tablet
// Project home: http://tapsterbot.com

beam_width = 8;
hole_diameter = 5.3;
hole_radius = hole_diameter / 2;

margin_from_bottom = 10;
width_of_bracket = 30;
width_of_base_plate = 6.35;

plate_length = margin_from_bottom +
width_of_bracket +
width_of_base_plate +
480 +
width_of_base_plate +
width_of_bracket;
echo("Plate length: ", plate_length);

// Uncomment 'projection' to create 2D (DXF-able) version
//projection(cut=true) {
difference(){
cube([plate_length, 76.2, 15.875]);

// Bottom row A
translate([25, 22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);

translate([25, 76.2-22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);

// Bottom row B
translate([25+6.35+30, 22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);

translate([25+6.35+30, 76.2-22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);

/*
// Fiducial #1
translate([plate_length/2 + 30 , 22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);
translate([plate_length/2 + 30, 76.2-22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);
// Fiducial #2
translate([plate_length/2 - 30, 22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);
translate([plate_length/2 - 30, 76.2-22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);
*/

// Top row C
translate([plate_length-15, 22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);

translate([plate_length-15, 76.2-22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);

// Top row D
translate([plate_length-15-6.35-30, 22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);

translate([plate_length-15-6.35-30, 76.2-22.1, -10])
cylinder(r=hole_radius, h=40, $fn=30);
}
//}
50 changes: 50 additions & 0 deletions hardware/tapster-2-tablet/scad/stylus-holder.scad
@@ -0,0 +1,50 @@
// Description: Tablet stylus holder for Tapster 2 Plus
// Project home: http://tapsterbot.com

beam_width = 8;
hole_diameter = 5.1;
hole_radius = hole_diameter / 2;

module beam(number_of_holes) {
beam_length = number_of_holes * beam_width;
difference() {
// Draw the beam...
translate([2,0,0])
cube([beam_length-4,8,beam_width]);

// Cut the holes...
for (x=[10 : beam_width : beam_length]) {
rotate([90,0,0])
translate([x,beam_width/2,-10])
cylinder(r=hole_radius, h=12, $fn=30);
}
}
}

union() {
difference(){
cylinder(r=11, h=8, $fn=30);

translate([0,0,-5])
cylinder(r=4.3, h=20, $fn=30);

translate([0,0,4])
rotate([60,90,0])
cylinder(r=1.5, h=20, $fn=30);

rotate(-60)
translate([7,0,0])
cube([3,6.5,30], center=true);
}

translate([6,-4,0])
beam(2);

rotate(120)
translate([6,-4,0])
beam(2);

rotate(240)
translate([6,-4,0])
beam(2);
}

0 comments on commit 0f194bf

Please sign in to comment.