diff --git a/images/888_2018.png b/images/888_2018.png deleted file mode 100644 index b9488e4d..00000000 Binary files a/images/888_2018.png and /dev/null differ diff --git a/images/888_3011.png b/images/888_3011.png deleted file mode 100644 index 07eb0fd2..00000000 Binary files a/images/888_3011.png and /dev/null differ diff --git a/images/888_3012.png b/images/888_3012.png deleted file mode 100644 index c4a21813..00000000 Binary files a/images/888_3012.png and /dev/null differ diff --git a/images/888_3013.png b/images/888_3013.png deleted file mode 100644 index cc254bd5..00000000 Binary files a/images/888_3013.png and /dev/null differ diff --git a/images/888_3014.png b/images/888_3014.png deleted file mode 100644 index 7ab36180..00000000 Binary files a/images/888_3014.png and /dev/null differ diff --git a/images/print_plate_1001.png b/images/print_plate_1001.png deleted file mode 100644 index ef8010bd..00000000 Binary files a/images/print_plate_1001.png and /dev/null differ diff --git a/images/print_plate_1027.png b/images/print_plate_1027.png deleted file mode 100644 index 526e696b..00000000 Binary files a/images/print_plate_1027.png and /dev/null differ diff --git a/images/print_plate_1027A.png b/images/print_plate_1027A.png deleted file mode 100644 index 53e7e297..00000000 Binary files a/images/print_plate_1027A.png and /dev/null differ diff --git a/images/print_plate_1027AB.png b/images/print_plate_1027AB.png deleted file mode 100644 index 241cb9b4..00000000 Binary files a/images/print_plate_1027AB.png and /dev/null differ diff --git a/images/print_plate_1027B.png b/images/print_plate_1027B.png deleted file mode 100644 index 53d1c9b7..00000000 Binary files a/images/print_plate_1027B.png and /dev/null differ diff --git a/images/print_plate_1027C.png b/images/print_plate_1027C.png deleted file mode 100644 index b83c6213..00000000 Binary files a/images/print_plate_1027C.png and /dev/null differ diff --git a/images/print_plate_1027CD.png b/images/print_plate_1027CD.png deleted file mode 100644 index 2d519332..00000000 Binary files a/images/print_plate_1027CD.png and /dev/null differ diff --git a/images/print_plate_1027D.png b/images/print_plate_1027D.png deleted file mode 100644 index 41389b25..00000000 Binary files a/images/print_plate_1027D.png and /dev/null differ diff --git a/images/print_plate_3011A.png b/images/print_plate_3011A.png deleted file mode 100644 index 858d704b..00000000 Binary files a/images/print_plate_3011A.png and /dev/null differ diff --git a/images/print_plate_3011B.png b/images/print_plate_3011B.png deleted file mode 100644 index 6ed69d9a..00000000 Binary files a/images/print_plate_3011B.png and /dev/null differ diff --git a/images/print_plate_3011C.png b/images/print_plate_3011C.png deleted file mode 100644 index 62533a63..00000000 Binary files a/images/print_plate_3011C.png and /dev/null differ diff --git a/images/print_plate_3012A.png b/images/print_plate_3012A.png deleted file mode 100644 index d9530598..00000000 Binary files a/images/print_plate_3012A.png and /dev/null differ diff --git a/images/print_plate_3012B.png b/images/print_plate_3012B.png deleted file mode 100644 index b03e69b2..00000000 Binary files a/images/print_plate_3012B.png and /dev/null differ diff --git a/images/print_plate_3012C.png b/images/print_plate_3012C.png deleted file mode 100644 index 08928eb0..00000000 Binary files a/images/print_plate_3012C.png and /dev/null differ diff --git a/images/print_plate_3013A.png b/images/print_plate_3013A.png deleted file mode 100644 index 448e7e6e..00000000 Binary files a/images/print_plate_3013A.png and /dev/null differ diff --git a/images/print_plate_3013B.png b/images/print_plate_3013B.png deleted file mode 100644 index 92f27433..00000000 Binary files a/images/print_plate_3013B.png and /dev/null differ diff --git a/src/4printing/print_plate_1001.scad b/src/4printing/print_plate_1001.scad deleted file mode 100644 index d15a8eda..00000000 --- a/src/4printing/print_plate_1001.scad +++ /dev/null @@ -1,6 +0,0 @@ -include <../../parameters.scad> - -use <../888_1001.scad> - - rotate([90,0,45]) - 888_1001(); diff --git a/src/4printing/print_plate_3011A.scad b/src/4printing/print_plate_3011A.scad deleted file mode 100644 index 3daa4745..00000000 --- a/src/4printing/print_plate_3011A.scad +++ /dev/null @@ -1,10 +0,0 @@ -include <../../parameters.scad> -use <../888_3011.scad> - -draft = false; -888_3011_A(draft); - - - - - diff --git a/src/4printing/print_plate_3011B.scad b/src/4printing/print_plate_3011B.scad deleted file mode 100644 index 0fac0580..00000000 --- a/src/4printing/print_plate_3011B.scad +++ /dev/null @@ -1,10 +0,0 @@ -include <../../parameters.scad> -use <../888_3011.scad> - -draft = false; -888_3011_B(draft); - - - - - diff --git a/src/4printing/print_plate_3011C.scad b/src/4printing/print_plate_3011C.scad deleted file mode 100644 index 9b166ad6..00000000 --- a/src/4printing/print_plate_3011C.scad +++ /dev/null @@ -1,11 +0,0 @@ -include <../../parameters.scad> -use <../888_3011.scad> - -draft = false; -mirror([1,0,0]) -888_3011_B(draft); - - - - - diff --git a/src/4printing/print_plate_3012A.scad b/src/4printing/print_plate_3012A.scad deleted file mode 100644 index 1e3b0771..00000000 --- a/src/4printing/print_plate_3012A.scad +++ /dev/null @@ -1,10 +0,0 @@ -include <../../parameters.scad> -use <../888_3012.scad> - -draft = false; -888_3012_A(draft); - - - - - diff --git a/src/4printing/print_plate_3012B.scad b/src/4printing/print_plate_3012B.scad deleted file mode 100644 index 7ab0a2da..00000000 --- a/src/4printing/print_plate_3012B.scad +++ /dev/null @@ -1,10 +0,0 @@ -include <../../parameters.scad> -use <../888_3015.scad> - -draft = false; -888_3015_A(draft); - - - - - diff --git a/src/4printing/print_plate_3012C.scad b/src/4printing/print_plate_3012C.scad deleted file mode 100644 index 9d72b4b1..00000000 --- a/src/4printing/print_plate_3012C.scad +++ /dev/null @@ -1,11 +0,0 @@ -include <../../parameters.scad> -use <../888_3015.scad> - -draft = false; -rotate([90,0,0]) -888_3015_B(draft); - - - - - diff --git a/src/4printing/print_plate_3013A.scad b/src/4printing/print_plate_3013A.scad deleted file mode 100644 index ce730c75..00000000 --- a/src/4printing/print_plate_3013A.scad +++ /dev/null @@ -1,10 +0,0 @@ -include <../../parameters.scad> -use <../888_3013.scad> - -draft = false; -888_3013_A(draft); - - - - - diff --git a/src/4printing/print_plate_3013B.scad b/src/4printing/print_plate_3013B.scad deleted file mode 100644 index ccddb184..00000000 --- a/src/4printing/print_plate_3013B.scad +++ /dev/null @@ -1,10 +0,0 @@ -include <../../parameters.scad> -use <../888_3013.scad> - -draft = false; -888_3013_B(draft); - - - - - diff --git a/src/4printing/print_plate_888_2018.scad b/src/4printing/print_plate_888_2018.scad deleted file mode 100644 index 4c2d9909..00000000 --- a/src/4printing/print_plate_888_2018.scad +++ /dev/null @@ -1,5 +0,0 @@ -use <../888_2018.scad> - - -translate([0, -1, 0]) rotate([90, 0, 0]) 888_2018(); -translate([0, 1, 0]) rotate([-90, 0, 0]) 888_2018(); diff --git a/src/888_1001.scad b/src/888_1001.scad deleted file mode 100644 index d06ca0d4..00000000 --- a/src/888_1001.scad +++ /dev/null @@ -1,47 +0,0 @@ -module 888_1001(draft){ - - - width =width_of_accumulator + accumulator_holder_width; - depth = accumulator_holder_width; - height = height_of_accumulator - sink_of_accumulator + accumulator_holder_thickness; - - width_cube = accumulator_holder_thickness; //šířka kostky ve které je otvor na šroub - depth_cube = accumulator_holder_width; - height_cube = accumulator_holder_thickness; //výška kostky ve které je otvor na šroub - - - union(){ - - difference (){ - translate([-(accumulator_holder_width/2),- accumulator_holder_width/2,0]) - cube ([width,depth,height]); - translate([- global_clearance,height_of_accumulator/2 + global_clearance,-2 - sink_of_accumulator - depth_of_accumulator]) - rotate([90,0,0]) - cube([width_of_accumulator + global_clearance*2, depth_of_accumulator+3 + depth_of_accumulator, height_of_accumulator+1]); - } - - difference(){ - translate([-accumulator_holder_thickness - accumulator_holder_width/2,-accumulator_holder_width/2,0]) - cube([accumulator_holder_thickness, accumulator_holder_width, accumulator_holder_thickness]); - //šroub - translate([- accumulator_holder_width/2 - accumulator_holder_thickness/2,0,-10]) - cylinder(h = 30, r = M3_screw_diameter/2, $fn = 20); - } - - difference(){ - translate([width_of_accumulator + accumulator_holder_width/2,-accumulator_holder_width/2,0]) - cube([accumulator_holder_thickness, accumulator_holder_width, accumulator_holder_thickness]); - //šroub - translate([width_of_accumulator + accumulator_holder_width/2 + accumulator_holder_thickness/2,0,-10]) - cylinder(h = 30, r = M3_screw_diameter/2, $fn = 20); - } - //final union - } -//final module -} - - -888_1001(); - -use <./lib/naca4.scad> -include <../parameters.scad> diff --git a/src/888_2018.scad b/src/888_2018.scad deleted file mode 100644 index 95855023..00000000 --- a/src/888_2018.scad +++ /dev/null @@ -1,75 +0,0 @@ -// dil pro pripevneni podvozkove trubky k podlozce -include <../parameters.scad> -use - - - -module tube_part(l = 20, wall = 6, wall_below = 5, screw_length = 15){ - screw_l = screw_length - M3_nut_height*2; - space = 2; - translate([0, 0, +main_tube_outer_diameter/2 + wall_below]) - rotate([90, 0, 0]) - difference(){ - hull(){ - cylinder(d = main_tube_outer_diameter + 2*wall, h = l, center = true, $fn = 80); - translate([-main_tube_outer_diameter/2 - wall, -main_tube_outer_diameter/2 - wall_below, -l/2]) - cube([main_tube_outer_diameter + 2*wall, 0.1,l]); - } - cylinder(d = main_tube_outer_diameter, h = l + global_clearance, center = true, $fn = 80); - translate([0, -250 - main_tube_outer_diameter/2 -wall_below, 0]) cube(500, center = true); - - translate([-space/2, 0, -l/2]) - cube([space, 20, l]); - - rotate([0, 90, 0]) - translate([0, main_tube_outer_diameter/2 + 2, 0]){ - - cylinder(d = M3_screw_diameter, h = 100, center = true, $fn = 80); - translate([0, 0, screw_l/2]) cylinder(d = M3_nut_diameter, h = 100); - translate([0, 0, -screw_l/2-100]) cylinder(d = M3_nut_diameter, h = 100, $fn = 6); - } - } -} - -module 888_2018(){ - - - thickness_above = 2018_thickness_above_pipe; // tloustka materialu mezi tyci a podlozkou - - width = chassis_suspension_basewidth + kstm_flange_length(10) + 5; - length = main_tube_outer_diameter + 10; - height = main_tube_outer_diameter + 2018_thickness_above_pipe + 5; - - //translate([0, -chassis_top_bearing_position_y, 0]) - - difference(){ - union(){ - translate([-main_tube_outer_diameter/2-6, -10, 0]) - cube([main_tube_outer_diameter+12, 20, 2018_thickness_above_pipe + M3_nut_height]); - - tube_part(l = 20, wall = 6, wall_below = thickness_above); - - } - translate([0, 0, thickness_above + main_tube_outer_diameter/2]) - rotate([90, 0, 0]) - cylinder(d = main_tube_outer_diameter, h = 300, center = true); - - for (j=[1, -1]) - translate([j*main_tube_outer_diameter/2, 0, 0]){ - cylinder(d = M3_screw_diameter, h = 3+5.5); - //translate([0, 0, 2+M3_nut_height+0.2]) - // cylinder(d = M3_screw_diameter, h = 3.5); - translate([0, 0, 2]) - rotate(30) - cylinder(d = M3_nut_diameter, h = M3_nut_height, $fn = 6); - rotate(-90*j) - translate([-M3_nut_diameter/2, 0, 2]) - cube([M3_nut_diameter, 100, M3_nut_height]); - } - } -} - - -888_2018(); - -//tube_part(); diff --git a/src/888_3011.scad b/src/888_3011.scad deleted file mode 100644 index 53252343..00000000 --- a/src/888_3011.scad +++ /dev/null @@ -1,126 +0,0 @@ -module 888_3011_A (draft = true){ - -width = 45; -depth = 70; -height = basic_screw_length*2 + M6_nut_height; //původně byla výška 20 -//height = 20; - -kloub_height = height/3; -kloub_diameter = depth/3; - - union(){ - //základní kostka - difference(){ - cube ([width, depth, height]); - translate([width/2,depth/4,-global_clearance/2]) - union(){ - cylinder (h = height + global_clearance, r = M6_screw_diameter/2, $fn = 20); - translate([0,0,height - M6_nut_height]) - cylinder (h = M6_nut_height + global_clearance + 10, r = M6_nut_diameter/2, $fn = 6); - } - } - //kloub - difference(){ - translate([width/4,depth - kloub_height - kloub_diameter/2,height]) - hull(){ - translate([0, -5,0]) - cube([width/2, kloub_height + kloub_diameter/2 + 5, 1]); - translate([0,kloub_diameter/4 + kloub_height/2,kloub_height*2]) - rotate([0,90,0]) - cylinder(h = width/2, r = kloub_height/2 + kloub_diameter/4, $fn = 50); - } - translate([width/4 - global_clearance/2,depth - kloub_height/2 - kloub_diameter/4,height + kloub_height*2]) - rotate([0,90,0]) - cylinder(h = width + global_clearance, r = M4_screw_diameter/2, $fn = 20); - } - - } - - -} - -module 888_3011_B(draft){ - -width = 45; -depth = 70; -height = 20; -//height = basic_screw_length*2 + M6_nut_height; -kloub_height = height/3; -kloub_diameter = depth/3; -tube_height = 50; -angle = 30; - - - - difference(){ - color([0,0.5,0]) - union(){ - cube([width, depth - kloub_diameter/4 - kloub_height/2, kloub_height + kloub_diameter/2]); - translate([0,depth - kloub_diameter/4 - kloub_height/2,(kloub_height + kloub_diameter/2)/2]) - rotate([0,90,0]) - cylinder(h = width, r = kloub_height/2 + kloub_diameter/4, $fn = 50); - } - - translate([width/4 - global_clearance/2,-global_clearance/2 + depth - depth/3,-global_clearance/2]) - cube([width/2 + global_clearance, depth/3 + global_clearance, height + global_clearance]); - - // dira + zapusteni pro sroub skrz kloub - translate([-global_clearance/2,depth - kloub_diameter/4 - kloub_height/2,kloub_height/2 + kloub_diameter/4]) - rotate([0,90,0]) - cylinder (h = width + global_clearance, r = M4_screw_diameter/2, $fn = 20); - translate([-10+width/8, depth - kloub_diameter/4 - kloub_height/2, kloub_height/2 + kloub_diameter/4]) - rotate([0,90,0]) - cylinder (h = 10, r = M4_nut_diameter/2, $fn = 6); - - translate([width-width/8, depth - kloub_diameter/4 - kloub_height/2, kloub_height/2 + kloub_diameter/4]) - rotate([0,90,0]) - cylinder (h = 10, r = M4_nut_diameter/2, $fn = 6); - - translate([0,0,10]) - rotate([0,angle,0]) - translate([width/2,(depth - kloub_diameter/4 - kloub_height/2)/3,kloub_height + kloub_diameter/2 - tube_height/3]) - cylinder(h = tube_height, d = main_tube_outer_diameter, $fn = 200); - } - - translate([0,0,10]) - rotate([0,angle,0]) - translate([width/2,(depth - kloub_diameter/4 - kloub_height/2)/3,kloub_height + kloub_diameter/2 - tube_height/3]) - difference(){ - cylinder(h = tube_height, r = main_tube_outer_diameter*0.8, $fn = 200); - translate([0,0,-global_clearance/2+10]) - cylinder(h = tube_height + global_clearance, d = main_tube_outer_diameter, $fn = 50); - - // dira + zapusteni pro sroub skrz trubku - translate([0, main_tube_outer_diameter, tube_height/2+10]) - rotate([90,0,0]) - cylinder(h = main_tube_outer_diameter*2, d = M3_screw_diameter, $fn = 200); - translate([0, 0,tube_height/2+10]) - rotate([-90,0,0]) - translate([0, 0, main_tube_outer_diameter*0.8 - M3_nut_height]) - cylinder(h = main_tube_outer_diameter*2, d = M3_nut_diameter, $fn = 6); - translate([0, 0,tube_height/2+10]) - rotate([90,0,0]) - translate([0, 0, main_tube_outer_diameter*0.8 - M3_nut_height]) - cylinder(h = main_tube_outer_diameter*2, d = M3_nut_diameter, $fn = 6); - - // precnivajici casti casti - rotate([0,-angle, 0]) - translate([-100, -100, -20]) - cube([200, 200, 20]); - } -} - -translate([0,0,- 5*2 - 4.9]) -//translate([0,0,-20]) -888_3011_A(); -translate([0,0,1]) -888_3011_B(); - -translate([0,0,-40]) -mirror ([0,0,1]) -888_3011_A(); -translate([0,0,-40 - 2*5 - 4.9]) -mirror([0,0,1]) -888_3011_B(); - -include <../parameters.scad> \ No newline at end of file diff --git a/src/888_3012.scad b/src/888_3012.scad deleted file mode 100644 index 49e550ce..00000000 --- a/src/888_3012.scad +++ /dev/null @@ -1,151 +0,0 @@ -module 888_3012_A (draft = true){ - -width = 90; -depth = 45; -height = 10; -angle = 30; -tube_height = 50; - - union(){ - //základní kostka - difference(){ - translate([-width/2, -depth/2, 0]){ - cube ([width, depth, height]); - } - translate([width/2 - 5, 0 ,-global_clearance/2]) - union(){ - cylinder (h = height + global_clearance, r = M3_screw_diameter/2, $fn = 20); - translate([0,0,height - M3_nut_height]) - rotate([0, 0, 30]) - cylinder (h = M3_nut_height + global_clearance + 10, r = M3_nut_diameter/2, $fn = 6); - } - translate([-width/2 + 5,0 ,-global_clearance/2]) - union(){ - cylinder (h = height + global_clearance, r = M3_screw_diameter/2, $fn = 20); - translate([0,0,height - M3_nut_height]) - rotate([0, 0, 30]) - cylinder (h = M3_nut_height + global_clearance + 10, r = M3_nut_diameter/2, $fn = 6); - } - } - - difference(){ - union(){ - - translate([main_tube_outer_diameter/2.2, 0,10]) - rotate([0,angle,0]) - difference(){ - translate([0, 0, -20]) - cylinder(h = tube_height + 20, r1 = main_tube_outer_diameter*0.8, r2 = main_tube_outer_diameter*0.8, $fn = 50); - translate([0,0,-global_clearance/2+14]) - cylinder(h = tube_height + global_clearance, d = main_tube_outer_diameter, $fn = 50); - translate([0, main_tube_outer_diameter,tube_height/2+10]) - rotate([90,0,0]) - cylinder(h = main_tube_outer_diameter*2, d = M3_screw_diameter, $fn = 50); - translate([0, 0,tube_height/2+10]) - rotate([90,0,0]) - translate([0, 0, main_tube_outer_diameter*0.8 - M3_nut_height]) - cylinder(h = main_tube_outer_diameter*2, d = M3_nut_diameter, $fn = 6); - translate([0, 0,tube_height/2+10]) - rotate([-90,0,0]) - translate([0, 0, main_tube_outer_diameter*0.8 - M3_nut_height]) - cylinder(h = main_tube_outer_diameter*2, d = M3_nut_diameter, $fn = 6); - } - - translate([-main_tube_outer_diameter/2.2, 0,10]) - rotate([0,-angle,0]) - difference(){ - translate([0, 0, -20]) - cylinder(h = tube_height + 20, r1 = main_tube_outer_diameter*0.8, r2 = main_tube_outer_diameter*0.8, $fn = 50); - translate([0,0,-global_clearance/2+14]) - cylinder(h = tube_height + global_clearance, d = main_tube_outer_diameter, $fn = 50); - translate([0, main_tube_outer_diameter,tube_height/2+10]) - rotate([90,0,0]) - cylinder(h = main_tube_outer_diameter*2, d = M3_screw_diameter, $fn = 50); - - translate([0, 0,tube_height/2+10]) - rotate([90,0,0]) - translate([0, 0, main_tube_outer_diameter*0.8 - M3_nut_height]) - cylinder(h = main_tube_outer_diameter*2, d = M3_nut_diameter, $fn = 6); - translate([0, 0,tube_height/2+10]) - rotate([-90,0,0]) - translate([0, 0, main_tube_outer_diameter*0.8 - M3_nut_height]) - cylinder(h = main_tube_outer_diameter*2, d = M3_nut_diameter, $fn = 6); - } - } - translate([-width/2, -depth/2, -40]) - cube([width, depth, 40]); - } - } - - -} - -module 888_3012_B(){ - -width = 90; -depth = 45; -height = 10; -kloub_height = height*2.5; -tube_height = 50; -slit_width = 10; - - - color([0,0.5,0]) - difference(){ - union(){ - hull(){ - translate([-width/2, -depth/2, 0]) - cube([width, depth, height]); - translate([-width/4, -depth/4, 0]) - cube([width/2, depth/2, height*1.5]); - } - hull(){ - translate([-width/4, -depth/4, height*1.5]) - cube([width/2, depth/2, 0.1]); - translate([-width/8, 0, kloub_height]) - rotate([0, 90, 0]) - cylinder(h = width/4, d = depth/4); - } - } - - translate([-slit_width/2, -depth/4 , height*1.9]) - cube([slit_width, depth/2, 100]); - - translate([-slit_width/2, 0, kloub_height]){ - rotate([0, 90, 0]){ - translate([0, 0, -50]) - cylinder(d=M3_screw_diameter, h = 100, $fn=20); - } - rotate([0, 90, 0]){ - translate([0, 0, slit_width*1.5]) - cylinder(d=M3_nut_diameter, h = 100, $fn=6); - } - rotate([0, -90, 0]){ - translate([0, 0, slit_width*0.5]) - cylinder(d=M3_nut_diameter, h = 100, $fn=6); - } - - } - - translate([-width/2 + 5,0 ,-global_clearance/2]){ - cylinder (h = height + global_clearance, r = M3_screw_diameter/2, $fn = 20); - translate([0,0,height - M3_nut_height]) - rotate([0, 0, 30]) - cylinder (h = M3_nut_height + global_clearance + 10, r = M3_nut_diameter/2, $fn = 6); - } - - translate([width/2 - 5,0 ,-global_clearance/2]){ - cylinder (h = height + global_clearance, r = M3_screw_diameter/2, $fn = 20); - translate([0,0,height - M3_nut_height]) - rotate([0, 0, 30]) - cylinder (h = M3_nut_height + global_clearance + 10, r = M3_nut_diameter/2, $fn = 6); - } - } -} - -rotate([0, 180, 0]) - 888_3012_A(); -888_3015_A(); - -include <../parameters.scad> -use <888_3015.scad> diff --git a/src/888_3013.scad b/src/888_3013.scad deleted file mode 100644 index 5ec82570..00000000 --- a/src/888_3013.scad +++ /dev/null @@ -1,128 +0,0 @@ -module 888_3013_A (draft = true){ - -width = 90; -depth = 45; -height = 10; -tube_lenght = 70; - -// TODO: Slaoučit do jednoho dílu který se pak bude dělit na díl A a díl B až z celkového modelu. Důvodem je lepší udržitelnost kódu. - -slit_width = 10-0.2; - - difference(){ - union(){ - // zakladni trubka - rotate([0, 90, 0]) - translate([0, 0, -tube_lenght/2]) - cylinder(d = main_tube_outer_diameter * 1.5, h = tube_lenght, $fn=200); - - // sloupky pro srouby - translate([tube_lenght/4, main_tube_outer_diameter/2 +3, 0]) - cylinder(d=9, h = main_tube_outer_diameter/3, $fn=50); - translate([-tube_lenght/4, main_tube_outer_diameter/2 +3, 0]) - cylinder(d=9, h = main_tube_outer_diameter/3, $fn=50); - translate([tube_lenght/4, -main_tube_outer_diameter/2 -3, 0]) - cylinder(d=9, h = main_tube_outer_diameter/3, $fn=50); - translate([-tube_lenght/4, -main_tube_outer_diameter/2 -3, 0]) - cylinder(d=9, h = main_tube_outer_diameter/3, $fn=50); - - hull(){ - translate([-main_tube_outer_diameter, -slit_width/2, 0]) - cube([main_tube_outer_diameter*2, slit_width, 1]); - translate([0, slit_width/2, main_tube_outer_diameter]) - rotate([90, 0, 0]) - cylinder(d = 10, h=slit_width); - } - } - rotate([0, 90, 0]) - translate([0, 0, -tube_lenght/2]) - cylinder(d = main_tube_outer_diameter + global_clearance, h = tube_lenght, $fn=200); - - // diry pro srouby - translate([tube_lenght/4, main_tube_outer_diameter/2 +3, 0]) - cylinder(d=M3_screw_diameter, h = main_tube_outer_diameter/3, $fn=50); - translate([-tube_lenght/4, main_tube_outer_diameter/2 +3, 0]) - cylinder(d=M3_screw_diameter, h = main_tube_outer_diameter/3, $fn=50); - translate([tube_lenght/4, -main_tube_outer_diameter/2 -3, 0]) - cylinder(d=M3_screw_diameter, h = main_tube_outer_diameter/3, $fn=50); - translate([-tube_lenght/4, -main_tube_outer_diameter/2 -3, 0]) - cylinder(d=M3_screw_diameter, h = main_tube_outer_diameter/3, $fn=50); - - translate([tube_lenght/4, main_tube_outer_diameter/2 +3, main_tube_outer_diameter/3 - M3_nut_height]) - cylinder(d=M3_nut_diameter, h = main_tube_outer_diameter/3, $fn=6); - translate([-tube_lenght/4, main_tube_outer_diameter/2 +3, main_tube_outer_diameter/3 - M3_nut_height]) - cylinder(d=M3_nut_diameter, h = main_tube_outer_diameter/3, $fn=6); - translate([tube_lenght/4, -main_tube_outer_diameter/2 -3, main_tube_outer_diameter/3 - M3_nut_height]) - cylinder(d=M3_nut_diameter, h = main_tube_outer_diameter/3, $fn=6); - translate([-tube_lenght/4, -main_tube_outer_diameter/2 -3, main_tube_outer_diameter/3 - M3_nut_height]) - cylinder(d=M3_nut_diameter, h = main_tube_outer_diameter/3, $fn=6); - - // sroub skrz kloub - translate([0, 50, main_tube_outer_diameter]) - rotate([90, 0, 0]) - cylinder(d = M3_screw_diameter, h=100, $fn=20); - - translate([-100, -100, -30]) - cube([200, 200, 30]); - } -} - -module 888_3013_B(){ - - width = 90; - depth = 45; - height = 10; - tube_lenght = 70; - - - difference(){ - union(){ - // zakladni trubka - rotate([0, 90, 0]) - translate([0, 0, -tube_lenght/2]) - cylinder(d = main_tube_outer_diameter * 1.5, h = tube_lenght, $fn=200); - - // sloupky pro srouby - translate([tube_lenght/4, main_tube_outer_diameter/2 +3, 0]) - cylinder(d=9, h = main_tube_outer_diameter/3, $fn=50); - translate([-tube_lenght/4, main_tube_outer_diameter/2 +3, 0]) - cylinder(d=9, h = main_tube_outer_diameter/3, $fn=50); - translate([tube_lenght/4, -main_tube_outer_diameter/2 -3, 0]) - cylinder(d=9, h = main_tube_outer_diameter/3, $fn=50); - translate([-tube_lenght/4, -main_tube_outer_diameter/2 -3, 0]) - cylinder(d=9, h = main_tube_outer_diameter/3, $fn=50); - - } - rotate([0, 90, 0]) - translate([0, 0, -tube_lenght/2]) - cylinder(d = main_tube_outer_diameter + global_clearance, h = tube_lenght, $fn=200); - - // diry pro srouby - translate([tube_lenght/4, main_tube_outer_diameter/2 +3, 0]) - cylinder(d=M3_screw_diameter, h = main_tube_outer_diameter/3, $fn=20); - translate([-tube_lenght/4, main_tube_outer_diameter/2 +3, 0]) - cylinder(d=M3_screw_diameter, h = main_tube_outer_diameter/3, $fn=20); - translate([tube_lenght/4, -main_tube_outer_diameter/2 -3, 0]) - cylinder(d=M3_screw_diameter, h = main_tube_outer_diameter/3, $fn=20); - translate([-tube_lenght/4, -main_tube_outer_diameter/2 -3, 0]) - cylinder(d=M3_screw_diameter, h = main_tube_outer_diameter/3, $fn=20); - - translate([tube_lenght/4, main_tube_outer_diameter/2 +3, main_tube_outer_diameter/3 - M3_nut_height]) - cylinder(d=M3_nut_diameter, h = main_tube_outer_diameter/3, $fn=6); - translate([-tube_lenght/4, main_tube_outer_diameter/2 +3, main_tube_outer_diameter/3 - M3_nut_height]) - cylinder(d=M3_nut_diameter, h = main_tube_outer_diameter/3, $fn=6); - translate([tube_lenght/4, -main_tube_outer_diameter/2 -3, main_tube_outer_diameter/3 - M3_nut_height]) - cylinder(d=M3_nut_diameter, h = main_tube_outer_diameter/3, $fn=6); - translate([-tube_lenght/4, -main_tube_outer_diameter/2 -3, main_tube_outer_diameter/3 - M3_nut_height]) - cylinder(d=M3_nut_diameter, h = main_tube_outer_diameter/3, $fn=6); - - translate([-100, -100, -30]) - cube([200, 200, 30]); - } -} - -rotate([0, 180, 0]) - 888_3013_A(); -888_3013_B(); - -include <../parameters.scad> diff --git a/src/888_3014.scad b/src/888_3014.scad deleted file mode 100644 index 0690b109..00000000 --- a/src/888_3014.scad +++ /dev/null @@ -1,103 +0,0 @@ -draft = true; - -module 888_3014(draft){ - -zmenseni = 0.2; //zmenšení šířky víčka - difference(){ - - union(){ - //tvar víčka - translate([-143 - 6,-19.8,-30]) //hrubé srovnání k počátku - intersection(){ - translate ([140,75,-0.1]) // elementar Z shift to improve adhesion on the printig surface - rotate([90,-87,0]) - hollow_airfoil(naca = 0009, L = 150, N = draft ? 50 : 100, h = 150, open = false); //dutý profil - - translate([143,19.8,30]) - rotate([0,3,0]) - union(){ - translate([-6, -(22.8 - 19.3) - 1.25 + zmenseni/2, -4.95 - 1 - 0.25 + zmenseni/2]) - cube([13.5,22.8 + 4.5 - zmenseni, 32.5 + 2 + 0.5 - zmenseni]); - } - } - //sloupek - difference(){ - translate([-5, 2 + 2 + 1.8/2 + Servo_screw/2 + 0.2,-2 - 1]) - rotate([0,90,0]) - cylinder(h = 3.55, r = Servo_screw, $fn = draft ? 50 : 100); - - translate([-5 - global_clearance/2, 2 + 2 + 1.8/2 + Servo_screw/2 + 0.2,-2 - 1]) - rotate([0,90,0]) - cylinder(h = 15 + global_clearance, r = Servo_screw/2, $fn = draft ? 50 : 100); - } - //sloupek - difference(){ - translate([0,0,28.5]) - translate([-5, 2 + 2 + 1.8/2 + Servo_screw/2 + 0.2,-2 - 1]) - rotate([0,90,0]) - cylinder(h = 5.4, r = Servo_screw, $fn = draft ? 50 : 100); - - translate([0,0,28.5]) - translate([-5 - global_clearance/2, 2 + 2 + 1.8/2 + Servo_screw/2 + 0.2,-2 - 1]) - rotate([0,90,0]) - cylinder(h = 15 + global_clearance, r = Servo_screw/2, $fn = draft ? 50 : 100); - } - //podpora - translate([-6,-4.65, - 6.35]) - color([0,0.9,0]) - cube ([12,0.9,37.8]); - - translate([-5,-4.65,-3.4]) - color([0,0.9,0]) - cube ([3.55,9.1,0.8]); - - translate([-5,-4.65,-4.5]) - color([0,0.9,0]) - cube ([3.55,10.4,0.8]); - - translate([-5,-4.65,-2.3]) - color([0,0.9,0]) - cube ([3.55,10.4,0.8]); - - translate([-5,-4.65,-3.4 + 28.5]) - color([0,0.9,0]) - cube ([5.4,9.1,0.8]); - - translate([-5,-4.65,-4.5 + 28.5]) - color([0,0.9,0]) - cube ([5.4,10.4,0.8]); - - translate([-5,-4.65,-2.3 + 28.5]) - color([0,0.9,0]) - cube ([5.4,10.4,0.8]); - - } - //otvor pro šroub a matku ve víčku - translate([-5 - global_clearance/2, 2 + 2 + 1.8/2 + Servo_screw/2 + 0.2,-2 - 1]) - rotate([0,90,0]) - cylinder(h = 15 + global_clearance, r = Servo_screw/2, $fn = draft ? 50 : 100); - translate([-5 - global_clearance/2 + 3.55, 2 + 2 + 1.8/2 + Servo_screw/2 + 0.2,-2 - 1]) - rotate([0,90,0]) - cylinder(h = Servo_nut_height, r = Servo_nut_diameter/2, $fn = 6); - - translate([0,0,28.5]) - translate([-5 - global_clearance/2, 2 + 2 + 1.8/2 + Servo_screw/2 + 0.2,-2 - 1]) - rotate([0,90,0]) - cylinder(h = 15 + global_clearance, r = Servo_screw/2, $fn = draft ? 50 : 100); - translate([0,0,28.5]) - translate([-5 - global_clearance/2 + 5.4, 2 + 2 + 1.8/2 + Servo_screw/2 + 0.2,-2 - 1]) - rotate([0,90,0]) - cylinder(h = Servo_nut_height, r = Servo_nut_diameter/2, $fn = 6); - } -} - -rotate([-90,0,0]) -888_3014(); - - - - -use <888_1012.scad> - -use <./lib/naca4.scad> -include <../parameters.scad>