Skip to content
Permalink
Browse files

making sure the X belt clamps bolts do not hit the top portion of the…

… sidepanel in the worst case scenario
  • Loading branch information
felipesanches committed Jun 3, 2013
1 parent b1776ca commit f0ca13d2ac0bfaafc09b55907e0969305de379ca
Showing with 43 additions and 25 deletions.
  1. +1 −0 Metamaquina2.h
  2. +21 −7 Metamaquina2.scad
  3. +2 −0 endstop.h
  4. +19 −18 endstop.scad
@@ -21,6 +21,7 @@ include <render.h>;

/*Thickness of acrylic or plywood sheets to use.*/
thickness = 6; //millimiters
acrylic_thickness = 5;

/*This value is added to the thickness value when drawing cuts for connecting perpendicular sheets together*/
slot_extra_thickness = 0.5;
@@ -110,7 +110,7 @@ function carz_demo(time) = time*BuildVolume_Z;
function coupling_demo(time) = (360*carz_demo(time)/1.25)/hack_couplings;

/* Positioning of the extruder assembly */
XCarPosition = 0; //carx_demo(time);
XCarPosition = -100; //carx_demo(time);
YCarPosition = 0; //cary_demo(time);
ZCarPosition = 150; //carz_demo(time);

@@ -143,10 +143,10 @@ machine_height = BuildVolume_Z + 207.2; //why?

XZStage_offset = 20;
XZStage_position = RightPanel_basewidth/2 + XZStage_offset;
z_max_endstop_x = XZStage_position - 46;
z_max_endstop_y = machine_height - 25;
z_max_endstop_x = XZStage_position - 41;
z_max_endstop_y = machine_height - 19;

z_min_endstop_x = z_max_endstop_x - 20;
z_min_endstop_x = z_max_endstop_x - 28;
z_min_endstop_y = 109;

baseh = 35;
@@ -220,7 +220,7 @@ RightPanel_backheight = machine_height - RightPanel_baseheight;

rear_backtop_advance = XZStage_position - (XPlatform_width/2 + XEnd_extra_width + 10) - RightPanel_backwidth;

RightPanel_topheight = 35;
RightPanel_topheight = 30;
RightPanel_topwidth = XZStage_position + 30 - rear_backtop_advance;

module bar_cut(l=2*bar_cut_length){
@@ -1257,10 +1257,24 @@ module generic_bearing_sandwich_face(H, r=20, sandwich_tightening=1){
}
}

//!XEnd_front_face();
module XEnd_front_face(){
difference(){
translate([-XPlatform_width/2 - XEnd_extra_width, thickness])
rounded_square([XEnd_width, XPlatform_height - thickness], corners=[0,0,thickness/2,thickness/2]);
union(){
translate([-XPlatform_width/2 - XEnd_extra_width, thickness])
rounded_square([XEnd_width, XPlatform_height - thickness], corners=[0,0,thickness/2,thickness/2]);

translate([-XPlatform_width/2 - XEnd_extra_width + belt_offset - 5, XPlatform_height])
hull(){
for (i=[-1,1]){
translate([i*5,2])
circle(r=3);

translate([i*11,0])
circle(r=0.01);
}
}
}

//holes for x-axis rods
translate([X_rods_distance/2, X_rod_height + thickness])
@@ -24,3 +24,5 @@ microswitch_width = 20;
microswitch_height = 10.7;
microswitch_thickness = 6.3;

endstop_spacer_height = 30;

@@ -28,14 +28,14 @@ m3_diameter=3; //TODO: move-me to a header file
module z_max_mount_holes(){
//these are the holes for mounting the endstop subassembly
for (i=[-1,1])
translate([-microswitch_width/2+i*microswitch_holes_distance/2,16-microswitch_height/2])
translate([-microswitch_width/2+i*microswitch_holes_distance/2,19-microswitch_height/2])
M3_hole();

translate([-100,7]){
//this is to keep the endstop wiring in place:
zip_tie_holes(d=8);

translate([78,0])
translate([74,0])
zip_tie_holes(d=8);

// Since all of the 3d printer wiring will be prepared
@@ -68,7 +68,7 @@ module z_min_mount_holes(){
translate([-15.5,7]){
rounded_edge_cut(width=3, height=15.7, r=3/2, plain_left=true);

translate([5,-15])
translate([8,-15])
zip_tie_holes(d=8);
}
}
@@ -181,14 +181,14 @@ module z_min_endstop(){
BillOfMaterials("M2.5 lock-nut", 2);
}

translate([15,0]){
translate([20,0]){
zmin_endstop_spacer_sheet1();

translate([0,0,thickness])
translate([0,0,acrylic_thickness])
zmin_endstop_spacer_sheet2();
}

translate([0,0,2*thickness])
translate([0,0,2*acrylic_thickness])
mechanical_switch();
}

@@ -203,13 +203,14 @@ module z_max_endstop(){
BillOfMaterials("M2.5 lock-nut", 2);
}

translate([0,-2.5])
rotate(180){
zmax_endstop_spacer_sheet1();

translate([0,0,thickness])
translate([0,0,acrylic_thickness])
zmax_endstop_spacer_sheet2();

translate([0,0,2*thickness])
translate([0,0,2*acrylic_thickness])
mechanical_switch();
}
}
@@ -229,7 +230,7 @@ module endstop_spacer_face1(nut_gap=true){
translate([0,-microswitch_height])
difference(){
translate([-2,-microswitch_height])
rounded_square([microswitch_width+4,3*microswitch_height], corners=[r,r,r,r]);
rounded_square([microswitch_width+4,endstop_spacer_height], corners=[r,r,r,r]);

translate(wire_coordinate)
oblongo(microswitch_width);
@@ -252,7 +253,7 @@ module endstop_spacer_face2(nut_gap=false){
translate([0,-microswitch_height])
difference(){
translate([-2,-microswitch_height])
rounded_square([microswitch_width+4,3*microswitch_height], corners=[r,r,r,r]);
rounded_square([microswitch_width+4,endstop_spacer_height], corners=[r,r,r,r]);

translate(wire_coordinate)
rotate(90)
@@ -374,32 +375,32 @@ module ymax_endstop_spacer_sheet(){
module zmax_endstop_spacer_sheet1(){
BillOfMaterials(category="Lasercut wood", partname="ZMAX Spacer #1");

material("lasercut")
linear_extrude(height=thickness)
material("acrylic")
linear_extrude(height=acrylic_thickness)
zmax_endstop_spacer_face1();
}

module zmax_endstop_spacer_sheet2(){
BillOfMaterials(category="Lasercut wood", partname="ZMAX Spacer #2");

material("lasercut")
linear_extrude(height=thickness)
material("acrylic")
linear_extrude(height=acrylic_thickness)
zmax_endstop_spacer_face2();
}

module zmin_endstop_spacer_sheet1(){
BillOfMaterials(category="Lasercut wood", partname="ZMIN Spacer #1");

material("lasercut")
linear_extrude(height=thickness)
material("acrylic")
linear_extrude(height=acrylic_thickness)
zmin_endstop_spacer_face1();
}

module zmin_endstop_spacer_sheet2(){
BillOfMaterials(category="Lasercut wood", partname="ZMIN Spacer #2");

material("lasercut")
linear_extrude(height=thickness)
material("acrylic")
linear_extrude(height=acrylic_thickness)
zmin_endstop_spacer_face2();
}

0 comments on commit f0ca13d

Please sign in to comment.
You can’t perform that action at this time.