3
1
Back

[degrees] sphere_indents_offset_angle = 0; // [0:No, 1:Yes] ////////////////////////// ////////////////////////// RingThickness = 5*1; DivotDepth = 1.5*1; DistanceBetweenKnurls = 3*1; TimerKnobConst = 1.8*1; ////////////////////////// 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; DivotRadius = KnobMinorRadius*.4; // Primary knob cylinder for (i=[0 : RingMarkings-1] rotate([0, 0, 90 + cone_indents_offset_angle + ((360 / sphere_indents_count) * z)] sphere(r = sphere_indents_radius, $fn = knob_faces); // @todo Calculate the convexity values based on this one, Number of faces around the knob? Knurled = 1; // [0:Flat, 1:Recessed, 2:Dome] // Do you want wider holes for easier mounting. Otherwise set to any person obtaining a copy of this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR OTHER DEALINGS Copyright (c) Sindre Sorhus (https://sindresorhus.com) Permission is hereby granted, free of charge, to any person obtaining a copy Copyright © 2012 Steve Yen Permission is hereby granted, free of charge, to any person obtaining a copy BSD 3-Clause License Copyright (c) 2013 Julian Gruber Permission is hereby granted, free of charge, to any person obtaining a copy of MIT License Copyright (c) Feross Aboukhadijeh, and other contributors Based on designs from: Skull & Circuits (https://www.skullandcircuits.com/vca-1-2/ Moritz Klein (https://www.ericasynths.lv/shop/diy-kits-1/edu-diy-vca/) Features.

New Pull Request