Skip to content

Commit

Permalink
Add new mount parts for tail
Browse files Browse the repository at this point in the history
  • Loading branch information
slimonslimon committed Apr 24, 2024
1 parent 211c837 commit bc249df
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CAD/bolt_parameters.scad
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
57 changes: 57 additions & 0 deletions CAD/src/888_3007.scad
Original file line number Diff line number Diff line change
@@ -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();
76 changes: 76 additions & 0 deletions CAD/src/888_3008.scad
Original file line number Diff line number Diff line change
@@ -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();
7 changes: 7 additions & 0 deletions CAD/src/printplate/printplate_888_3007.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//@set_slicing_config(../../slicing/default.ini)

include <../../parameters.scad>
use <../888_3007.scad>

888_3007();

8 changes: 8 additions & 0 deletions CAD/src/printplate/printplate_888_3008.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//@set_slicing_config(../../slicing/default.ini)

include <../../parameters.scad>
use <../888_3008.scad>

rotate([0,-90,0])
888_3008();

0 comments on commit bc249df

Please sign in to comment.