Korg SP-280 volume knob
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
@@ -0,0 +1,44 @@
|
|||||||
|
/* https://github.com/BelfrySCAD/BOSL2 */
|
||||||
|
include <BOSL2/std.scad>
|
||||||
|
|
||||||
|
knob_h = 15;
|
||||||
|
knob_d = 15;
|
||||||
|
knob_chamfer = 1;
|
||||||
|
|
||||||
|
bottom_d = 20;
|
||||||
|
|
||||||
|
tolerance = 0.05;
|
||||||
|
|
||||||
|
cutout_h = 10;
|
||||||
|
cutout_d = 6+tolerance;
|
||||||
|
cutout_flat_d = 4.5+tolerance;
|
||||||
|
|
||||||
|
$fn = 150;
|
||||||
|
|
||||||
|
difference() {
|
||||||
|
/* Knob */
|
||||||
|
group() {
|
||||||
|
tex = texture("diamonds");
|
||||||
|
linear_sweep(
|
||||||
|
circle(d=knob_d), texture=tex, h=knob_h, tex_depth=0.5, tex_size=[2,2], style="concave"
|
||||||
|
);
|
||||||
|
cyl(h=2*knob_chamfer, d=bottom_d, chamfer2=knob_chamfer, anchor=[0,0,-1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
group() {
|
||||||
|
/* Cutout */
|
||||||
|
difference() {
|
||||||
|
cyl(h=cutout_h, d=cutout_d, anchor=[0,0,-1]);
|
||||||
|
translate([cutout_flat_d,0,0])
|
||||||
|
cube([cutout_d,cutout_d,cutout_h], anchor=[0,0,-1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Top chamfer */
|
||||||
|
translate([0,0,knob_h])
|
||||||
|
chamfer_cylinder_mask(d=knob_d+1, chamfer=knob_chamfer);
|
||||||
|
|
||||||
|
/* Indicator */
|
||||||
|
translate([-knob_d/2-0.5,0,knob_h])
|
||||||
|
cube([knob_d/2,2,0.5], anchor=[-1,0,1]);
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user