1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-08-31 00:39:55 +02:00

Z bar clamps made both the same.

Y bearing mounts made all the same and switch tab made smaller.
Manual updated to reflect those changes.
Mod to ATX short bracket to make bridges work.
Base of support structure on dust filter made thicker.
JHeadMK5 made default on sturdy and mendel variants.
Melzi and ATX PSU made default on strudt variant as well.
Fixed case error in use of ATX_PSU_brackets.
Fixed missing screw length for resistors on MDF.
This commit is contained in:
Chris Palmer
2012-12-09 12:34:00 +00:00
parent 4b51cb40b8
commit e9b6ff5101
129 changed files with 154097 additions and 191202 deletions

View File

@@ -102,7 +102,7 @@ module atx_short_bracket_stl() {
cube([100, 100, sb_height]);
translate([sb_corner_offset + sb_wall, -sb_frame_offset + sb_frame_thickness, sb_wall]) // Recess for screw
cube([sb_frame_width - 2 * wall, sb_frame_offset, sb_height - 2 * wall]);
cube([sb_frame_width - 2 * sb_wall, sb_frame_offset, sb_height - 2 * sb_wall]);
if(sb_frame_screw)
translate([sb_corner_offset + sb_frame_width / 2, -sb_frame_offset + sb_frame_thickness, sb_height / 2])
@@ -115,7 +115,7 @@ module atx_short_bracket_stl() {
translate([-sb_base_offset + sb_base_thickness, sb_corner_offset + sb_wall, sb_wall]) // Recess for screw
cube([sb_base_offset, sb_base_width - 2 * sb_wall, sb_height - 2 * sb_wall - layer_height]);
translate([-sb_base_offset + sb_base_thickness, sb_corner_offset + sb_base_width / 2, sb_height / 2])
translate([-sb_base_offset + sb_base_thickness, sb_corner_offset + sb_base_width / 2, sb_height / 2 - layer_height])
rotate([90, 0, 90])
if(frame_nut_traps)
nut_trap(screw_clearance_radius(base_screw), nut_radius(base_nut), nut_trap_depth(base_nut), true);
@@ -128,7 +128,7 @@ module atx_screw_positions(psu, base = false) {
if(base)
translate([-psu_length(psu) / 2 - sb_base_offset + sb_base_thickness - (base_nut_traps ? nut_trap_depth(base_nut) : 0),
psu_width(psu) / 2 - sb_corner_offset - sb_base_width / 2,
psu_height(psu) + sb_wall - sb_height / 2 + sb_clearance])
psu_height(psu) + sb_wall - sb_height / 2 + layer_height + sb_clearance])
rotate([90, 0, 90])
child();
@@ -219,21 +219,24 @@ module atx_brackets_stl() {
atx_short_bracket_stl();
}
module pair() {
atx_brackets_stl();
translate([-offset * 2 + 8, 2, 0])
module atx_brackets_x2_stl() {
atx_brackets_stl();
translate([-offset * 2 + 8, 2, 0])
rotate([0, 0, 180])
color("blue") atx_brackets_stl();
}
module atx_brackets_x4_stl() {
atx_brackets_x2_stl();
translate([0, 41, 0])
atx_brackets_x2_stl();
}
if(1)
atx_bracket_assembly(true);
else
if(0) {
pair();
translate([0, 41, 0])
pair();
}
if(0)
atx_brackets_x4_stl();
else
atx_brackets_stl();

View File

@@ -39,7 +39,7 @@ module bar_clamp_holes(d, yaxis) {
}
module bar_clamp(d, h, w, switch = false, yaxis = false) {
stl(str(yaxis ? "y_bar_clamp" : "z_bar_clamp", switch ? "_switch" : ""));
stl(str(yaxis ? "y_bar_clamp" : "z_bar_clamp", (switch && yaxis) ? "_switch" : ""));
nutty = yaxis ? base_nut_traps : frame_nut_traps;
mount_screw = yaxis ? base_screw : frame_screw;
nut_depth = nut_trap_depth(screw_nut(mount_screw));
@@ -108,7 +108,7 @@ module bar_clamp(d, h, w, switch = false, yaxis = false) {
else
tearslot( h = 100, r = screw_clearance_radius(frame_screw), center = true, w = 2); // mounting screw
if(switch && !yaxis)
if(!yaxis)
translate([-w / 2 - axis_end_clearance,
outer_rad + microswitch_thickness() / 2 - rail_offset,
h - outer_rad + microswitch_first_hole_x_offset()])

View File

@@ -49,6 +49,11 @@ M4_clearance_radius = 2.2;
M4_nut_radius = 8.2 / 2;
M4_nut_trap_depth = 4;
M5_tap_radius = 4.2 / 2;
M5_clearance_radius = 5.3 / 2;
M5_nut_radius = 9.2 / 2;
M5_nut_depth = 4;
M6_tap_radius = 5 / 2;
M6_clearance_radius = 6.4 / 2;
M6_nut_radius = 11.6 / 2;

View File

@@ -1 +1 @@
include <sturdy_config.scad>
include <dibond_config.scad>

View File

@@ -17,7 +17,7 @@ X_motor = NEMA17;
Y_motor = NEMA17;
Z_motor = NEMA17;
hot_end = JHeadMk4;
hot_end = JHeadMk5;
X_travel = 200;
Y_travel = 200;

View File

@@ -17,7 +17,7 @@ X_motor = NEMA17;
Y_motor = NEMA17;
Z_motor = NEMA17;
hot_end = JHeadMk4;
hot_end = JHeadMk5;
X_travel = 214;
Y_travel = 214;
@@ -38,10 +38,10 @@ frame_corners = 0;
frame_nuts = false;
case_fan = fan80x38;
//psu = ALPINE500;
psu = KY240W;
//controller = Melzi;
controller = Sanguinololu;
psu = ALPINE500;
//psu = KY240W;
controller = Melzi;
//controller = Sanguinololu;
spool = spool_300x85;
bottom_limit_switch = false;
top_limit_switch = true;

View File

@@ -22,7 +22,7 @@ use <fan-guard.scad>
use <wade.scad>
use <cable_clip.scad>
use <pcb_spacer.scad>
use <ATX_psu_brackets.scad>
use <ATX_PSU_brackets.scad>
use <spool_holder.scad>
use <tube_cap.scad>
use <d-motor_bracket.scad>
@@ -318,7 +318,7 @@ module y_carriage_assembly(solid = true) {
translate([Y_bar_spacing / 2, 0, Y_bar_height])
rotate([0,180,0])
y_bearing_assembly(Y_bearing_holder_height, true);
y_bearing_assembly(Y_bearing_holder_height);
for(end = [-1, 1])
translate([-Y_bar_spacing / 2, end * (Y_carriage_depth / 2 - Y_bearing_inset), Y_bar_height])

View File

@@ -133,8 +133,8 @@ module dust_filter_stl() {
rotate([-90, 0, 90])
cylinder(r = feed_tube_tape_rad + wall, h = wall + feed_tube_tape, center = true);
translate([-feed_tube_tape / 2, - wall / 2, - filament_z])
cube([feed_tube_tape, wall, 1]);
translate([-feed_tube_tape / 2, - wall, - filament_z])
cube([feed_tube_tape, 2 * wall, 1]);
}
}
translate([box_x + sponge_wall, box_y + sponge_wall, sponge_wall])

View File

@@ -187,7 +187,7 @@ module al_clad_resistor_assembly(type, value) {
al_clad_resistor_hole_positions(type) group() {
if(sheet_is_soft(frame))
screw(No2_screw);
screw(No2_screw,13);
else
screw(M2p5_pan_screw, 12);

View File

@@ -42,13 +42,13 @@ module tab() {
nut_offset = nutty ? -bearing_clamp_tab / 2 + nut_radius(nut) + 0.5 : 0;
module bearing_mount(bearing, height, endstop) {
module bearing_mount(bearing, height) {
endstop_w = bar_clamp_switch_x_offset() + microswitch_thickness() / 2 - bearing_holder_width(bearing) / 2;
endstop_d = 3;
endstop_h = height - bar_clamp_switch_z_offset() + microswitch_thickness() / 4;
endstop_h = 3; //height - bar_clamp_switch_z_offset() + microswitch_thickness() / 4;
stl(str("y_bearing_mount", endstop ? "_switch" : ""));
stl("y_bearing_mount");
color(y_bearing_mount_color) union() {
bearing_holder(bearing, height);
for(end = [-1, 1])
@@ -60,11 +60,17 @@ module bearing_mount(bearing, height, endstop) {
translate([end * (tab_length / 2 + nut_offset), 0, bearing_clamp_tab_height + nut_trap_depth(nut)])
nut_trap(screw_clearance_radius, nut_radius, nut_trap_depth(nut));
}
if(endstop)
translate([-(bearing_holder_width(bearing) / 2 + endstop_w / 2),
hull() {
translate([-(bearing_holder_width(bearing) / 2 + endstop_w / 2 - eta),
-(bearing_holder_length(bearing) / 2 - endstop_d / 2),
endstop_h / 2 - height])
-bar_clamp_switch_z_offset()])
cube([endstop_w, endstop_d, endstop_h], center = true);
translate([-(bearing_holder_width(bearing) / 2 - eta),
-(bearing_holder_length(bearing) / 2 - endstop_d / 2),
- height + 3])
cube([eta, endstop_d, eta], center = true);
}
}
}
@@ -74,11 +80,9 @@ module bearing_mount_holes()
-end * (bearing_holder_length(Y_bearings) - bearing_clamp_tab ) / 2, 0])
child();
module y_bearing_assembly(height, endstop = false)
module y_bearing_assembly(height)
{
//assembly("y_bearing_assembly");
color(y_bearing_mount_color) render() bearing_mount(Y_bearings, height, endstop);
color(y_bearing_mount_color) render() bearing_mount(Y_bearings, height);
rotate([0,0,90]) {
linear_bearing(Y_bearings);
@@ -99,21 +103,18 @@ module y_bearing_assembly(height, endstop = false)
rotate([180, 0, 0])
screw_and_washer(cap_screw, 16);
}
//end("y_bearing_assembly");
}
module y_bearing_mount_stl() translate([0,0, Y_bearing_holder_height]) bearing_mount(Y_bearings, Y_bearing_holder_height, false);
module y_bearing_mount_switch_stl() translate([0,0, Y_bearing_holder_height]) bearing_mount(Y_bearings, Y_bearing_holder_height, true);
module y_bearing_mount_stl() translate([0,0, Y_bearing_holder_height]) bearing_mount(Y_bearings, Y_bearing_holder_height);
module y_bearing_mounts_stl()
{
y_bearing_mount_stl();
translate([ bearing_mount_width(Y_bearings) - tab_length + 2, 0, 0]) y_bearing_mount_stl();
translate([-(bearing_mount_width(Y_bearings) - tab_length + 2), 0, 0]) y_bearing_mount_switch_stl();
translate([-(bearing_mount_width(Y_bearings) - tab_length + 2), 0, 0]) y_bearing_mount_stl();
}
if(1)
y_bearing_assembly(Y_bearing_holder_height, true);
y_bearing_assembly(Y_bearing_holder_height);
else
y_bearing_mounts_stl();