Belt holding teeth refactor config update
[clinton/prusa3.git] / box_frame / configuration.scad.dist
index 5cbe76e..9a2142f 100644 (file)
@@ -35,24 +35,37 @@ belt_tooth_ratio = 0.5;
 //belt_tooth_distance = 2.032;
 //belt_tooth_ratio = 0.64;
 
-//GT2
+//GT2 there is bunch of GT2 belts with different tooth-to-tooth distance
+//adjust to your needs
 //belt_tooth_distance = 2;
 //belt_tooth_ratio = 0.5;
 
+belt_thickness = 1.75;
+
 // Choose bearing/bushing configuration ***************************************
 // conf_b_* are in inc/conf_bushing.scad
 
 bushing_xy = conf_b_lm8uu;
 bushing_z = conf_b_lm8uu;
+// for longer bearings use one shorter in x-carriage to make place for belt attachment
+// by default use same as xy
+bushing_carriage = bushing_xy;
 
 // Select idler bearing size **************************************************
-
-// 0 = 608 [standard skate bearings]
-// 1 = 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
-
-idler_bearing = 0;
+// [outer_diameter, width, inner_diameter, uses_guide]
+// 608 [standard skate bearings] with bearing guide
+bearing_608 = [22, 7, 8, 1];
+//608 bearings with fender washers
+bearing_608_washers = [22, 10, 8, 0];
+// 624 [roughly same diameter as pulley, makes belt parallel so its prettier]
+bearing_624 = [16, 5, 4, 1];
+// two 624 - for use without bearing guides. My favourite [ax]
+bearing_624_double = [16, 10, 4, 0];
+
+idler_bearing = bearing_624_double;
 
 // Fillets ********************************************************************
+// mostly cosmetic, except z axis.
 // 0 = no fillets
 // 1 = fillet
 
@@ -61,16 +74,15 @@ use_fillets = 1;
 //set to 0 for single plate (affects z axis)
 i_am_box = 1;
 
-//set to 1 to move holes for Z steppers 5mm down to be compatible with jo's dxf
-//increases leverage on part.
-i_want_to_use_single_plate_dxf_and_make_my_z_weaker = 0;
+//if you do your own plate and can move bottom Z screws 5mm up set this to 0 to
+//get stronger motor mount. Only for i_am_box = 0
+i_want_to_use_single_plate_dxf_and_make_my_z_weaker = 1;
 
 //radius of long threaded rod on Y frame
 //Use 5.4 for M10 or 4.4 for M8
-
 y_threaded_rod_long_r = 5.4;
 
-// Thickness of the XZ plate board
+// Thickness of the XZ plate board. Leave at 12 for single plate
 board_thickness = 12;
 
 // END of custom settings
@@ -83,13 +95,7 @@ xaxis_rod_distance = 45;
 //calculated from settings
 single_wall_width = width_over_thickness * layer_height;
 
-idler_size = (idler_bearing == 0) ? 22 : 13;
-
-//use 4.5 for 608, 2.5 for 624
-idler_size_inner_r = (idler_bearing == 0) ? 4.5 : 2.5;
-
-idler_width = (idler_bearing == 0) ? 9 : 5;
-
+idler_width = (idler_bearing[1] > 7 ? idler_bearing[1] : 7) + 2.5 * idler_bearing[3] ;
 
 //deltas are used to enlarge parts for bigger bearings 
 xy_delta = ((bushing_xy[1] <= 7.7) ? 0 : bushing_xy[1] - 7.7) * 0.9;