diff --git a/CAD/bolt_parameters.scad b/CAD/bolt_parameters.scad index c57acfda..29b5e616 100644 --- a/CAD/bolt_parameters.scad +++ b/CAD/bolt_parameters.scad @@ -4,7 +4,7 @@ // screw length step - minimum difference in length between two types of screws basic_screw_length = 5; - +plastic_screw_head = 5.2; plastic_screw_diameter = 2.2; plastic_screw_trought_diameter = 2.5; // otvor, kterym sroub lze prostrcit diff --git a/CAD/src/888_3007.scad b/CAD/src/888_3007.scad new file mode 100644 index 00000000..83346ac0 --- /dev/null +++ b/CAD/src/888_3007.scad @@ -0,0 +1,57 @@ +// Jiny drzak ocasni tyce + +include<../parameters.scad> + +module 888_3007() +{ + w=base_width; + d=tail_pipe_d; + + screw_head=plastic_screw_head+0.2; + screw_hole=plastic_screw_diameter; + screw_outerhole=plastic_screw_trought_diameter+0.2; + screw_l=8; + + o=10; + l=screw_head+1; + + difference() + { + hull() + { + rotate([90,0,0]) + cylinder(d=l,h=w,center=true,$fn=60); + translate([o+d/2+l/2,0,0]) + rotate([90,0,0]) + cylinder(d=l,h=d+4,center=true,$fn=60); + } + + //trubka + translate([o,0,0]) + cylinder(d=d,h=l+2,center=true,$fn=60); + + //naříznutí + translate([o+d/2,0,0]) + cube([d,1,l+2],center=true); + + //šroubek + translate([o+d/2+l/2,0,0]) + rotate([90,0,0]) + { + cylinder(d=screw_hole,h=50,center=true,$fn=30); + cylinder(d=screw_outerhole,h=50,$fn=30); + translate([0,0,3]) + cylinder(d=screw_head,h=50,$fn=30); + } + + //šroubky do bočnic + rotate([90,0,0]) + for(i=[-1,1]) + translate([0,0,i*w/2]) + cylinder(d=screw_hole,h=20,center=true,$fn=30); + + } +} + + +888_3007(); \ No newline at end of file diff --git a/CAD/src/888_3008.scad b/CAD/src/888_3008.scad new file mode 100644 index 00000000..684e8301 --- /dev/null +++ b/CAD/src/888_3008.scad @@ -0,0 +1,76 @@ +include<../parameters.scad> + +module 888_3008() +{ + d1=tail_pipe_d; + d2=mount_tube_out_d; + + screw_head=plastic_screw_head+0.2; + screw_hole=plastic_screw_diameter; + screw_outerhole=plastic_screw_trought_diameter+0.2; + screw_l=8; + + difference() + { + //kvluli tisku kašlu na elenagci + /*hull() + { + cylinder(d=d1+2,h=d2+2,center=true,$fn=60); + translate([-d1/2-screw_hole,0,0]) + rotate([90,0,0]) + //cylinder(d=screw_head,h=screw_l+2,center=true,$fn=60); + cube([screw_head,screw_head,d1+2],center=true); + translate([d1/2+d2/2+1,0,0]) + rotate([90,0,0]) + { + cylinder(d=d2+2,h=d1+2,center=true,$fn=60); + translate([d2/2+screw_hole,0,0]) + rotate([90,0,0]) + cylinder(d=screw_head,h=screw_l+2,center=true,$fn=60); + } + }*/ + translate([(d1+d2+1+2*screw_head)/2-d1/2-screw_head,0,0]) + cube([d1+d2+1+2*screw_head+1,d1+2,d2+2],center=true); + + //trubka + cylinder(d=d1,h=20,center=true,$fn=60); + + //naříznutí + translate([-d1/2-1,0,0]) + cube([d1,1,d2+3],center=true); + + //šroubek + translate([-d1/2-screw_head/2,0,0]) + rotate([90,0,0]) + { + cylinder(d=screw_hole,h=50,center=true,$fn=30); + cylinder(d=screw_outerhole,h=50,$fn=30); + translate([0,0,3]) + cylinder(d=screw_head,h=50,$fn=30); + } + + //druhá trubka + translate([d1/2+d2/2+1,0,0]) + rotate([90,0,0]) + { + //trubka + cylinder(d=d2,h=20,center=true,$fn=60); + //nariznutí + translate([d2/2+1,0,0]) + cube([d2,1,d1+3],center=true); + //šroubek + translate([d2/2+screw_head/2,0,0]) + rotate([90,0,0]) + { + cylinder(d=screw_hole,h=50,center=true,$fn=30); + cylinder(d=screw_outerhole,h=50,$fn=30); + translate([0,0,(screw_l-(d2+2)/2)]) + cylinder(d=screw_head,h=50,$fn=30); + + } + } + + } +} + +888_3008(); \ No newline at end of file diff --git a/CAD/src/printplate/printplate_888_3007.scad b/CAD/src/printplate/printplate_888_3007.scad new file mode 100644 index 00000000..5eb0c6d5 --- /dev/null +++ b/CAD/src/printplate/printplate_888_3007.scad @@ -0,0 +1,7 @@ +//@set_slicing_config(../../slicing/default.ini) + +include <../../parameters.scad> +use <../888_3007.scad> + +888_3007(); + diff --git a/CAD/src/printplate/printplate_888_3008.scad b/CAD/src/printplate/printplate_888_3008.scad new file mode 100644 index 00000000..46be14c3 --- /dev/null +++ b/CAD/src/printplate/printplate_888_3008.scad @@ -0,0 +1,8 @@ +//@set_slicing_config(../../slicing/default.ini) + +include <../../parameters.scad> +use <../888_3008.scad> + +rotate([0,-90,0]) +888_3008(); +