fix X End_Stop_Holder and re-position both PCB_vise_1s to accomandate X travel reduced by X End_Stop_Holder

pull/10/head
Glen Chung 2013-10-28 00:03:02 +08:00
parent 06c7d67a34
commit 068e5b5b3f
2 changed files with 27 additions and 13 deletions

View File

@ -50,11 +50,12 @@ Z_Wood_Base = 15;
X_PCB_BOARD = 150; X_PCB_BOARD = 150;
Y_PCB_BOARD = 100; Y_PCB_BOARD = 100;
Z_PCB_BOARD = 1.5; Z_PCB_BOARD = 1.5;
X_PCB_BOARD_OFFSET = 12;
//Travel (164 x 101 x 25) //Travel (152 x 101 x 25)
X_Travel = 0; //0~164 X_Travel = 81; //0~152
Y_Travel = 0; //0~101 Y_Travel = 80; //0~101
Z_Travel = 30; //0~30 Z_Travel = 15; //0~30
//To display steppers, bearings, washers, nuts, bolts, micro-switches, etc. //To display steppers, bearings, washers, nuts, bolts, micro-switches, etc.
Display_Extra_Parts = true; Display_Extra_Parts = true;
@ -141,13 +142,13 @@ module cnc_workbed() {
} }
if(Display_Extra_Parts) { if(Display_Extra_Parts) {
translate([-28-X_PCB_BOARD/2,8+Y_PCB_BOARD/2,-(workbed_thickness)/2]) translate([X_PCB_BOARD_OFFSET/2-28-X_PCB_BOARD/2,8+Y_PCB_BOARD/2,-(workbed_thickness)/2])
rotate([180,0,0]) PCB_vise_1(with_extra_parts=true, exploded=Exploded_Drawing); rotate([180,0,0]) PCB_vise_1(with_extra_parts=true, exploded=Exploded_Drawing);
translate([28+X_PCB_BOARD/2,-8-Y_PCB_BOARD/2,-(workbed_thickness)/2]) translate([X_PCB_BOARD_OFFSET/2+28+X_PCB_BOARD/2,-8-Y_PCB_BOARD/2,-(workbed_thickness)/2])
rotate([180,0,180]) PCB_vise_1(with_extra_parts=true, exploded=Exploded_Drawing); rotate([180,0,180]) PCB_vise_1(with_extra_parts=true, exploded=Exploded_Drawing);
// --- PCB Board --- // --- PCB Board ---
echo("Non-Plastic Parts, 1, Double sided PCB ", X_PCB_BOARD, " x ", Y_PCB_BOARD, " x ", Z_PCB_BOARD); echo("Non-Plastic Parts, 1, Double sided PCB ", X_PCB_BOARD, " x ", Y_PCB_BOARD, " x ", Z_PCB_BOARD);
translate([0,0,-(workbed_thickness)/2-15]) translate([X_PCB_BOARD_OFFSET/2,0,-(workbed_thickness)/2-15])
color([0.72,0.45,0.20]) cube([X_PCB_BOARD,Y_PCB_BOARD,Z_PCB_BOARD],center=true); color([0.72,0.45,0.20]) cube([X_PCB_BOARD,Y_PCB_BOARD,Z_PCB_BOARD],center=true);
} }
} }
@ -266,7 +267,7 @@ module cnc_assembled(Y_offset=0,X_offset=0,Z_offset=0) {
translate([0,-19,99.65]) { // X threaded rod height, centered over SMOOTH rod translate([0,-19,99.65]) { // X threaded rod height, centered over SMOOTH rod
// --- X axis --- // --- X axis ---
translate([0,-X_rod_sep_real,0]) { translate([0,-X_rod_sep_real,0]) {
translate([-X_offset+31-X_Travel,0,0]) { translate([-X_offset+31-X_PCB_BOARD_OFFSET-X_Travel,0,0]) {
X_carriage(); X_carriage();
translate([0,X_rod_sep_real/2,Z_offset]) translate([0,X_rod_sep_real/2,Z_offset])
Z_carriage_piece(); Z_carriage_piece();

View File

@ -350,11 +350,15 @@ module frame_extras(with_motor=1, exploded_distance=0) {
} }
} }
echo("Non-Plastic Parts, 1, Micro Switch on no motor frame for X axis"); //this is not how carlosgs designed
rotate([90, 0, -45]) if(false) {
translate([X_rods_corner_shaft_size/2-19.8,0,-X_rods_corner_shaft_size/2+0.5*exploded_distance]) echo("Non-Plastic Parts, 1, Micro Switch on no motor frame for X axis");
micro_switch(with_extra_parts=true, exploded=(exploded_distance!=0)); rotate([90, 0, -45])
translate([X_rods_corner_shaft_size/2-19.8,0,-X_rods_corner_shaft_size/2+0.5*exploded_distance])
micro_switch(with_extra_parts=true, exploded=(exploded_distance!=0));
}
//Y end_stop_holder
if(true) { if(true) {
translate([frame_width-frame_thickness/2,frame_height,frame_thickness-2]) translate([frame_width-frame_thickness/2,frame_height,frame_thickness-2])
translate([0,-Y_rod_height+smooth_rod_margin,0]) translate([0,-Y_rod_height+smooth_rod_margin,0])
@ -363,7 +367,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
end_stop_holder(with_extra_parts=true, exploded=(exploded_distance!=0)); end_stop_holder(with_extra_parts=true, exploded=(exploded_distance!=0));
} }
// this seems to reduce working area of Y axis //this seems to reduce working area of Y axis
if(false) { if(false) {
echo("Non-Plastic Parts, 1, Micro Switch on no motor frame for Y axis"); echo("Non-Plastic Parts, 1, Micro Switch on no motor frame for Y axis");
translate([frame_width-frame_thickness/2+10.8/2-0.5,frame_height-19.8-2,frame_thickness]) translate([frame_width-frame_thickness/2+10.8/2-0.5,frame_height-19.8-2,frame_thickness])
@ -372,6 +376,15 @@ module frame_extras(with_motor=1, exploded_distance=0) {
rotate([0, 0, 90]) rotate([0, 0, 90])
micro_switch(with_extra_parts=true, exploded=(exploded_distance!=0)); micro_switch(with_extra_parts=true, exploded=(exploded_distance!=0));
} }
//Carlosgs design of X end_stop_holder
if(true) {
translate([X_smooth_rods_sep_projected,-smooth_rod_margin,0])
translate([15+0.5*exploded_distance, -8, frame_thickness])
rotate([180,180,-90])
end_stop_holder(with_extra_parts=true, exploded=(exploded_distance!=0));
}
} }
} }