Skip to content

Instantly share code, notes, and snippets.

@DILL44
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DILL44/14666267f70b48164f21 to your computer and use it in GitHub Desktop.
Save DILL44/14666267f70b48164f21 to your computer and use it in GitHub Desktop.
longueur=5;
largeur=13;
hauteur=13;
diametre_tringle=4;
rayon_ecrou=4.5;
hauteur_ecrou=3.5;
rotate(a=[0,-90,0]) {
difference(){
difference() {
cube([longueur,largeur,hauteur],true);
translate([longueur/2,0,0.1]){
cylinder(h=hauteur+0.3,r=diametre_tringle/2,center = true,$fs=0.1 );
}
}
translate([longueur/2,0,-hauteur_ecrou/2]){
linear_extrude(height = hauteur_ecrou) {
circle(rayon_ecrou, $fn=6, center=true);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment