From ce100499e31ffd363767ae6cd89b9e56e4202ad7 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Saura Date: Wed, 4 Feb 2015 13:56:42 +0000 Subject: [PATCH] Fixed tolerances --- Source_files/Cycl_Z_carriage.scad | 2 +- Source_files/configs/Default_config.h | 3 ++- Source_files/configs/M4_XT_config.h | 3 ++- Source_files/libs/standard_parts.scad | 6 +++--- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Source_files/Cycl_Z_carriage.scad b/Source_files/Cycl_Z_carriage.scad index 9a3dd5d..b67428c 100644 --- a/Source_files/Cycl_Z_carriage.scad +++ b/Source_files/Cycl_Z_carriage.scad @@ -121,7 +121,7 @@ module Cyclone_Z_carriage(z_thread_rod_length=120, with_extra_parts=false, explo // Bearing holes translate([0,axis_distance,0]) { - bearingHole(depth=Z_bearing_width, thickness=partThickness, model=Z_threaded_rodBearingModel); + bearingHole(depth=Z_bearing_width, thickness=partThickness, model=Z_threaded_rodBearingModel, tolerance=Z_radialBearingHole_tolerance); hull() { cylinder(r=(axes_Zsmooth_rodD*2)/2,h=10*wall_thickness,center=true); diff --git a/Source_files/configs/Default_config.h b/Source_files/configs/Default_config.h index 6abaa05..e40f146 100644 --- a/Source_files/configs/Default_config.h +++ b/Source_files/configs/Default_config.h @@ -181,7 +181,8 @@ PCB_holder_tolerance = 1; axes_Xsmooth_separation_tolerance = 0.5; X_threaded_rod_Tolerance = 0.5; - Z_linearBearingHole_tolerance = 0.5; + Z_linearBearingHole_tolerance = 0.25; + Z_radialBearingHole_tolerance = 0.25; LinearBearingPressureFitTolerance = 0.4; screwHoleTolerance = 0.4; diff --git a/Source_files/configs/M4_XT_config.h b/Source_files/configs/M4_XT_config.h index b863995..c50f7f9 100644 --- a/Source_files/configs/M4_XT_config.h +++ b/Source_files/configs/M4_XT_config.h @@ -181,6 +181,7 @@ axes_Xsmooth_separation_tolerance = 0.5; X_threaded_rod_Tolerance = 0.5; Z_linearBearingHole_tolerance = 0.1; + Z_radialBearingHole_tolerance = 0.1; LinearBearingPressureFitTolerance = 0.1; screwHoleTolerance = 0.04; @@ -234,4 +235,4 @@ //Render_rodHolder = true; - \ No newline at end of file + diff --git a/Source_files/libs/standard_parts.scad b/Source_files/libs/standard_parts.scad index 9fe82b6..1b52790 100644 --- a/Source_files/libs/standard_parts.scad +++ b/Source_files/libs/standard_parts.scad @@ -154,7 +154,7 @@ module screw_single(size=3,length=10,tolerance=0, renderPart=false, echoPart=fal use include -module stepperMotor_mount(height, tolerance=0.15, slide_distance=6, sideLen=42.20, slideOut=false, renderPart=false) { +module stepperMotor_mount(height, tolerance=0.25, slide_distance=6, sideLen=42.20, slideOut=false, renderPart=false) { render() union() { linear_extrude(height=height) offset(delta = tolerance, join_type = "round") union() { stepper_motor_mount(nema_standard=17, slide_distance=slide_distance, mochup=false); @@ -239,8 +239,8 @@ nut_separation = METRIC_NUT_THICKNESS[nutSize]/2+tolerance; } use -module bearingHole(depth=3, thickness=10, model=608, tolerance=1) { - bearingD = bearingOuterDiameter(model)+tolerance; +module bearingHole(depth=3, thickness=10, model=608, tolerance=0.4) { + bearingD = bearingOuterDiameter(model)+2*tolerance; union() { cylinder(r=bearingD/2,h=depth); cylinder(r1=bearingD/2+0.5,r2=bearingD/2,h=0.5);