Customizable General Purpose Knob
by marcsulf, published
A knob that can be used to replace any broken knob around the house.
I originally designed this knob to replace a broken knob in our Chevy Venture minivan. However, since I made it parametric, it can really be used for just about any general purpose knob that you might need.
Here are the user defined parameters:
//Radius of the rounded fillet at the base of the knob.
fillet_r = 5.588; // [1:10]
//Narrow (bottom) radius of the knob.
min_r = 11.862; // [5:20]
//Wide (top) radius of the knob.
max_r = 13.335; // [5:20]
//Total height of the knob base.
base_h = 20.188; // [5:50]
//Calculated height of the non-fillet portion of the base.
cyl_h = base_h - fillet_r;
//Number of facets for base circle.
base_res = 17; // [10,11,12,13,14,15,16,17,18,19,20]
//Outer shaft radius.
shaft_r = 5.607; // [1:10]
// Shaft height.
shaft_h = 18.1; // [5:50]
//Inner shaft radius.
shaft_in_r = 2.9335; // [0.5:8]
//Width from shaft flat to edge of shaft inner radius.
shaft_in_min_wid = 4.6355; // [0.5:16]
//Number of facets for shaft circle.
shaft_res = 30; // [20,22,24,26,28,30,32,34,36,38,40]
//Thickness of shaft key.
key_th = 1.625; // [0.25:4]
//Width of shaft key from shaft outer radius to end of key.
key_wid = 3.183; // [1:20]
//Number that is large compared to dimensions of the knob.
BIG = 40; // [30,40,50,60,70,80,90,100]
//Fudge factor to ensure overlaps.
dt = 0.01; // [0.001,0.01,0.1]