3
1
Back

Is your original work. `` ## Marked Copyright (c) 2016 Caleb Spare MIT License Copyright (c) 2019 Lunny Xiao Permission is hereby granted, free of charge, to any person obtaining a copy The MIT License (MIT) Copyright (c) 2017 Benjamin Scher Purcell Permission to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the shaft on the dial. Set to zero if you don't want markings. (RingWidth must be non-zero. NotchedShaft = 0; // [0:No, 1:Yes] ////////////////////////// ////////////////////////// RingThickness = 5*1; TimerKnobConst = 1.8*1; PI=3.14159265*1; KnobMajorRadius = KnobDiameter/2; KnobMinorRadius = KnobDiameter/2 * (1 - TaperPercentage/100); KnobRadius = KnobMinorRadius + (KnobMajorRadius-KnobMinorRadius)/2; KnobCircumference = PI*KnobDiameter; Knurls = round(KnobCircumference/DistanceBetweenKnurls); Divot=CapType; TaperAngle=asin(KnobHeight / (sqrt(pow(KnobHeight, 2) pow(KnobMajorRadius-KnobMinorRadius,2)))) - 90; if (NotchedShaft==1) { cube([HoleDiameter/2, ShaftDiameter*2, ShaftLength], center=true); } 3D Printing/Pot_Knobs/10mm_potentiometer_tool.stl Executable file View.

New Pull Request