Serre-tringle + Blocker: Simpler design + separate files

This commit is contained in:
Fabrice Mouhartem 2024-07-13 18:29:54 +02:00
parent c04231d437
commit a9b21681f8
4 changed files with 43 additions and 0 deletions

18
blocker.scad Normal file
View File

@ -0,0 +1,18 @@
// rendering precision
$fn = $preview ? 32 : 64;
$slack = 0.2;
$mini_slack = 0.001;
// Parameters
$diameter_blocker = 10;
$diameter_shaft = 2.5;
$diameter_hole =3.2;
$diameter_z = 6;
$length_hat= 3;
$height = 2.6;
difference() {
cylinder($height, $diameter_blocker/2, $diameter_blocker/2);
translate([0,0,-$mini_slack])
cylinder(3.5, $diameter_z/2 + $slack, $diameter_z/2 + $slack);
}

BIN
blocker.stl Normal file

Binary file not shown.

25
serre-tringle-v2.scad Normal file
View File

@ -0,0 +1,25 @@
// rendering precision
$fn = $preview ? 32 : 64;
$slack = 0.2;
$mini_slack = 0.001;
// parameters
$diameter_blocker = 10;
$diameter_shaft = 2.5;
$diameter_hole =3.2;
$diameter_z = 6;
$length_hat= 3;
//base-block
cylinder($length_hat, $diameter_blocker/2, $diameter_blocker/2);
translate([0,0,$length_hat - $mini_slack])
cylinder(3, $diameter_z/2, $diameter_z/2);
translate([0,0,3+$length_hat-$mini_slack])
difference() {
cylinder(6, $diameter_z/2, $diameter_z/2);
rotate([0,90,0])
translate([- $diameter_hole/2- 0.6 , 0,0])
cylinder(7, $diameter_hole/2, $diameter_hole/2, center=true);
}

BIN
serre-tringle-v2.stl Normal file

Binary file not shown.