Skip to content

Instantly share code, notes, and snippets.

@DILL44 DILL44/bitonio_lampe_velo_
Last active Aug 29, 2015

Embed
What would you like to do?
hautrec=84;
largrec=50;
longrec=35;
epeseur=12;
rayon=35;
trou=7;
hautren=37;
largren=26;
difference() {
difference() {
cube([largrec,longrec,hautrec]);
translate([epeseur,epeseur,-1]) {
cube([largrec-epeseur*2,longrec-epeseur*2,hautrec+2]);
}
}
translate([largrec/2-largren/2,-1,hautrec-hautren+1]) {
cube([largren+1,epeseur+2,hautren]);
}
}
translate([largrec/2,longrec/2,0]){
difference() {
cylinder(h=epeseur, r=rayon);
translate([0,0,-1]) {
cylinder(h=epeseur+2, r=trou);
}
}
}
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.