Collection
This commit is contained in:
parent
71d5da4117
commit
0cf4eecbe0
83 changed files with 79594 additions and 0 deletions
42
3D Printing/Pot_Knobs/knob_docs.scad
Executable file
42
3D Printing/Pot_Knobs/knob_docs.scad
Executable file
|
|
@ -0,0 +1,42 @@
|
|||
/* [Basic] */
|
||||
//Diametre du bouton
|
||||
Knob_Diameter=13; //[10:30]
|
||||
//Hauteur du bouton
|
||||
Knob_Height=15;//[10:20]
|
||||
//Longueur de l'axe
|
||||
Axis_Lenght=10;//[5:15]
|
||||
//Arrondis
|
||||
Rounded=2;//[1:3]
|
||||
//Ajustement
|
||||
Ajustment=0.2;//[0,0.1,0.2,0.3]
|
||||
/* [Hidden] */
|
||||
$fn=50;
|
||||
|
||||
difference() {
|
||||
union() {
|
||||
// body
|
||||
cylinder(r=Knob_Diameter/2,h=Knob_Height-Rounded);
|
||||
// cap inner bit
|
||||
translate([0,0,Knob_Height-Rounded]) cylinder(r=Knob_Diameter/2-Rounded,h=Rounded);
|
||||
// cap rounded (donut)
|
||||
translate([0,0,Knob_Height-Rounded]) rotate_extrude(convexity = 10) translate([Knob_Diameter/2-Rounded,0,0]) circle(r=Rounded);
|
||||
}
|
||||
// indicator
|
||||
translate([0,0,Knob_Height]) rotate([-90,0,0]) cylinder(r=0.5,h=Knob_Diameter/2);
|
||||
translate([0,0,Knob_Height]) sphere(r=0.5);
|
||||
|
||||
// knurl grooves
|
||||
for (i=[22.5:45:360]) translate([(Knob_Diameter+0.6)*sin(i)/2,(Knob_Diameter+0.6)*cos(i)/2,3]) cylinder(r=0.7,h=Knob_Height);
|
||||
|
||||
difference() {
|
||||
// hole
|
||||
translate([0,0,2]) cylinder(r=3.1+Ajustment,h=Axis_Lenght-2);
|
||||
// key insert
|
||||
translate([-5,-6.6-Ajustment,2]) cube([10,5,Axis_Lenght-2]);
|
||||
}
|
||||
|
||||
difference() {
|
||||
translate([0,0,-1]) cylinder(r=3+Ajustment,h=3);
|
||||
translate([-5,-6.5-Ajustment,0]) cube([10,5,Axis_Lenght-2]);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue