Skip to content

Instantly share code, notes, and snippets.

@DILL44 DILL44/guide_mecareprap
Last active Aug 29, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.